/* Google Fonts loaded via HTML <link> tag for better performance */

:root {
    /* Professional Color System */
    --primary-color: #2c5aa0;
    --primary-light: #4472c4;
    --primary-dark: #1e3f73;
    --primary-hover: #366bb3;
    
    /* Secondary Color System */
    --secondary-color: #e74c3c;
    --secondary-light: #ff6b6b;
    --secondary-dark: #c0392b;
    --accent-orange: #f39c12;
    
    /* Professional Neutral Colors */
    --gray-50: #ffffff;          /* Pure white */
    --gray-100: #f8f9fa;         /* Light gray backgrounds */
    --gray-200: #e9ecef;         /* Border colors */
    --gray-300: #dee2e6;         /* Subtle borders */
    --gray-400: #ced4da;         /* Medium borders */
    --gray-500: #6c757d;         /* Secondary text */
    --gray-600: #495057;         /* Primary text */
    --gray-700: #343a40;         /* Dark text */
    --gray-800: #212529;         /* Headers */
    --gray-900: #000000;         /* Pure black */
    
    /* Semantic Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: var(--primary-light);
    
    /* Professional Text Colors */
    --text-primary: #2c3e50;         /* primary text */
    --text-secondary: #34495e;       /* secondary text */
    --text-muted: #7f8c8d;           /* muted text */
    --text-white: #ffffff;
    --text-inverse: var(--text-white);
    --text-link: var(--primary-color);
    --text-link-hover: var(--primary-hover);
    
    /* Background Colors */
    --bg-primary: #ffffff;            /* Pure white */
    --bg-secondary: #f8f9fa;          /* Light section backgrounds */
    --bg-tertiary: #f1f3f4;           /* Subtle section alternation */
    --bg-dark: #34495e;               /* Footer background */
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --bg-section: #ffffff;            /* Section backgrounds */
    
    /* Surface Colors */
    --surface-elevated: #ffffff;
    --surface-card: #ffffff;
    --surface-hover: #f8f9fa;
    --surface-pressed: #e9ecef;
    
    /* Border Colors */
    --border-light: #e5e5e5;          /* light border */
    --border-medium: #ddd;            /* medium border */
    --border-dark: #ccc;              /* dark border */
    --border-focus: var(--primary-light);
    
    /* Typography System - Inter Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes - Optimized for UX/UI Best Practices */
    --font-size-xs: 0.75rem;    /* 12px - Small labels, captions */
    --font-size-sm: 0.875rem;   /* 14px - Navigation, buttons, secondary text */
    --font-size-base: 1rem;     /* 16px - Body text, main content (UX standard) */
    --font-size-lg: 1.125rem;   /* 18px - Larger body text, important content */
    --font-size-xl: 1.25rem;    /* 20px - Small headings, project titles */
    --font-size-2xl: 1.375rem;  /* 22px - Medium headings, subsections */
    --font-size-3xl: 1.5rem;    /* 24px - Large headings, section titles */
    --font-size-4xl: 1.75rem;   /* 28px - Hero text, main headings */
    --font-size-5xl: 2rem;      /* 32px - Main hero, primary display */
    --font-size-6xl: 2.25rem;   /* 36px - Maximum size, special occasions */
    
    /* Font Weights - Uses Limited Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Heights - Optimized for UX/Readability */
    --line-height-tight: 1.3;     /* Improved from 1.2 for better readability */
    --line-height-normal: 1.5;    /* Industry standard from 1.4 */
    --line-height-relaxed: 1.7;   /* Better for long text from 1.6 */
    
    /* Spacing System - Compact Style */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 0.75rem;   /* 12px */
    --spacing-lg: 1rem;      /* 16px */
    --spacing-xl: 1.5rem;    /* 24px */
    --spacing-2xl: 2rem;     /* 32px */
    --spacing-3xl: 2.5rem;   /* 40px */
    --spacing-4xl: 3rem;     /* 48px */
    --spacing-5xl: 4rem;     /* 64px */
    
    /* Layout Spacing - Minimal */
    --section-padding: var(--spacing-3xl);
    --section-padding-sm: var(--spacing-2xl);
    --container-padding: var(--spacing-lg);
    --container-max-width: 1200px;
    --content-max-width: 700px;
    
    /* Border Radius - Clean & Modern */
    --radius-none: 0;
    --radius-sm: 0.125rem;   /* 2px */
    --radius-md: 0.25rem;    /* 4px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-3xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Shadows - Subtle & Professional */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions - Smooth & Professional */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    
    /* Transitions - Standardized */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    --header-height: 70px;
    --section-padding: 4rem;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Global Polish Enhancements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Smooth scrollbar with custom styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

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

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-size: var(--font-size-sm);
    font-weight: var(--font-semibold);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Remove focus outline globally */
*:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Removed text-size-adjust for better cross-browser compatibility */
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 70px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Page Load Animations - Ronesans Style */
.page-transition {
    transition: opacity 0.3s ease-in-out;
}

/* Fade in animations for sections */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Consistency - Small Sizes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-md);
}

/* Section Styling */
section {
    position: relative;
    scroll-margin-top: var(--header-height);
}

h1 {
    font-size: var(--font-size-4xl);   /* 28px - More proportional */
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-3xl);   /* 24px - section headings */
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-2xl);   /* 22px - Subsection headings */
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-md);
}

/* Link Consistency */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-hover);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Image Consistency */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container System */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Utilities */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    display: none !important;  /* Additional hide method */
}

.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.w-full { width: 100%; }
.relative { position: relative; }

/* Animation Classes - Disabled */
.fade-in {
    opacity: 1;
}

.fade-in.animate {
    opacity: 1;
}

.slide-in-left {
    opacity: 1;
}

.slide-in-left.animate {
    opacity: 1;
}

.slide-in-right {
    opacity: 1;
}

.slide-in-right.animate {
    opacity: 1;
}

/* Enhanced animations and micro-interactions - Disabled */
.fade-in-up {
    opacity: 1;
}

/* Keyframes - Disabled */

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header - Ronesans Style Fixed Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* Progress Container */
.progress-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 999;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        var(--primary-color) 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

/* Brand Section */
.brand-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
    position: absolute;
    left: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: var(--spacing-sm);
    transition: opacity 0.3s ease;
}

.brand-link:hover {
    opacity: 0.8;
}

.logo {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.company-name {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: var(--font-size-xl);
    font-weight: var(--font-bold);
    white-space: nowrap;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Navigation link hover animations */
.nav-link {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-family);
    font-size: var(--font-size-base);    /* Improved accessibility - 16px */
    font-weight: var(--font-semibold);
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
}

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

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

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background: rgba(44, 90, 160, 0.06);
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    position: absolute;
    right: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-semibold);
    font-family: var(--font-family);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn:hover {
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(44, 90, 160, 0.3);
}

/* Mobile Menu Toggle Enhanced */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-xl);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-logo {
    height: 32px;
    width: auto;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: var(--font-semibold);
    font-family: var(--font-family);
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    /* transition: left 0.5s ease; - REMOVED */
}

/* .mobile-nav-link:hover::before {
    left: 100%;
} - REMOVED */

.mobile-nav-link:hover {
    background: rgba(44, 90, 160, 0.08);
    color: var(--primary-color);
    transform: translateX(4px);
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    background: rgba(44, 90, 160, 0.06);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.mobile-lang-btn {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-semibold);
    font-family: var(--font-family);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-lang-btn:hover {
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
}

.mobile-lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 var(--spacing-lg);
    }
    
    .mobile-nav {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .company-name {
        font-size: var(--font-size-lg);
    }
    
    .logo {
        height: 32px;
    }
    
    .mobile-nav {
        width: 100%;
        right: -100%;
    }
    
    .mobile-nav.active {
        right: 0;
    }
}

/* Enhanced Button System with micro-interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 3px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);    /* Use 16px for better accessibility */
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.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-in-out; - REMOVED */
    z-index: -1;
}

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

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Note: Active states are handled below with !important to ensure consistency */

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* .btn:hover::before {
    transform: translateX(100%);
} - REMOVED */

.btn i {
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.1);
}

.btn span {
    position: relative;
    z-index: 2;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-secondary:active {
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
}

/* Light Button (for dark backgrounds) */
.btn-light {
    background: var(--text-white);
    color: var(--primary-color);
    border: 2px solid var(--text-white);
}

.btn-light:hover {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    min-height: 44px;    /* Improved from 36px to meet accessibility standards */
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-lg);
    min-height: 52px;
}

/* Button with Icons */
.btn i {
    margin-right: var(--spacing-sm);
    font-size: 1em;
}

.btn.icon-only {
    padding: var(--spacing-md);
    min-width: 44px;
    aspect-ratio: 1;
}

.btn.icon-only i {
    margin: 0;
}

/* Button States */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Ensure buttons maintain consistent size but allow subtle press effect */
.btn:focus {
    transform: none !important;
    font-size: inherit !important;
    padding: 12px 24px !important;
    width: auto !important;
    height: auto !important;
}

/* Allow subtle active press effect for better UX */
.btn:active {
    transform: translateY(1px) !important;
    transition: transform 0.1s ease !important;
    font-size: inherit !important;
    padding: 12px 24px !important;
    width: auto !important;
    height: auto !important;
}

/* Special Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border: none;
    box-shadow: var(--shadow-md);
    font-weight: var(--font-weight-semibold);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: var(--shadow-lg);
}

/* Card System - Professional with micro-interactions */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-smooth);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(44, 90, 160, 0.05);
}

.card:hover {
    box-shadow: 0 12px 40px rgba(44, 90, 160, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Card Header */
.card-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light); /* border */
    background: var(--bg-primary);
}

.card-title {
    font-family: var(--font-family);
    font-size: var(--font-size-base);    /* 14px - card title size */
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: var(--line-height-tight);
}

.card-subtitle {
    font-size: var(--font-size-xs);      /* 11px - card subtitle */
    color: var(--text-muted);
    margin: var(--spacing-xs) 0 0 0;
    font-weight: var(--font-normal);
}

/* Card Body */
.card-body {
    padding: var(--spacing-xl);
}

.card-text {
    color: var(--text-primary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.card-text:last-child {
    margin-bottom: 0;
}

/* Card Footer */
.card-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

/* Card with Image */
.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(37, 99, 235, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.card:hover .card-img-overlay {
    opacity: 1;
}

/* Card Variants */
.card-elevated {
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
}

.card-elevated:hover {
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
    border-color: var(--primary-color);
}

.card-compact .card-body {
    padding: var(--spacing-lg);
}

.card-interactive {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

/* Modern Card Styles */
.card-minimal {
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    transition: all var(--transition-smooth);
}

.card-minimal:hover {
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    border-color: var(--primary-color);
}

/* Contact Card - Enhanced */
.contact-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.06);
    cursor: pointer;
}

.contact-card:hover {
    box-shadow: 0 12px 40px rgba(44, 90, 160, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--text-white);
    font-size: var(--font-size-xl);
}

.contact-card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-card-text {
    color: var(--text-gray);
    line-height: var(--line-height-relaxed);
}

/* Form System */
.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-normal);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--border-color);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    background: var(--surface-white);
    transition: var(--transition-base);
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px; /* Touch-friendly */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(8, 66, 152, 0.12);
    background: var(--surface-white);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

/* Form Control States */
.form-control:invalid {
    border-color: var(--color-error);
}

.form-control:invalid:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.error {
    border-color: var(--color-error);
    background: rgba(220, 53, 69, 0.05);
}

.form-control.success {
    border-color: var(--color-success);
    background: rgba(40, 167, 69, 0.05);
}

/* Textarea Specific */
.form-control.textarea {
    resize: vertical;
    min-height: 120px;
    line-height: var(--line-height-relaxed);
}

/* Select Specific */
.form-control.select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    background-size: 16px 12px;
    padding-right: calc(var(--spacing-lg) + var(--spacing-xl));
}

/* Form Error Messages */
.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.form-error i {
    font-size: var(--font-size-xs);
}

/* Form Success Messages */
.form-success {
    color: var(--color-success);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Form Grid */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

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

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

/* Checkbox and Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    border: 2px solid var(--border-color);
    background: var(--surface-white);
    transition: var(--transition-base);
    cursor: pointer;
}

.form-check-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    cursor: pointer;
    line-height: var(--line-height-normal);
}

/* Utility Classes */
/* Spacing Utilities */
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mt-3xl { margin-top: var(--spacing-3xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }

.ml-xs { margin-left: var(--spacing-xs); }
.ml-sm { margin-left: var(--spacing-sm); }
.ml-md { margin-left: var(--spacing-md); }
.ml-lg { margin-left: var(--spacing-lg); }
.ml-xl { margin-left: var(--spacing-xl); }

.mr-xs { margin-right: var(--spacing-xs); }
.mr-sm { margin-right: var(--spacing-sm); }
.mr-md { margin-right: var(--spacing-md); }
.mr-lg { margin-right: var(--spacing-lg); }
.mr-xl { margin-right: var(--spacing-xl); }

.pt-xs { padding-top: var(--spacing-xs); }
.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-xl { padding-top: var(--spacing-xl); }
.pt-2xl { padding-top: var(--spacing-2xl); }
.pt-3xl { padding-top: var(--spacing-3xl); }

.pb-xs { padding-bottom: var(--spacing-xs); }
.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-xl { padding-bottom: var(--spacing-xl); }
.pb-2xl { padding-bottom: var(--spacing-2xl); }
.pb-3xl { padding-bottom: var(--spacing-3xl); }

.pl-xs { padding-left: var(--spacing-xs); }
.pl-sm { padding-left: var(--spacing-sm); }
.pl-md { padding-left: var(--spacing-md); }
.pl-lg { padding-left: var(--spacing-lg); }
.pl-xl { padding-left: var(--spacing-xl); }

.pr-xs { padding-right: var(--spacing-xs); }
.pr-sm { padding-right: var(--spacing-sm); }
.pr-md { padding-right: var(--spacing-md); }
.pr-lg { padding-right: var(--spacing-lg); }
.pr-xl { padding-right: var(--spacing-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-gray); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-dark { color: var(--text-dark); }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox Utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Border Utilities */
.border { border: 1px solid var(--border-color); }
.border-light { border: 1px solid var(--border-light); }
.border-primary { border: 1px solid var(--primary-color); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: 50%; }

/* Shadow Utilities */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Width & Height Utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow Utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section - Enhanced with depth */
.hero {
    height: 65vh;
    min-height: 480px;
    width: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.9) 0%, rgba(68, 114, 196, 0.8) 100%),
                url('../images/61be2747b5e590107ed92b10_construction-site-2021-08-29-13-28-55-utc.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    position: relative;
    /* margin-top removed to eliminate gap between header and hero */
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.1);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    position: relative;
    padding: 0 var(--container-padding);
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Enhanced typography with better contrast */
.hero h1 {
    font-family: var(--font-family);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
    color: var(--text-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-intro {
    color: rgba(255,255,255,0.95);                /* Keep white font color */
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    max-width: 550px;
    margin: 0 auto var(--spacing-md);
    font-weight: var(--font-normal);
    text-align: center !important;               /* Force center the text */
    display: block;
    width: 100%;
}

/* Sections - Enhanced with better visual hierarchy */
.section {
    background: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
    margin-top: 0;
    position: relative;
    border-top: 1px solid rgba(44, 90, 160, 0.08);
    transition: all var(--transition-base);
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--bg-light-gray) 0%, rgba(248, 250, 252, 0.5) 100%);
}

/* Override background for contact section */
.contact-section.section,
#iletisim.section {
    background: transparent !important;
    border-top: none !important;  /* Remove any border */
}

.section:first-of-type {
    margin-top: 0;
    padding-top: var(--spacing-3xl);
    border-top: none;
}

#projeler {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-primary);
}

/* Section Titles - Enhanced with premium typography */
.section-title {
    font-family: var(--font-family);
    font-size: 1.75rem;  /* Fixed size instead of clamp */
    color: var(--primary-color);
    text-align: center;
    margin: 0 auto var(--spacing-xl) auto;
    font-weight: var(--font-bold);
    position: relative;
    line-height: var(--line-height-tight);
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding) var(--spacing-lg);
    text-transform: uppercase;
}

/* Removed blue line under section titles
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}
*/

/* Subsections */
.subsection {
    position: relative;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.subsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--gray-200) 50%, transparent 100%);
    opacity: 60%;
}

.subsection:first-of-type::before {
    display: none;
}

/* Enhanced subsection titles with better hierarchy */
.subsection-title {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    text-align: center;
    margin: 0 auto 2rem auto;
    font-weight: var(--font-bold);
    position: relative;
    padding-bottom: 0px;
    text-transform: uppercase;
}

/* Removed blue line under subsection titles
.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}
*/

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input, 
.form-group textarea,
.form-control {
    width: 100%;
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-base);
}

.form-group textarea,
.form-control[type="textarea"],
textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 66, 152, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-control.error {
    border-color: #dc2626;
}

.field-error {
    color: #dc2626;
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.submit-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; - REMOVED */
}

/* .submit-btn:hover::before {
    left: 100%;
} - REMOVED */

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: var(--shadow-lg);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer - Premium Professional Design */
/* ===== FOOTER SECTION - UI/UX OPTIMIZED ===== */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    color: var(--text-white);
    padding: var(--spacing-4xl) 0 var(--spacing-lg) 0;
    margin-top: var(--spacing-4xl);
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
    margin-bottom: var(--spacing-3xl);
}

/* Company Info Section - Enhanced Visual Hierarchy */
.footer-info {
    max-width: 420px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-company-name {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: var(--line-height-tight);
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Logo Optimization - UI/UX Proper Sizing */
.footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.2) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    transform: scale(1.05);
}

/* Enhanced Typography */
.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Section Headers - Improved Visual Hierarchy */
.footer-links h4,
.footer-contact h4 {
    color: var(--text-white);
    opacity: 0.85;
    font-size: var(--font-size-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: var(--spacing-sm);
}

/* List Styling - Better UX */
.footer-nav-links,
.footer-contact-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.footer-nav-links li,
.footer-contact-links li {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.footer-nav-links li:hover,
.footer-contact-links li:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: var(--spacing-sm);
}

.footer-nav-links li i,
.footer-contact-links li i {
    margin-right: var(--spacing-md);
    color: #3498db;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.footer-nav-links a,
.footer-contact-links a,
.footer-contact-links span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.footer-nav-links a:hover,
.footer-contact-links a:hover {
    color: #3498db;
    text-shadow: 0 1px 2px rgba(52, 152, 219, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
}


.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-xs);
    margin: 0;
    text-align: left;
}

.designer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-xs);
    margin: 0;
    font-style: italic;
    text-align: right;
}



/* RESPONSIVE LAYOUTS - UI/UX OPTIMIZED */

/* Desktop/Wide screens (1025px+) - Optimal 3-column layout */
@media (min-width: 1025px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr !important;
        gap: var(--spacing-4xl) !important;
    }
    
    .footer-info {
        max-width: 450px;
    }
}

/* Tablet screens (769px-1024px) - Balanced 2-column layout */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--spacing-lg) !important;
    }
    
    .footer-info {
        grid-column: 1;
        grid-row: 1 / span 2;
        max-width: 45%;
        width: 45%;
        padding-right: var(--spacing-md);
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .footer-text {
        max-width: 100%;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
        font-size: var(--font-size-sm);
        line-height: 1.4;
        box-sizing: border-box;
    }
    
    .footer-company-name {
        font-size: var(--font-size-2xl);
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-links {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: var(--spacing-xl);
        max-width: 100%;
    }
    
    .footer-contact {
        grid-column: 2;
        grid-row: 2;
        max-width: 100%;
    }
}

/* Mobile screens (≤768px) - User-friendly single column */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-3xl) 0 var(--spacing-lg) 0;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--spacing-3xl) !important;
        text-align: center !important;
    }
    
    .footer-info {
        text-align: center !important;
        margin-bottom: var(--spacing-xl);
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-company-name {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-lg);
        text-align: center !important;
        display: block;
        width: 100%;
    }
    
    .footer-logo {
        height: 32px;
        margin: 0 auto var(--spacing-lg) auto;
        display: block;
    }
    
    .footer-text {
        font-size: var(--font-size-sm);
        text-align: center !important;
    }
    
    .footer-links,
    .footer-contact {
        text-align: left !important;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        text-align: center !important;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-nav-links,
    .footer-contact-links {
        max-width: 300px;
        margin: 0 auto !important;
    }
}

/* ===== END FOOTER SECTION ===== */


.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-sm); /* Reduced from --spacing-lg for more compact layout */
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    padding: var(--spacing-xs) 0;
}

/* Last contact item should have no bottom margin for better visual closure */
.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact p:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(4px);
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.8);
    width: 20px;
    flex-shrink: 0;
    font-size: var(--font-size-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.footer-contact p:hover i {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: var(--font-normal);
    position: relative;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.footer-contact a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding: 25px var(--container-padding) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: var(--font-family) !important;
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-normal) !important;
    line-height: var(--line-height-relaxed) !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.footer-bottom p:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* Enhanced Footer Components */
.footer-company-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

/* Footer Links Section */
.footer-links h4,
.footer-quality-title {
    color: var(--text-white) !important;
    font-weight: var(--font-semibold) !important;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg) !important;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: var(--spacing-xs);
    display: inline-block;
}

.footer-contact h4 {
    color: var(--text-white) !important;
    font-weight: var(--font-semibold) !important;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg) !important;
    padding-bottom: var(--spacing-xs);
    display: inline-block;
}

.footer-links h5 {
    margin-top: var(--spacing-xl);
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-medium);
    margin-bottom: var(--spacing-md);
}

.footer-nav-links,
.footer-services,
.footer-contact-links,
.footer-quality-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-links li,
.footer-services li,
.footer-contact-links li,
.footer-quality-list li {
    margin-bottom: var(--spacing-sm);
}

.footer-nav-links li,
.footer-contact-links li,
.footer-quality-list li {
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    transition: color var(--transition-smooth);
    margin-bottom: var(--spacing-sm);
}

.footer-nav-links li:hover,
.footer-contact-links li:hover,
.footer-quality-list li:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav-links li i,
.footer-contact-links li i,
.footer-quality-list li i {
    color: var(--accent-color);
    font-size: var(--font-size-base);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-nav-links a,
.footer-contact-links a,
.footer-contact-links span {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-smooth);
    font-size: inherit;
    font-weight: inherit;
}

/* ========================================
   UNIVERSAL FOOTER ALIGNMENT POLISH
   ======================================== */

/* Ensure perfect alignment consistency across all breakpoints */
.footer-nav-links,
.footer-contact-links,
.footer-quality-list {
    list-style: none !important;
    list-style-type: none !important;
    list-style-position: outside !important;
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

.footer-nav-links li,
.footer-contact-links li,
.footer-quality-list li {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    text-indent: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    margin: 0 0 var(--spacing-sm) 0 !important;
    gap: var(--spacing-sm) !important;
    box-sizing: border-box !important;
}

/* Ensure icons are perfectly aligned */
.footer-nav-links li i,
.footer-contact-links li i,
.footer-quality-list li i {
    width: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure all footer sections have consistent text alignment */
.footer-info,
.footer-links,
.footer-contact,
.footer-quality-title {
    text-align: left !important;
}

.footer-info h3,
.footer-links h4,
.footer-links h5,
.footer-contact h4 {
    text-align: left !important;
    margin: 0 0 var(--spacing-sm) 0 !important;
    padding: 0 !important;
}

.footer-nav-links a:hover,
.footer-contact-links a:hover {
    color: var(--accent-color);
}

.footer-services li {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-base);
    position: relative;
    padding-left: var(--spacing-md);
    font-weight: var(--font-normal);
}

.footer-services li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Enhanced Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(2px);
}

.contact-item i {
    color: var(--accent-color);
    width: 18px;
    height: 18px;
    text-align: center;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    display: block;
    word-break: break-word;
    transition: color var(--transition-smooth);
    font-weight: var(--font-normal);
}

.contact-details a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Social Media Section */
.footer-social h4 {
    color: var(--text-white);
    font-weight: var(--font-semibold);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
}

/* Enhanced Footer Bottom */
.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-info {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 600px;
        margin: 0 auto var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
        padding: 0;  /* Remove container padding for perfect centering */
    }
    
    .footer-info {
        grid-column: unset;
        margin-bottom: var(--spacing-xl);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 var(--spacing-md);  /* Add minimal padding back */
    }
    
    .footer-company-name {
        text-align: center !important;
        width: 100%;
        margin: var(--spacing-sm) 0;
    }
    
    .footer-links,
    .footer-contact {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-links h5,
    .footer-quality-title {
        text-align: center;
        margin-top: var(--spacing-xl);
    }
    
    .footer-nav-links,
    .footer-services,
    .footer-quality-list {
        text-align: center;
    }
    
    .footer-nav-links li,
    .footer-services li {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-quality-list .quality-item {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }
    
    .contact-item {
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
        align-items: center;
    }
    
    .copyright,
    .designer-credit {
        text-align: center;
        margin: 0;
    }
}

/* About Section - Improved Layout */
.company-description {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--container-padding);
}

.company-description p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
}

/* Vision Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: var(--spacing-3xl);
    max-width: var(--container-max-width);
    margin: var(--spacing-3xl) auto 0 auto;
    padding: 0 var(--container-padding);
    
}

/* Vision Mission Cards - Consistent with project cards */
.vision-card,
.mission-card {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.06);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vision-card:hover,
.mission-card:hover {
    box-shadow: 0 16px 48px rgba(44, 90, 160, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
    transform-origin: left;
    z-index: 2;
}

.vision-card:hover::before,
.mission-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 50%;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-4xl);
    color: white;
}

.vision-card h3,
.mission-card h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    text-align: center;
    margin: 0 auto var(--spacing-2xl) auto;
    font-weight: var(--font-bold);
    position: relative;
    padding-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.vision-card p,
.mission-card p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
}

/* Responsive Design for Vision Mission Grid */
@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .vision-card,
    .mission-card {
        padding: var(--spacing-xl);
    }
    
    .contact-items-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
}

/* Loading screen - Premium professional polish */
.loading {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid white;
    border-radius: 50%;
    margin-bottom: var(--spacing-lg);
    animation: spin 1s linear infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Loading Text - Enhanced with breathing effect */
.loading-text {
    color: white;
    font-size: var(--font-size-lg);
    font-weight: var(--font-medium);
    /* animation: pulse 2s ease-in-out infinite; - REMOVED */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Projects */
#projeler {
    padding: var(--spacing-3xl) 0;
}

#projeler .container {
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    margin: 0 auto var(--spacing-md);
}

#projeler .section-title {
    margin-bottom: var(--spacing-2xl);
}

/* Featured Projects Full-Width Section */
.featured-projects-section {
    margin: 0;
    background: var(--bg-primary);    /* Same background as main projects section */
}

/* Reduce spacing for project subsection titles */
#projeler .subsection-title,
#projeler-continued .subsection-title {
    margin-bottom: 0.5rem;
}

/* Unified Projects Section */
.projects-unified-section {
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
}

.projects-unified-section .all-projects-header {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-md) var(--container-padding) 0 var(--container-padding);
    text-align: center;
}

.projects-unified-section .all-projects-header .subsection-title {
    margin-top: var(--spacing-2xl);      /* Increased top spacing */
    margin-bottom: var(--spacing-xl);    /* Increased bottom spacing */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: var(--container-max-width);        /* Consistent with other sections */
    margin: 0 auto;                               /* Center the grid */
    padding: 0 var(--container-padding);          /* Consistent padding */
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.06);
    cursor: pointer;
    min-height: 460px; /* Ensure uniform card height */
}

.project-card:hover {
    box-shadow: 0 16px 48px rgba(44, 90, 160, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
    transform-origin: left;
    z-index: 2;
}

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

.project-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center center;
    transition: all var(--transition-smooth);
}

.project-info {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

/* Enhanced project cards with better visual hierarchy */
.project-title {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: var(--font-medium);
    margin: 0 0 var(--spacing-xs);
    line-height: var(--line-height-tight);
    transition: none;
}

.project-location {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    margin: 0;
}

/* Typography */
p {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.projects-intro {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    padding: 0 var(--container-padding);
}

/* All Projects Full-Width Section */
.all-projects-section {
    margin: 0;
    background: var(--bg-primary);    /* Same background as main projects section */
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: var(--container-max-width);        /* Consistent with other sections */
    margin: 0 auto;                               /* Center the grid */
    padding: 0 var(--container-padding);          /* Consistent padding */
    text-align: left;                             /* Ensure left alignment for grid content */
}

/* All Projects Grid - Enhanced visual polish */
.all-projects-grid .project-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.06);
    cursor: pointer;
}

.all-projects-grid .project-item:hover {
    box-shadow: 0 16px 48px rgba(44, 90, 160, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.all-projects-grid .project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
    transform-origin: left;
    z-index: 2;
}

.all-projects-grid .project-item:hover::before {
    transform: scaleX(1);
}

.all-projects-grid .project-item h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: var(--font-medium);
    margin: 0 0 var(--spacing-xs);
    line-height: var(--line-height-tight);
}

.all-projects-grid .project-details {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    margin: 0;
    line-height: var(--line-height-normal);
    font-weight: var(--font-normal);
}

/* Contact */
.contact-section {
    position: relative;
    background: transparent !important;
}

.contact-intro {
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    margin: var(--spacing-xl) auto var(--spacing-2xl);
    line-height: var(--line-height-relaxed);
    padding: 0 var(--container-padding);
    opacity: 0.9;
}

.contact-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: var(--spacing-2xl) 0;
}

/* Contact item hover effects - Enhanced polish */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.06);
    cursor: pointer;
}

.contact-item:hover {
    box-shadow: 0 12px 40px rgba(44, 90, 160, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.contact-details span,
.contact-details a {
    color: var(--text-secondary);
    font-size: var(--font-size-base);    /* Increased from sm (14px) to base (16px) */
    line-height: var(--line-height-relaxed);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* New Contact Section Design - Better UI/UX Layout */
.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    margin: var(--spacing-3xl) 0;
    align-items: start;
}

.contact-info-section,
.map-section {
    position: relative;
}

.contact-section-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-cards-grid {
    display: grid;
    gap: var(--spacing-md);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-smooth);
    transform-origin: bottom;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:active {
    transform: scale(0.95);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(44, 90, 160, 0.15);
}

.contact-card-icon i {
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.contact-card-content {
    flex: 1;
    min-width: 0;
}

.contact-card-content h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.contact-card-content span,
.contact-card-content a {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    text-decoration: none;
    transition: color var(--transition-base);
    display: block;
}

.contact-card-content a:hover {
    color: var(--primary-color);
}

.map-section {
    height: 100%;
    min-height: 400px;
}

.map-container {
    height: calc(100% - 60px); /* Account for title height */
    min-height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(8,66,152,0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter var(--transition-smooth);
}

.contact-map:hover {
    filter: grayscale(0%) contrast(1.2);
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .map-section {
        min-height: 300px;
    }
    
    .map-container {
        min-height: 250px;
    }
    
    .contact-card {
        padding: var(--spacing-md);
    }
    
    .contact-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-card-icon i {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .contact-cards-grid {
        gap: var(--spacing-md);
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .contact-card-content h4 {
        font-size: var(--font-size-sm);
    }
    
    .contact-card-content span,
    .contact-card-content a {
        font-size: var(--font-size-sm);
    }
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin: var(--spacing-3xl) auto 0;
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    position: relative;
}

.contact-content-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 10%, var(--gray-300) 50%, transparent 90%);
    transform: translateX(-50%);
    opacity: 0.4;
}

.map-container {
    padding: 0;
    background: transparent !important;
    border: none;
    border-radius: 0;
    position: relative;
}

/* Removed container-specific h3 styles - both now use subsection-title class consistently */

.map-wrapper {
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200);
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(8,66,152,0.03) 100%);
    pointer-events: none;
    z-index: 1;
}

.contact-map {
    width: 100%;
    height: 450px;
    border: 0;
    transition: filter 0.3s ease;
}

.contact-map:hover {
    filter: brightness(1.05);
}

/* Progress Indicator - Premium Design */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 90, 160, 0.05);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-light) 0%, 
        var(--primary-color) 30%, 
        var(--primary-dark) 70%, 
        var(--primary-color) 100%);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(44, 90, 160, 0.6), 
                0 0 30px rgba(44, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    /* animation: shimmer 2s infinite; - REMOVED */
}

/* Enhanced mobile navigation with better backdrop */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--gray-200);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    padding: var(--spacing-3xl) var(--spacing-xl);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.mobile-nav-link {
    display: block;
    padding: var(--spacing-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-bold);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--bg-secondary);
    border-left-color: var(--primary-color);
}

/* Enhanced mobile overlay with better blur */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Mobile All Projects Grid */

/* Enhanced Mobile Contact Section */

/* Comprehensive Mobile Enhancements */

/* Mobile Performance Optimizations */

/* Focus and accessibility improvements for mobile */







/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --text-primary: #000000;
        --text-secondary: #000000;
        --gray-200: #666666;
        --gray-300: #888888;
    }
    
    .project-card,
    .all-projects-grid .project-item {
        border-width: 2px;
        border-color: var(--text-primary);
    }
}

/* Projeler Continued Section */
#projeler-continued {
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
    background: var(--bg-primary);
}

#projeler-continued .container {
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

/* All Projects Header with Mobile Toggle */
.all-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

/* REMOVED mobile-projects-toggle - no longer needed
.mobile-projects-toggle {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.mobile-projects-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.mobile-projects-toggle i {
    transition: transform 0.3s ease;
    font-size: var(--font-size-xs);
}

.mobile-projects-toggle.expanded i {
    transform: rotate(180deg);
}
*/

/* Mobile Projects Toggle - REMOVED - Show all projects by default */
@media (max-width: 768px) {
    /* Removed mobile toggle button - no longer needed
    .mobile-projects-toggle {
        display: flex;
    }
    */
    
    /* Show all projects by default - removed max-height restrictions
    .all-projects-section {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .all-projects-section.expanded {
        max-height: 2000px;
    }
    */
    
    .all-projects-header {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

/* ========================================
   ENHANCED MOBILE RESPONSIVE DESIGN
   ======================================== */

/* Very small devices (older smartphones) */
@media (max-width: 360px) {
    /* Keep font sizes same as desktop - only adjust line heights and spacing */
    .hero h1 {
        line-height: 1.1;
    }
    
    .hero-intro {
        line-height: 1.4;
        margin-bottom: var(--spacing-md);
        padding: 0 var(--spacing-xs);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo {
        height: 35px;
    }
    
    /* Company name keeps original font size from desktop */
    
    .projects-grid,
    .all-projects-grid {
        padding: 0 var(--spacing-sm);
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: var(--spacing-sm);
    }
}

/* Mobile First Breakpoints */
/* Small devices (smartphones) */
@media (max-width: 480px) {
    /* Keep typography sizes same as desktop - removed font size overrides */
    .hero h1 {
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-intro {
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Section titles - keep original sizes, only adjust spacing */
    .section-title {
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-md);
    }
    
    .subsection-title {
        margin-bottom: var(--spacing-md);
    }
    
    /* Container adjustments */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Header mobile optimization */
    .header {
        padding: var(--spacing-sm) 0;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo {
        height: 40px;
    }
    
    /* Company name keeps original font size from desktop */
    
    /* Hide desktop navigation on very small screens */
    .nav-links {
        display: none;
    }
    
    /* Show mobile menu toggle on small screens */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .language-switcher {
        gap: var(--spacing-xs);
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 28px;
    }
    
    /* Hero section mobile */
    .hero {
        padding: var(--spacing-2xl) 0;
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 0 var(--spacing-md);
        text-align: center;
    }
    
    /* Projects grid mobile - 1px gaps */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 0 var(--spacing-md);
    }
    
    .project-card {
        margin-bottom: var(--spacing-sm);
        min-height: 320px; /* Ensure uniform card heights on mobile */
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: var(--spacing-md);
    }
    
    .project-title {
        /* Keep original font size from desktop */
        margin-bottom: var(--spacing-xs);
    }
    
    /* Project location keeps original font size from desktop */
    
    /* All projects grid mobile - 1px gaps */
    .all-projects-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 0 var(--spacing-md);
    }
    
    .all-projects-grid .project-item {
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 50px;
    }
    
    .all-projects-grid .project-item h4 {
        /* Keep original font size from desktop */
        margin-bottom: var(--spacing-xs);
    }
    
    /* All project details keep original font size from desktop */
    
    /* Contact section mobile - 1px gaps */
    .contact-items-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 0 var(--spacing-md);
    }
    
    .contact-card {
        padding: var(--spacing-lg);
    }
    
    .contact-card .card-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    /* Contact form and map mobile layout */
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin: var(--spacing-xl) auto 0;
        padding: 0 var(--spacing-md);
    }
    
    .contact-content-grid::before {
        display: none; /* Hide the vertical divider line on mobile */
    }
    
    .map-container {
        order: 2; /* Map second on mobile */
        padding: var(--spacing-lg);
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
    }
    
    .map-container h3 {
        /* Keep original font size from desktop */
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .map-wrapper {
        height: 250px; /* Smaller height on mobile */
        border-radius: var(--radius-sm);
    }
    
    .contact-map {
        border-radius: var(--radius-sm);
    }

    /* Footer mobile - Single column layout */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) 0;
        text-align: left;
        margin: 0;
    }
    
    /* Center company info on mobile */
    .footer-info {
        text-align: center !important;
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-links,
    .footer-contact {
        text-align: left !important;
    }
    
    /* Reset all footer sections completely on mobile */
    .footer-info,
    .footer-links,
    .footer-contact {
        text-align: left !important;
        padding: 0 var(--spacing-md) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Reset all footer headings */
    .footer-info h3,
    .footer-links h4,
    .footer-links h5,
    .footer-contact h4 {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
    }
    
    /* Completely reset all footer lists - remove all browser defaults */
    .footer-nav-links,
    .footer-contact-links,
    .footer-quality-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Completely reset all footer list items - force exact same positioning */
    .footer-nav-links li,
    .footer-contact-links li,
    .footer-quality-list li {
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: var(--spacing-sm) !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        list-style: none !important;
        list-style-type: none !important;
        list-style-position: outside !important;
    }
    
    /* Reset icons to ensure consistent spacing */
    .footer-nav-links li i,
    .footer-contact-links li i,
    .footer-quality-list li i {
        margin: 0 !important;
        padding: 0 !important;
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-contact h4 {
        /* Keep original font size from desktop */
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-contact p {
        /* Keep original font size from desktop */
        margin-bottom: var(--spacing-sm);
        justify-content: center;
    }
    
    /* Last contact item should have no bottom margin on mobile too */
    .footer-contact p:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile menu enhancements */
    .mobile-menu-toggle {
        padding: var(--spacing-xs);
    }
    
    .mobile-menu-toggle span {
        height: 2px;
        margin: 4px 0;
    }
    
    .mobile-nav {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .mobile-nav-link {
        padding: var(--spacing-md) 0;
        /* Keep original font size from desktop */
    }
}

/* Medium devices (tablets) */
/* Tablet layout: 2 columns */


@media (min-width: 481px) and (max-width: 768px) {
    /* Hide desktop navigation on tablets */
    .nav-links {
        display: none;
    }
    
    /* Show mobile menu toggle on tablets */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Hero adjustments for tablets - keep original font sizes */
    
    /* Projects grid - 2 columns for tablets with 1px gaps */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    
    .project-image {
        height: 220px;
    }
    
    /* Ensure uniform card heights on tablets */
    .project-card {
        min-height: 340px;
    }
    
    /* All projects - 2 columns */
    .all-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    
    /* Contact grid - 2 columns */
    .contact-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact form and map tablet layout */
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding: 0 var(--spacing-lg);
    }
    
    .contact-content-grid::before {
        display: none; /* Hide vertical divider on tablet */
    }
    
    .map-container {
        padding: var(--spacing-xl);
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
    }
    
    .map-wrapper {
        height: 300px; /* Medium height on tablet */
    }

    /* Navigation adjustments */
    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        /* Keep original font size from desktop */
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    /* Footer alignment fixes for tablets - same as mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) 0;
        text-align: left;
        margin: 0;
    }
    
    /* Stack columns vertically on tablets */
    .footer-left-column,
    .footer-right-column {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    /* Reset all footer sections completely on tablets */
    .footer-info,
    .footer-links,
    .footer-contact {
        text-align: left !important;
        padding: 0 var(--spacing-md) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Reset all footer headings */
    .footer-info h3,
    .footer-links h4,
    .footer-links h5,
    .footer-contact h4 {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
    }
    
    /* Completely reset all footer lists - remove all browser defaults */
    .footer-nav-links,
    .footer-contact-links,
    .footer-quality-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Completely reset all footer list items - force exact same positioning */
    .footer-nav-links li,
    .footer-contact-links li,
    .footer-quality-list li {
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: var(--spacing-sm) !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        list-style: none !important;
        list-style-type: none !important;
        list-style-position: outside !important;
    }
    
    /* Reset icons to ensure consistent spacing */
    .footer-nav-links li i,
    .footer-contact-links li i,
    .footer-quality-list li i {
        margin: 0 !important;
        padding: 0 !important;
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
}

/* Large tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Show desktop navigation and hide mobile toggle */
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Projects grid - 3 columns */
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* All projects - 3 columns */
    .all-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact form and map layout for large tablets */
    .contact-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
        padding: 0 var(--spacing-lg);
    }
    
    .contact-content-grid::before {
        display: block; /* Show divider line on larger tablets */
        opacity: 0.2;
    }
    
    .map-container {
        padding: var(--spacing-lg);
        background: transparent;
        border: none;
        border-radius: 0;
    }
    
    .map-wrapper {
        height: 350px; /* Larger height on big tablets */
    }
    
    /* Container adjustments */
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Hero content adjustments */
    .hero-content {
        max-width: 800px;
    }
    
    /* Footer alignment fixes for large tablets - 2-column layout */
    .footer-content {
        grid-template-columns: 1fr 1fr; /* Keep 2-column on large tablets */
        gap: var(--spacing-2xl);
        padding: var(--spacing-xl) 0;
        text-align: left;
        margin: 0;
    }
    
    /* Keep column layout on large tablets */
    .footer-left-column,
    .footer-right-column {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    /* Reset all footer sections completely on large tablets */
    .footer-info,
    .footer-links,
    .footer-contact {
        text-align: left !important;
        padding: 0 var(--spacing-md) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Reset all footer headings */
    .footer-info h3,
    .footer-links h4,
    .footer-links h5,
    .footer-contact h4 {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
    }
    
    /* Completely reset all footer lists - remove all browser defaults */
    .footer-nav-links,
    .footer-contact-links,
    .footer-quality-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Completely reset all footer list items - force exact same positioning */
    .footer-nav-links li,
    .footer-contact-links li,
    .footer-quality-list li {
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: var(--spacing-sm) !important;
        text-indent: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        list-style: none !important;
        list-style-type: none !important;
        list-style-position: outside !important;
    }
    
    /* Reset icons to ensure consistent spacing */
    .footer-nav-links li i,
    .footer-contact-links li i,
    .footer-quality-list li i {
        margin: 0 !important;
        padding: 0 !important;
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
}

/* Desktop and larger screens */
@media (min-width: 1025px) {
    /* Show desktop navigation and hide mobile toggle */
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Footer alignment polish for desktop - ensure 2-column layout */
    .footer-content {
        grid-template-columns: 1fr 1fr; /* Maintain 2-column layout on desktop */
        gap: var(--spacing-3xl);
    }
    
    /* Keep column layout on desktop */
    .footer-left-column,
    .footer-right-column {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-2xl);
    }
    
    /* Still ensure left alignment and consistent spacing on desktop */
    .footer-info,
    .footer-links,
    .footer-contact {
        text-align: left !important;
    }
    
    /* Ensure consistent list styling across all sections */
    .footer-nav-links,
    .footer-contact-links,
    .footer-quality-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .footer-nav-links li,
    .footer-contact-links li,
    .footer-quality-list li {
        padding: 0 !important;
        margin: 0 0 var(--spacing-sm) 0 !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: var(--spacing-sm) !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 48px;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .nav-link {
        min-height: 44px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .lang-btn {
        min-height: 44px;    /* Improved from 40px for better touch accessibility */
        min-width: 44px;     /* Improved from 40px for better touch accessibility */
    }
    
    /* Remove hover effects for touch devices */
    .project-card:hover,
    .all-projects-grid .project-item:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Simplify animations for touch */
    .btn:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 50vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        /* Keep original font size */
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-intro {
        margin-bottom: var(--spacing-md);
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .mobile-nav,
    .mobile-overlay,
    .loading {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: var(--spacing-md) 0;
    }
    
    .hero h1,
    .section-title,
    .subsection-title {
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
}

/* High DPI displays - Enhanced for all browsers */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo {
    -webkit-image-rendering: -webkit-optimize-contrast;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    }
}

/* ===============================================
   PREMIUM POLISH ENHANCEMENTS - FINAL TOUCHES
   =============================================== */

/* Enhanced Page Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Card Hover Effects */
.project-card,
.vision-card,
.mission-card,
.contact-item {
    position: relative;
    overflow: hidden;
}



/* Enhanced Focus States for Accessibility */
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"]:not(.loaded) {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Enhanced Scrollbar - with fallbacks for better browser support */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) var(--bg-secondary);
    }
}

/* Webkit scrollbar for Chrome/Safari */
*::-webkit-scrollbar {
    width: 8px;
}

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

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

/* Premium Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Enhanced Typography Animations */
.section-title,
.subsection-title {
    position: relative;
    overflow: hidden;
}

/* REMOVED animated blue lines on scroll
.section-title::before,
.subsection-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 1s ease-in-out;
}

.section-title.in-view::before,
.subsection-title.in-view::before {
    width: 100%;
}
*/

/* Enhanced Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    /* animation: loading-shimmer 1.5s infinite; - REMOVED */
    min-height: 200px;
    border-radius: var(--radius-md);
}

/* Premium Progress Indicator */
.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    /* animation: progress-shine 2s infinite; - REMOVED */
}

/* Enhanced Mobile Touch Feedback - DISABLED to prevent button size changes */
/* @media (hover: none) and (pointer: coarse) {
    .btn:active,
    .project-card:active,
    .nav-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
} */

/* Premium Parallax Effect (subtle) - DISABLED per user request */
/*
.hero {
    background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}
*/

/* Enhanced Status Messages */
.success-message,
.error-message {
    position: relative;
    overflow: hidden;
}

.success-message::before,
.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    /* animation: message-shine 2s ease-in-out; - REMOVED */
}

/* ===============================================
   PERFORMANCE & OPTIMIZATION ENHANCEMENTS
   =============================================== */

/* Critical Path Optimization */
.critical-content {
    visibility: visible;
}

.non-critical-content {
    visibility: hidden;
}

.non-critical-content.loaded {
    visibility: visible;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.project-image {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* GPU Acceleration for Smooth Animations */
.project-card,
.btn,
.nav-link,
.hero-content {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Prevent Layout Shifts */
.project-image {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Efficient Transitions */
.vision-card,
.mission-card {
    contain: layout style paint;
}

/* Intersection Observer Optimization */
.lazy-section {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* Simple Performance Optimizations */
.header {
    contain: none;
}

.footer {
    contain: layout style;
}

/* Optimize Filters and Backdrop */
.hero::before {
    will-change: opacity;
    transform: translateZ(0);
}

/* Animation Performance */
@media (prefers-reduced-motion: no-preference) {
    .smooth-animation {
        animation-duration: 0.3s;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* End of Styles */

/* Resource Hints Implementation */
.preload-hint {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Efficient Grid Layouts */
.projects-grid {
    contain: layout;
}

.all-projects-grid {
    contain: layout;
}

/* ULTIMATE HEADER FREEZE - HIGHEST PRIORITY */
html, body {
    scroll-behavior: auto !important;
    overflow-x: hidden !important;
}

header.header,
.header,
header {
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    right: 0px !important;
    width: 100vw !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid #e0e7ff !important;
    z-index: 999999 !important;
    transform: translate3d(0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    contain: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* ====================================== */
/* ADDITIONAL UI/UX IMPROVEMENTS         */
/* ====================================== */

/* Better mobile touch interactions */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices to prevent sticky states */
    .btn:hover,
    .project-card:hover,
    .project-item:hover,
    .contact-item:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Add touch-friendly active states - more subtle */
    .btn:active {
        transform: translateY(1px);  /* Subtle press effect instead of scale */
        transition: transform 0.1s ease;
        box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);  /* Reduced shadow on press */
    }
    
    .project-card:active,
    .project-item:active {
        transform: translateY(1px);  /* Subtle press effect */
        transition: transform 0.1s ease;
    }
}

/* Improved focus states for keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px rgba(44, 90, 160, 0.2);
}

/* Better text selection */
::selection {
    background-color: rgba(44, 90, 160, 0.2);
    color: var(--text-primary);
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-light: #000000;
        --text-secondary: #000000;
    }
}
