/* =========================================
   MR GRUP - PREMIUM CORPORATE WEBSITE
   ========================================= */

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

/* Base reset for sections */
section {
    margin: 0;
    box-sizing: border-box;
}

/* Full-bleed hero sections: remove padding and margin */
.slider-hero,
.sectors-hero {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    vertical-align: top !important;
}

/* Slider hero base to avoid white flash below */
.slider-hero {
    background-color: #000;
    overflow: hidden;
    position: relative;
    height: calc(100vh - var(--header-height, 0px));
}

/* Slider full-cover layout to prevent peeking of next section */
.slider-hero .slider-container,
.slider-hero .slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slider-hero .slide-image {
    position: absolute;
    top: -1px; /* cover subpixel gaps */
    left: -1px;
    right: -1px;
    bottom: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.slider-hero .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-hero .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 60%, rgba(0,0,0,0.1), rgba(0,0,0,0.45));
    pointer-events: none;
}

/* Ensure sectors hero occupies full viewport and has dark background to avoid white gaps */
.sectors-hero {
    position: relative;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

/* Remove extra overlay in sectors hero to prevent bright banding */
.sectors-hero .hero-overlay {
    display: none;
}

/* Remove all focus outlines globally */
*:focus,
*:focus-visible,
input:focus,
textarea:focus,
button:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}

html {
    font-size: 16px;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Index page specific scroll behavior */
body.index-page {
    scroll-behavior: smooth;
}

/* Insaat page specific scroll behavior - normal scrolling */
body.insaat-page {
    scroll-behavior: auto;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-size: 0; /* Remove white space between inline-block elements */
}

body * {
    font-size: 16px; /* Restore font size for all child elements */
}

/* Custom Properties */
:root {
    --primary-blue: #3b82f6;
    --primary-light: #ffffff;
    --secondary-light: #f8fafc;
    --accent-blue: #2563eb;
    --royal-blue: #1d4ed8;
    --navy-blue: #1e40af;
    --text-dark: #1a202c;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(59, 130, 246, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    --gradient-blue-light: linear-gradient(135deg, var(--accent-blue) 0%, var(--royal-blue) 100%);
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation - Redesigned Layout */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 0.8rem 0;
    overflow: visible;
    box-shadow: none;
}

.header.header-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-24px);
    pointer-events: none;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header Container - Flex Layout */
.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem 0 6.5rem;
    width: 100%;
}

/* Logo Section (Left) */
.header-logo-section {
    flex-shrink: 0;
}

.logo-container {
    z-index: 1001;
}

/* Navigation Section (Center) */
.header-nav-section {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 100;
    overflow: visible;
}

/* Header Actions (Right) */
.header-actions {
    flex-shrink: 0;
}

/* Header AI Button - Apple Minimalist Style */
.header-ai-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 0; /* Changed from 16px to 0 for straight corners */
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 0.72rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 
                0 0 0 0.5px rgba(255, 255, 255, 0.5) inset;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.header-ai-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 0 0 0.5px rgba(255, 255, 255, 0.6) inset;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.header-ai-btn .btn-icon {
    width: 12px;
    height: 12px;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.header-ai-btn:hover .btn-icon {
    opacity: 1;
    transform: translateY(-0.5px);
}

.header-ai-btn span {
    white-space: nowrap;
    opacity: 0.9;
}

.header-ai-btn:hover span {
    opacity: 1;
}

.nav-container-oval {
    /* No background - transparent */
    padding: 0.3rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
    max-width: fit-content;
    margin: 0 auto;
}

.main-logo {
    height: 132px; /* logo biraz daha büyütüldü */
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition-fast);
}

/* Header-left alignment responsive to match hero-text left offset */
@media (max-width: 1024px) {
    .header-container {
        padding-left: 4rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding-left: 3rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding-left: 2rem;
    }
}

.main-logo:hover {
    filter: brightness(1.3);
    transform: scale(1.08);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dropdown nav-link için özel after stili - arrow restored */
.nav-dropdown .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
    opacity: 0.7;
    z-index: 2;
    background: none;
}

/* Normal nav-link için alt çizgi - removed */
.nav-dropdown .nav-link::before {
    display: none; /* Rahatsız edici alt çizgi kaldırıldı */
}

.nav-dropdown:hover .nav-link::before {
    display: none; /* Hover alt çizgi de kaldırıldı */
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

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

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%) translateY(-10px);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 500px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Mini Sector Cards */
.mini-sector-card {
    position: relative;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mini-sector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.mini-sector-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mini-sector-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mini-sector-card:hover .mini-sector-bg {
    transform: scale(1.1);
}

.mini-sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    transition: all 0.3s ease;
}

.mini-sector-card:hover .mini-sector-overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.mini-sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    z-index: 2;
}

.mini-sector-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.mini-sector-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
    opacity: 0.9;
}

/* Dropdown Arrow Indicator - artık üstte tanımlı */

.nav-dropdown:hover .nav-link::after {
    transform: translateX(-50%); /* Rotate kaldırıldı - ok dönmez */
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: relative;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Beams Background Styles - Light theme optimized */
.beams-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    mix-blend-mode: soft-light;
    transition: opacity 0.8s ease;
    filter: blur(0.5px);
}

.beams-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(
        ellipse at center,
        rgba(59, 130, 246, 0.15) 0%,
        rgba(59, 130, 246, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
}

/* Clean minimalist hero */
.hero.with-beams {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

/* Sectors Hero with beams override - remove white background */
.sectors-hero.with-beams {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.hero.with-beams .hero-content {
    z-index: 10;
    position: relative;
}

/* Beams Background Animation Keyframes */
@keyframes beams-pulse {
    0%, 100% { 
        opacity: 0.5; 
        backdrop-filter: blur(15px);
    }
    50% { 
        opacity: 0.8; 
        backdrop-filter: blur(5px);
    }
}

/* Enhanced glow effect for hero content with beams */
.hero.with-beams .hero-title {
    text-shadow: 
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 35px rgba(59, 130, 246, 0.1),
        1px 1px 3px rgba(0, 0, 0, 0.15);
}

.hero.with-beams .hero-subtitle {
    text-shadow: 
        0 0 15px rgba(59, 130, 246, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.1);
}



/* Responsive beams adjustments for light theme */
@media (max-width: 768px) {
    .beams-canvas {
        opacity: 0.4;
        filter: blur(1px);
    }
    
    .beams-overlay {
        background: radial-gradient(
            ellipse at center,
            rgba(59, 130, 246, 0.12) 0%,
            rgba(59, 130, 246, 0.04) 50%,
            rgba(255, 255, 255, 0.1) 100%
        );
    }
}

@media (max-width: 480px) {
    .beams-canvas {
        opacity: 0.3;
        filter: blur(0.5px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Sectors Full Width */
.hero-sectors-fullwidth {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 5fr));
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    gap: 0;
    margin: 0;
    padding: 0;
    background-color: #000; /* prevent any white bleed through */
}

/* Hero Sectors - Full Width Layout */
.hero-sectors-fullwidth .sector-card {
    flex: 1;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #000; /* ensure background under media is dark */
}

/* Hover Effects for Full Width Sectors */
.hero-sectors-fullwidth .sector-card:hover {
    z-index: 20;
    box-shadow: none; /* avoid hover glow that can look like a white edge */
}

/* Sector Images and Videos Full Coverage */
.hero-sectors-fullwidth .sector-image {
    position: absolute;
    top: -1px; /* extend 1px to cover subpixel gaps */
    left: -1px; /* extend left to cover vertical seams */
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    z-index: 1;
}

.hero-sectors-fullwidth .sector-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* Lighten videos a bit within fullwidth hero */
    filter: brightness(0.9) contrast(1.05);
    will-change: transform;
}

/* Video specific styles */
.hero-sectors-fullwidth video.sector-bg {
    background-color: #000;
    object-position: center;
    border: none;
    outline: none;
}

/* Video hover effects - DISABLED FOR STABLE LAYOUT */
/*.hero-sectors-fullwidth .sector-card:hover .sector-bg {
    transform: scale(1.05);
}*/

/* Keep hover state slightly brightened for readability */
.hero-sectors-fullwidth .sector-card:hover .sector-bg {
    filter: brightness(0.8) contrast(1.05);
}

/* Video loading state - DISABLED */
.hero-sectors-fullwidth video.sector-bg:not([src]) {
    background: #000;
    animation: none;
}

/* DISABLED - Video loading animation */
/*@keyframes videoLoading {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}*/

/* Ensure videos play smoothly */
.hero-sectors-fullwidth video.sector-bg {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Sector Content Overlay */
.hero-sectors-fullwidth .sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Slightly lighter bottom gradient */
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    color: white;
    padding: 2rem;
    z-index: 5;
    text-align: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-sectors-fullwidth .sector-card:hover .sector-content {
    opacity: 1;
}

/* Bigger typography for always-visible bottom texts in fullwidth hero */
.hero-sectors-fullwidth .sector-name {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.hero-sectors-fullwidth .sector-preview {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.5;
}

/* Lighter overlay for fullwidth hero sectors */
.hero-sectors-fullwidth .sector-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.08) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-sectors-fullwidth .sector-card:hover .sector-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.1) 0%,
        rgba(0, 0, 0, 0.25) 30%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* Sector Details for Full Width */
.hero-sectors-fullwidth .sector-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    text-align: center;
    color: white;
    z-index: 10;
    opacity: 0; /* keep hidden until hover via generic rule */
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem 1rem;
    border-radius: 0;
    backdrop-filter: blur(6px);
}

.hero-sectors-fullwidth .sector-card:hover .sector-details {
    opacity: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.8s;
}





/* Sectors Section */
.sectors-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 2;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Original sectors-container for standalone sections */
.sectors-section .sectors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero sectors-container with gooey text animation effects */
.hero .sectors-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
    gap: 1rem !important;
    max-width: 1000px !important;
    width: 100% !important;
    margin: 1rem auto 0 !important;
    padding: 0 2rem !important;
    justify-content: center !important;
    place-items: stretch !important;
    
    /* Initially hidden for coordinated animation */
    opacity: 0 !important;
    transform: translateY(50px) scale(0.95) !important;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
    
    /* Hero-specific styling */
    z-index: 10 !important;
    position: relative !important;
    min-height: 400px !important;
}

/* Animated state for coordinated entrance */
.hero .sectors-container.animate-entrance {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Apply gooey animation only if needed */
.hero .sectors-container.gooey-text-span {
    opacity: 0;
    transform: translateY(30px);
    animation: gooeyFadeIn 1.5s ease forwards;
    animation-delay: 2s;
}

/* Ensure hero sectors are visible after animation */
.hero .sectors-container.gooey-hero-span {
    opacity: 0;
    animation: gooeyFadeIn 1.5s ease forwards;
    animation-delay: 2s;
}

/* Mobile responsive layout for full-width sectors */
@media (max-width: 1024px) {
    .hero-sectors-fullwidth {
        display: flex;
        flex-direction: column;
        height: 100svh;
        top: 0;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    
    .hero-sectors-fullwidth .sector-card {
        height: calc(100svh / 3);
        flex: 1 1 auto;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .hero-sectors-fullwidth {
        display: flex;
        flex-direction: column;
        height: 100svh;
        top: 0;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    
    .hero-sectors-fullwidth .sector-card {
        height: calc(100svh / 3);
        flex: 1 1 auto;
        margin: 0;
        padding: 0;
    }
    
    .hero-sectors-fullwidth .sector-content {
        padding: 1.5rem;
    }
    
    .hero-sectors-fullwidth .sector-details {
        padding: 1.5rem;
    }
}

/* Gooey fade in animation for hero sectors */
@keyframes gooeyFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(3px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.98);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hero sector cards styling - DISABLED FOR FULLWIDTH LAYOUT */
/*.hero .sector-card {
    height: 400px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.hero .sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}*/

.sector-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

/* Hero sectors start hidden for entrance animation - DISABLED FOR FULLWIDTH */
/*.hero .sector-card {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.9) !important;
    position: relative;
    display: block !important;
    height: 480px !important;
    min-height: 480px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) !important;
}*/

/* Override any conflicting styles for hero sectors - DISABLED FOR FULLWIDTH */
/*.hero .sectors-container .sector-card {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.9) !important;
    display: block !important;
    height: 480px !important;
    min-height: 480px !important;
}*/

/* Animated state for sector cards - DISABLED FOR FULLWIDTH */
/*.hero .sector-card.animate-card {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}*/

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

.sector-card:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sector-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sector-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.7) contrast(1.1);
    display: block; /* remove baseline gap */
    vertical-align: top; /* avoid inline baseline whitespace */
}

.sector-card:hover .sector-bg {
    transform: none;
    filter: brightness(0.65) contrast(1.1);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: var(--transition-smooth);
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.14) 0%,
        rgba(0, 0, 0, 0.38) 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.sector-content {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    transition: var(--transition-smooth);
    max-width: calc(100% - 3rem);
    overflow: hidden;
    box-sizing: border-box;
}

.sector-name {
    font-family: 'Poppins', 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.sector-preview {
    color: #e5e7eb;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    font-family: 'Poppins', 'Inter', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Sector References */
.sector-references {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0.8rem 0 0.5rem 0;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
}

.reference-logo {
    height: 32px;
    width: auto;
    max-width: 80px;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.1);
    transition: var(--transition-fast);
    object-fit: contain;
}

.reference-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2);
}

.sector-card:hover .sector-references {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Sector Details (Hover State) */
.sector-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 4;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

.sector-card:hover .sector-details {
    opacity: 1;
    visibility: visible;
}

.sector-card:hover .sector-content {
    opacity: 0.2;
    transform: translateY(8px);
}

.sector-logo {
    margin-bottom: 1.5rem;
}

.detail-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

/* Larger logo for MR Grup İnşaat sector card */
.sector-card[data-sector="construction"] .sector-logo .detail-logo {
    height: 80px;
    width: auto;
    filter: brightness(1.2);
}

.detail-title {
    font-family: 'Poppins', 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    word-wrap: break-word;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.detail-description {
    color: var(--primary-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 320px;
    width: calc(100% - 2rem);
    font-weight: 400;
    text-align: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    white-space: normal;
    overflow: hidden;
    font-family: 'Poppins', 'Inter', sans-serif;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.detail-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.location-icon {
    width: 16px;
    height: 16px;
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.sector-details .action-buttons .btn,
.sector-card .action-buttons .btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
}

.sector-details .action-buttons .btn:hover,
.sector-card .action-buttons .btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.45);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    position: relative;
    overflow: visible;
    white-space: normal;
    font-family: 'Poppins', 'Inter', sans-serif;
    text-align: center;
    justify-content: center;
    min-width: 160px;
    width: 100%;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.btn::before {
    content: none;
}

.btn:hover::before {
    content: none;
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-instagram {
    background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: var(--text-light);
    border: none;
}

.btn-instagram:hover {
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);
}

.btn-website {
    background: rgba(30, 64, 175, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-website:hover {
    background: var(--accent-blue);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-details {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    color: var(--accent-blue);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.btn-details:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.16) 0%, rgba(30, 64, 175, 0.16) 100%);
    color: var(--text-light);
    border-color: rgba(147, 51, 234, 0.45);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 15;
    margin-top: 3rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: gooeyFadeIn 1.5s ease forwards;
    animation-delay: 4s;
}

.scroll-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    animation: bounce 2s infinite;
    transition: var(--transition-fast);
    cursor: pointer;
}

.scroll-arrow:hover {
    background: rgba(30, 64, 175, 0.2);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

.scroll-text {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



/* Responsive adjustments for action elements */
@media (max-width: 480px) {
    .hero-sectors-fullwidth {
        display: flex;
        flex-direction: column;
        height: 100svh;
        top: 0;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    
    .hero-sectors-fullwidth .sector-card {
        height: calc(100svh / 3);
        flex: 1 1 auto;
        margin: 0;
        padding: 0;
    }
    
    .hero-sectors-fullwidth .sector-content { padding: 1rem; }
    .hero-sectors-fullwidth .sector-details { padding: 1rem; }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-item.animate {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #e2e8f0 0%, #ffffff 100%);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--secondary-light);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

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

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

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    padding: 0.25rem 0;
}

.footer-column a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

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



/* Parallax Effect */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sectors-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }
    
    .sector-card {
        height: 450px;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    /* Tablet Dropdown Styles */
    .dropdown-menu {
        min-width: 420px;
        padding: 1.2rem;
    }
    
    .dropdown-sectors {
        gap: 0.8rem;
    }
    
    .mini-sector-card {
        height: 100px;
    }
    
    .mini-sector-content {
        padding: 0.8rem;
    }
    
    .mini-sector-name {
        font-size: 0.85rem;
    }
    
    .mini-sector-desc {
        font-size: 0.72rem;
    }
    
    .sector-references {
        gap: 0.7rem;
        margin: 0.7rem 0 0.5rem 0;
        padding: 0.6rem 0.8rem;
    }
    
    .reference-logo {
        height: 28px;
        max-width: 70px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.6rem 0;
    }
    
    .header-container {
        padding: 0 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-logo-section {
        flex-shrink: 0;
    }
    
    .header-nav-section {
        position: static;
        width: 0;
        height: 0;
        padding: 0;
        margin: 0;
    }
    
    .header-actions {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .header-ai-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .header-ai-btn span {
        display: none;
    }
    
    .header-ai-btn .btn-icon { width: 16px; height: 16px; }
    /* Reduce logo height on mobile to avoid oversized header */
    .main-logo { height: 84px; }
    
    /* AI Bubble responsive positioning */
    .ai-chat-bubble {
        top: 70px;
        right: 1rem;
        width: calc(100vw - 2rem);
        max-width: 380px;
        height: 450px;
    }
    
    .ai-chat-bubble::before {
        right: 1.5rem;
    }
    
    .nav-container-oval {
        padding: 0;
        width: 0;
        max-width: none;
        margin: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        z-index: 999;
        border-radius: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(42, 42, 42, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.05);
        margin: 1rem 0 0 0;
        min-width: unset;
        width: 100%;
        max-width: 300px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        padding: 0;
        z-index: 999;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        max-height: 400px;
        padding: 1rem;
    }
    
    .dropdown-sectors {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .mini-sector-card {
        height: 80px;
        border-radius: 8px;
    }
    
    .mini-sector-content {
        padding: 0.7rem;
    }
    
    .mini-sector-name {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .mini-sector-desc {
        font-size: 0.7rem;
    }
    
    .nav-dropdown .nav-link::after {
        left: 50%;
        bottom: -6px;
        transform: translateX(-50%);
        border-top-width: 3px;
        border-left-width: 3px;
        border-right-width: 3px;
    }
    
    .nav-dropdown:hover .nav-link::after {
        transform: translateX(-50%); /* Rotate kaldırıldı - mobilde de ok dönmez */
    }
    
    .hero-content {
        margin-bottom: 6rem; /* Less space on mobile */
    }
    

    
    .sectors-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .sector-card {
        height: 400px;
    }
    
    .sector-details {
        padding: 1.8rem 0.8rem;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .detail-description {
        font-size: 0.85rem;
        max-width: 280px;
        width: calc(100% - 1.5rem);
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: normal;
        overflow: hidden;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        gap: 0.6rem;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
        padding: 0.65rem 0.8rem;
        font-size: 0.75rem;
        min-width: 140px;
        gap: 0.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.15rem 0 0 0;
        padding-bottom: 3px;
        clip-path: polygon(
            0 0, 
            100% 0, 
            100% calc(100% - 2px), 
            52% calc(100% - 2px),
            51% calc(100% - 1px),
            50.1% 100%,
            49.9% 100%,
            49% calc(100% - 1px),
            48% calc(100% - 2px),
            0 calc(100% - 2px)
        );
    }
    
    .header-logo-section {
        padding: 0.1rem 0.5rem;
    }
    
    .header-ai-btn {
        right: 0.5rem;
        padding: 0.5rem;
        min-width: auto;
        border-radius: 0; /* Changed from 20px to 0 for straight corners */
    }
    
    /* AI Bubble small mobile positioning */
    .ai-chat-bubble {
        top: 60px;
        right: 0.5rem;
        width: calc(100vw - 1rem);
        max-width: 320px;
        height: 400px;
    }
    
    .ai-chat-bubble::before {
        right: 1rem;
    }
    
    .header-nav-section {
        padding: 0 0.5rem;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .nav-container-oval {
        padding: 0.4rem 1rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .main-logo {
        height: 100px;
    }
    
    .hero-content {
        padding: 0 1rem;
        margin-bottom: 4rem; /* Even less space on small mobile */
    }
    

    
    .sectors-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .sector-card {
        height: 350px;
    }
    
    .sector-details {
        padding: 1.5rem 0.6rem;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .detail-description {
        font-size: 0.8rem;
        max-width: 260px;
        width: calc(100% - 1rem);
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: normal;
        overflow: hidden;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .sector-content {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 1.5rem;
        max-width: calc(100% - 1.6rem);
    }
    
    .sector-name {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        line-height: 1.1;
        margin-bottom: 0.3rem;
    }
    
    .sector-preview {
        font-size: clamp(0.7rem, 1.2vw, 0.8rem);
        line-height: 1.2;
    }
    
    .sector-references {
        gap: 0.5rem;
        margin: 0.5rem 0 0.3rem 0;
        padding: 0.4rem 0.5rem;
    }
    
    .reference-logo {
        height: 22px;
        max-width: 55px;
    }
}

/* High-end animations and effects */
.luxury-gradient {
    background: var(--gradient-blue);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* Section smooth transitions */
.section-snap {
    /* scroll-snap removed for fluid scrolling */
}

/* Gooey Text Animation Styles */
.gooey-text-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.gooey-text-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Disable gooey filter for cleaner text */
    /* filter: url(#gooey-threshold); */
    position: relative;
    
    /* Improve overall container rendering */
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gooey-text-span {
    position: absolute;
    display: inline-block;
    user-select: none;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(59, 130, 246, 0.1);
    transition: filter 0.1s ease, opacity 0.1s ease;
    
    /* Enhanced font rendering for smooth edges */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    text-rendering: optimizeLegibility;
    
    /* Better sub-pixel rendering */
    transform: translateZ(0);
    will-change: filter, opacity, transform;
    
    /* Optimized letter spacing for modern font */
    letter-spacing: -0.01em;
    
    /* Ensure crisp rendering */
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Integration with existing hero styles */
.gooey-text-main {
    margin-bottom: -0.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

/* Show gooey text after loading */
.gooey-text-main.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero.with-beams .gooey-text-span {
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 35px rgba(59, 130, 246, 0.1);
}

/* Clean backdrop effect for modern font */
.gooey-text-span::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.12;
    z-index: -1;
    
    /* Smooth rendering for pseudo element */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
}

/* Responsive adjustments for clean modern font */
@media (max-width: 768px) {
    .gooey-text-span {
        font-size: clamp(1.5rem, 6vw, 2.8rem);
        font-weight: 600;
        
        text-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.4),
            0 0 15px rgba(30, 64, 175, 0.2);
    }
    
    .gooey-text-wrapper {
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .gooey-text-span {
        font-size: clamp(1.2rem, 7vw, 2.2rem);
        font-weight: 600;
        letter-spacing: 0;
        
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.4),
            0 0 12px rgba(30, 64, 175, 0.2);
    }
    
    .gooey-text-wrapper {
        min-height: 45px;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

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

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

/* =========================================
   PROJECTS SECTION - MR GRUP PREMIUM
   ========================================= */

/* Projects Section */
.projects-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Projects Controls */
.projects-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.02em;
    text-transform: none;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.filter-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--accent-blue);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 
        0 8px 25px rgba(30, 64, 175, 0.4),
        0 4px 15px rgba(30, 64, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    font-weight: 700;
}

.filter-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(30, 64, 175, 0.5),
        0 6px 20px rgba(30, 64, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* View Mode Toggle */
.view-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 0.3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.view-mode-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
}

.view-mode-btn:hover {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.view-mode-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.view-mode-btn svg {
    width: 16px;
    height: 16px;
}

/* Search Container */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 280px;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 0.9rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.search-input::placeholder {
    color: var(--text-gray);
    font-weight: 400;
}

.search-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 4px rgba(30, 64, 175, 0.1),
        0 8px 25px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    width: 18px;
    height: 18px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-input:focus + .search-icon {
    color: var(--accent-blue);
    transform: scale(1.1);
}

/* Company Filter */
.company-filter {
    position: relative;
    min-width: 200px;
}

.company-select {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 0.9rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1.2rem center;
    background-repeat: no-repeat;
    background-size: 1.2rem;
    padding-right: 3.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.company-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 4px rgba(30, 64, 175, 0.1),
        0 8px 25px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.company-select:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.company-select option {
    background: white;
    color: var(--text-dark);
    padding: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Projects Grid - Grid View */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Projects List - List View */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.projects-list .project-card {
    display: flex;
    height: auto;
    min-height: 200px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.projects-list .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.projects-list .project-image {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    position: relative;
}

.projects-list .project-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.projects-list .project-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.projects-list .project-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.projects-list .company-logo {
    position: static;
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

/* Project Card - Base Styles */
.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    height: 400px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: projectFadeIn 0.8s ease forwards;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

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

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Project Image */
.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 1rem;
}

.project-placeholder p {
    margin: 0.5rem 0 0 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8) contrast(1.1);
}

.project-card:hover .project-img {
    transform: scale(1.1);
    filter: brightness(0.6) contrast(1.2);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Company Logo Badge */
.company-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 3;
}

.company-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0.8);
}

.project-card:hover .company-logo {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Project Info */
.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-category {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.project-images-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.project-images-count svg {
    width: 16px;
    height: 16px;
}

.project-view-btn {
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 15px;
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-view-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
}

/* Projects Table - Table View */
.projects-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.projects-table table {
    width: 100%;
    border-collapse: collapse;
}

.projects-table th {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.projects-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.projects-table tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.projects-table .project-image-cell {
    width: 80px;
    padding: 0.8rem 1.5rem;
}

.projects-table .project-image-cell img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.projects-table .project-actions {
    display: flex;
    gap: 0.5rem;
}

.projects-table .table-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.projects-table .table-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
}

/* Load More Button */
.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 2;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(30, 64, 175, 0.1);
    border: 2px solid var(--accent-blue);
    border-radius: 30px;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    background: var(--accent-blue);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.load-more-icon {
    transition: var(--transition-fast);
}

.load-more-btn:hover .load-more-icon {
    transform: translateY(2px);
}

.load-more-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.load-more-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.loading-spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    border-top: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading and States */
.projects-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(96, 165, 250, 0.2);
    border-top: 3px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-gray);
}

.no-results-icon {
    width: 64px;
    height: 64px;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.no-results p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.project-modal * {
    cursor: auto;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.project-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 4rem);
    overflow-y: auto;
}

/* Modal Content Styles */
.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.modal-category {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.modal-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-controls {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.6rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .search-container,
    .company-filter {
        min-width: 250px;
    }
    
    .view-mode-toggle {
        align-self: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .project-card {
        height: 380px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .projects-list .project-image {
        width: 240px;
        height: 180px;
    }
    
    .projects-table {
        font-size: 0.85rem;
    }
    
    .projects-table th,
    .projects-table td {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 0;
    }
    
    .projects-controls {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .load-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .load-more-container {
        padding: 2rem 1rem 1rem;
    }
    
    .filter-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .search-container,
    .company-filter {
        min-width: 200px;
        width: 100%;
        max-width: 300px;
    }
    
    .view-mode-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .view-mode-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .project-card {
        height: 360px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1.2rem;
        height: 180px;
    }
    
    .project-title {
        font-size: 1.1rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .projects-list .project-card {
        flex-direction: column;
        height: auto;
    }
    
    .projects-list .project-image {
        width: 100%;
        height: 200px;
    }
    
    .projects-table {
        font-size: 0.8rem;
        overflow-x: auto;
    }
    
    .projects-table th,
    .projects-table td {
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
    }
    
    .modal-content {
        width: 95vw;
        max-width: 95vw;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        flex: 1;
        min-width: 100px;
    }
    
    .view-mode-toggle {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .view-mode-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        flex: 1;
        min-width: 80px;
    }
    
    .view-mode-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .load-more-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 160px;
        gap: 0.5rem;
    }
    
    .load-more-container {
        padding: 1.5rem 0.5rem 0.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .project-card {
        height: 340px;
        margin: 0 0.5rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-info {
        padding: 1rem;
        height: 180px;
    }
    
    .projects-list .project-card {
        margin: 0 0.5rem;
    }
    
    .projects-list .project-image {
        height: 160px;
    }
    
    .projects-table {
        font-size: 0.75rem;
    }
    
    .projects-table th,
    .projects-table td {
        padding: 0.5rem 0.6rem;
    }
    
    .company-logo {
        width: 35px;
        height: 35px;
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .company-logo img {
        width: 22px;
        height: 22px;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* =========================================
   PROFESSIONAL SLIDER HERO - MR GRUP
   ========================================= */

/* Slider Hero Section */
.slider-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height, 0px));
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    margin-bottom: 0 !important; /* Prevent overlap with next section */
    
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Individual Slides - Fade Animation Only */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.active .slide-image img {
    filter: brightness(0.95) contrast(1.08) saturate(1.1);
}

/* Slide Image */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95) contrast(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.2) 80%),
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 30%,
            rgba(0, 0, 0, 0.55) 100%
        );
    z-index: 1;
    pointer-events: none;
    backdrop-filter: brightness(0.92);
}

/* Static Hero Content - Always Visible */
.hero-static-content {
    position: absolute;
    top: 50%;
    left: 6rem;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 10;
    max-width: 600px;
    width: auto;
    padding: 2rem;
}

.hero-text {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.hero-main-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-text .hero-main-title[aria-hidden="true"] {
    display: none;
}

/* Morphing text support */
.hero-main-title.morphing-text-enabled {
    position: relative;
    min-height: 1.4em; /* reserve space */
    display: block;
    /* Disable threshold filter when morph is off */
    /* filter: url(#threshold); */
    margin-bottom: 2.5rem; /* add spacing from actions */
}

.hero-main-title.morphing-text-enabled .morph-text {
    position: absolute;
    left: 0;
    right: 0;
    top: -0.05em; /* lift text slightly inside the container */
    width: 100%;
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
    font-family: inherit;
    text-shadow: inherit;
    pointer-events: none;
}

/* Improve perceived sharpness on WebKit/Blink */
.hero-main-title.morphing-text-enabled,
.hero-main-title.morphing-text-enabled .morph-text {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

/* Temporary appear-then-disappear overlay text above morphing text */
.hero-flash-text {
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 1.5rem;
    /* Match hero title styles */
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-text .hero-main-title.title-placeholder { display: none; }

.hero-flash-text.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-flash-text.hide {
    opacity: 0;
    transform: translateY(-10px);
}

/* No explicit media query heights needed since 1.2em scales responsively */

.hero-main-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

/* Hero Main Actions */
.hero-main-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    min-width: 170px;
    justify-content: center;
    text-transform: none;
    line-height: 1.2;
}

/* Normalize icon size inside buttons to avoid visual height/width differences */
.btn-primary svg, .btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Ensure AI button also uses squared corners if used standalone */
.ai-btn {
    border-radius: 0;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 
        0 4px 15px rgba(30, 64, 175, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(30, 64, 175, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--royal-blue) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(255, 255, 255, 0.1) inset;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(255, 255, 255, 0.2) inset;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(255, 255, 255, 0.1) inset;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 3px 12px rgba(255, 255, 255, 0.2) inset;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

/* Scroll Down Indicator removed */

.indicator {
    position: relative;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scaleY(1.2);
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(59, 130, 246, 0.8));
    border-radius: 2px;
    width: 0;
    /* Transition controlled by JavaScript for precise timing */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active .indicator-progress {
    width: 0;
    /* Animation will be controlled by JavaScript */
}

@keyframes slideProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Sectors Hero Section - Updated */
.sectors-hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;

    margin: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    
}

/* Responsive Design for Slider */
@media (max-width: 1024px) {
    .hero-static-content {
        left: 4rem;
        padding: 1.5rem;
        max-width: 550px;
    }
    
    .hero-main-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-main-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .hero-main-actions {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
    }
    
    .slider-nav {
        padding: 0 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .indicator {
        width: 50px;
        height: 3px;
    }
}

@media (max-width: 768px) {
    .hero-static-content {
        left: 3rem;
        padding: 1rem;
        max-width: 500px;
    }
    
    .hero-main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 1rem;
    }
    
    .hero-main-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 2rem;
    }
    
    .hero-main-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
        margin-top: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        min-width: 200px;
        width: 100%;
        max-width: 250px;
    }
    
    .slider-nav {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-indicators {
        bottom: 1.5rem;
        gap: 0.8rem;
    }
    
    .indicator {
        width: 40px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .hero-static-content {
        left: 2rem;
        padding: 0.8rem;
        max-width: 400px;
    }
    
    .hero-main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-main-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-main-actions {
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        min-width: 180px;
    }
    
    .slider-nav {
        padding: 0 0.5rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-indicators {
        bottom: 1rem;
        gap: 0.6rem;
    }
    
    .indicator {
        width: 30px;
        height: 2px;
    }
}

/* Smooth animations for slide transitions */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide-text,
    .slide-image img,
    .slider-btn,
    .indicator-progress {
        transition: none;
        animation: none;
    }
}

/* Force cache refresh */

/* =========================================
   CURSOR GLOW EFFECT - MR GRUP THEME
   ========================================= */

/* Keep default cursor visible */
* {
    cursor: auto;
}

/* Cursor Glow Effect */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 25000;
    transition: all 0.15s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.1),
        0 2px 8px rgba(59, 130, 246, 0.2);
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
    backdrop-filter: blur(2px);
}

/* Extended Glow Effect */
.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all 0.3s ease;
}

/* Hover State - Enhanced Glow */
.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.3);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 3px 12px rgba(59, 130, 246, 0.25);
    opacity: 1;
}

.custom-cursor.hover::before {
    opacity: 1;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

/* Click State - Ripple Effect */
.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.7);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(59, 130, 246, 0.3),
        0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Text Selection State */
.custom-cursor.text {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    box-shadow: 
        0 0 12px rgba(59, 130, 246, 0.4),
        0 0 24px rgba(59, 130, 246, 0.2);
    transform: translate(-50%, -50%) scale(0.9);
}

/* Navigation Links State */
.custom-cursor.nav-link {
    transform: translate(-50%, -50%) scale(1.2);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.7) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    box-shadow: 
        0 0 18px rgba(59, 130, 246, 0.5),
        0 0 35px rgba(59, 130, 246, 0.2),
        0 2px 10px rgba(59, 130, 246, 0.3);
}

/* Button State */
.custom-cursor.button {
    transform: translate(-50%, -50%) scale(1.1);
    background: radial-gradient(circle, rgba(34, 197, 94, 0.6) 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    box-shadow: 
        0 0 16px rgba(34, 197, 94, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2),
        0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Sector Card State */
.custom-cursor.sector {
    transform: translate(-50%, -50%) scale(1.4);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    box-shadow: 
        0 0 25px rgba(59, 130, 246, 0.4),
        0 0 50px rgba(59, 130, 246, 0.2),
        0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Loading/Processing State */
.custom-cursor.loading {
    animation: cursorPulse 1.5s ease-in-out infinite;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3);
}

@keyframes cursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
        box-shadow: 
            0 0 15px rgba(59, 130, 246, 0.3),
            0 0 30px rgba(59, 130, 246, 0.1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
        box-shadow: 
            0 0 25px rgba(59, 130, 246, 0.5),
            0 0 50px rgba(59, 130, 246, 0.3);
    }
}

/* Hide cursor when leaving page */
.custom-cursor.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Keep normal cursors for elements */
a, button, .clickable {
    cursor: pointer;
}

input, textarea, [contenteditable] {
    cursor: text;
}

/* Responsive adjustments for glow effect */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
    
    .custom-cursor.hover {
        transform: translate(-50%, -50%) scale(1.2);
    }
    
    .custom-cursor.sector {
        transform: translate(-50%, -50%) scale(1.3);
    }
    
    .custom-cursor.nav-link {
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .custom-cursor.button {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@media (max-width: 480px) {
    .custom-cursor {
        width: 18px;
        height: 18px;
        opacity: 0.5;
    }
    
    .custom-cursor.hover {
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .custom-cursor.sector {
        transform: translate(-50%, -50%) scale(1.2);
    }
    
    .custom-cursor.nav-link {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Special glow for logo */
.main-logo {
    cursor: pointer;
}

.custom-cursor.logo {
    transform: translate(-50%, -50%) scale(1.5);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 3px 12px rgba(255, 215, 0, 0.2);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.4),
            0 0 40px rgba(59, 130, 246, 0.3),
            0 3px 12px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(59, 130, 246, 0.4),
            0 4px 15px rgba(255, 215, 0, 0.3);
    }
}

/* AI Chat Bubble Styles - Apple Style */
.ai-chat-bubble {
    position: fixed;
    top: 80px;
    right: 2rem;
    width: 420px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 0 0 0.5px rgba(255, 255, 255, 0.5) inset;
    z-index: 15000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    touch-action: auto;
}

.ai-chat-bubble.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Bubble arrow */
.ai-chat-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 2rem;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ai-chat-bubble * {
    cursor: auto;
}

.ai-bubble-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(248, 248, 248, 0.8);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
}

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

.ai-assistant-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.ai-header-info h3 {
    font-size: 1rem;
    font-weight: 300;
    color: #1d1d1f;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ai-assistant-status {
    font-size: 0.75rem;
    color: #34d058;
    margin: 0;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.ai-header-right {
    display: flex;
    gap: 0.5rem;
}

.ai-bubble-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ai-bubble-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
    transform: scale(1.05);
}

.ai-bubble-content {
    flex: 1;
    padding: 1.2rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.ai-bubble-content::-webkit-scrollbar {
    width: 6px;
}

.ai-bubble-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.ai-bubble-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.ai-bubble-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Apple-style welcome message */
.ai-welcome-message {
    padding: 1rem;
    background: rgba(248, 248, 248, 0.8);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.ai-welcome-message h4 {
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.025em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ai-welcome-message p {
    color: #6e6e73;
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0 0 0.75rem 0;
    line-height: 1.7;
    letter-spacing: 0.015em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ai-welcome-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ai-welcome-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.ai-welcome-content p {
    color: var(--text-gray);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.ai-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-question-btn {
    background: rgba(0, 122, 255, 0.08);
    border: 0.5px solid rgba(0, 122, 255, 0.15);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    color: #007AFF;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.quick-question-btn:hover {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
    transform: scale(1.02);
}

/* Bubble input container */
.ai-bubble-input {
    flex-shrink: 0;
    padding: 0.75rem 1rem 1rem 1rem;
    background: rgba(248, 248, 248, 0.8);
    border-top: 0.5px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
}

.ai-bubble-input .ai-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ai-bubble-input .ai-message-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 0.7rem 1.1rem;
    color: #1d1d1f;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.01em;
    resize: none;
    min-height: 42px;
    max-height: 100px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Global outline removal for all AI inputs */
.ai-chat-bubble input,
.ai-chat-bubble textarea,
.ai-chat-bubble input:focus,
.ai-chat-bubble textarea:focus,
.ai-bubble-input input,
.ai-bubble-input textarea,
.ai-bubble-input input:focus,
.ai-bubble-input textarea:focus,
textarea#ai-message-input,
textarea#ai-message-input:focus,
#ai-message-input,
#ai-message-input:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}

.ai-bubble-input .ai-message-input:focus {
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.95);
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.ai-bubble-input .ai-message-input::placeholder {
    color: rgba(60, 60, 67, 0.5);
    font-weight: 300;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ai-bubble-input .ai-send-btn {
    background: #007AFF;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-bubble-input .ai-send-btn:hover:not(:disabled) {
    background: #0056CC;
    transform: scale(1.05);
}

.ai-bubble-input .ai-send-btn:disabled {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
}

.ai-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-message.user {
    justify-content: flex-end;
}

.ai-message.user .ai-message-content {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.ai-message.assistant .ai-message-content {
    background: rgba(248, 248, 248, 0.9);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    border-radius: 18px 18px 18px 4px;
}

.ai-message-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.ai-message.user .ai-message-avatar {
    background: linear-gradient(135deg, #64748b, #475569);
}

.ai-message.assistant .ai-message-avatar {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.ai-message-content {
    max-width: 75%;
    padding: 0.9rem 1.3rem;
    line-height: 1.7;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.ai-message-time {
    font-size: 0.75rem;
    color: rgba(60, 60, 67, 0.6);
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ai-typing-indicator {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-typing-content {
    background: rgba(248, 248, 248, 0.9);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px 18px 18px 4px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-typing-dots {
    display: flex;
    gap: 0.3rem;
}

.ai-typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-gray);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.ai-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.ai-input-container {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-input-wrapper {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
    margin-bottom: 0.8rem;
}

.ai-message-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
    resize: none;
    min-height: 20px;
    max-height: 120px;
    transition: all 0.2s ease;
}

.ai-message-input:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.ai-message-input::placeholder {
    color: var(--text-gray);
}

.ai-send-btn {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ai-send-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.ai-send-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.5;
}

.ai-input-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.8rem;
}

.ai-api-status {
    color: var(--text-gray);
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.75rem;
}

.ai-api-status.connected {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.ai-api-status.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}



/* Responsive AI Modal */
@media (max-width: 768px) {
    .ai-modal-content {
        width: 95vw;
        height: 85vh;
    }
    
    .ai-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .ai-header-info h3 {
        font-size: 1rem;
        font-weight: 300;
    }
    
    .ai-assistant-status {
        font-size: 0.7rem;
        font-weight: 400;
    }
    
    .ai-chat-container {
        padding: 1rem 1.5rem;
    }
    
    .ai-welcome-message {
        padding: 1rem;
    }
    
    .ai-quick-questions {
        flex-direction: column;
    }
    
    .ai-input-container {
        padding: 1rem 1.5rem;
    }
}

/* Insaat page: keep header always visible with translucent blur */
.insaat-page .header {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Insaat page: offset content from fixed header so it doesn't sit behind it */
body.insaat-page {
    padding-top: 110px;
    scroll-padding-top: 110px; /* ensure anchor links account for header height */
}

/* Neutralize hide-on-scroll only for insaat page */
.insaat-page .header.header-hidden {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* Insaat page: slightly thinner header without layout changes */
.insaat-page .header {
    padding: 0.5rem 0; /* reduce vertical padding a bit */
}

.insaat-page .main-logo {
    height: 116px; /* slightly smaller to reduce overall header height */
}

/* Insaat page: make header a bit thinner */
.insaat-page .header {
    padding: 0.35rem 0;
}

.insaat-page .main-logo {
    height: 108px;
}

/* Insaat page: even thinner header step */
.insaat-page .header {
    padding: 0.28rem 0;
}

.insaat-page .main-logo {
    height: 96px;
}

/* Mobile-specific header/logo sizing for insaat page */
@media (max-width: 768px) {
    body.insaat-page { padding-top: 86px; scroll-padding-top: 86px; }
    .insaat-page .main-logo { height: 72px; }
}
@media (max-width: 480px) {
    body.insaat-page { padding-top: 80px; scroll-padding-top: 80px; }
    .insaat-page .main-logo { height: 64px; }
}

/* Insaat page: stabilize hero text and actions to avoid shifting between slides */
.insaat-page .hero-static-content {
    max-width: 640px; /* keep a stable text width */
    left: 8rem;
    right: auto;
    top: auto;
    bottom: 13.25rem; /* leave room for indicators */
    transform: none;
    text-align: left;
}

.insaat-page .hero-main-title {
    /* Smaller, balanced title size for insaat page */
    font-size: clamp(1.4rem, 3.4vw, 2.4rem);
    /* Reserve space for up to 2 lines to keep vertical center stable */
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.insaat-page .hero-main-subtitle {
    /* Reserve space for up to 3 lines */
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 1rem; /* tighten spacing when text is short */
}

.insaat-page .hero-main-actions { 
    margin-top: 0.75rem; 
    justify-content: flex-start; 
    align-items: flex-start; 
}

/* Ensure indicators don't overlap with bottom-left hero content */
.insaat-page .slider-indicators { bottom: 1.25rem; }

/* Mobilde slider metnini alta/sola yapıştırma — ortala */
@media (max-width: 768px) {
    .insaat-page .hero-static-content {
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        max-width: min(92vw, 28rem) !important;
        width: calc(100% - 2rem) !important;
        padding: 1rem 1.25rem !important;
        text-align: center;
    }

    .insaat-page .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .insaat-page .hero-main-actions {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .insaat-page .hero-main-actions .btn-primary {
        max-width: 100%;
    }
}

/* Smooth crossfade for dynamic text updates */
.insaat-page #hero-title,
.insaat-page #hero-subtitle {
    transition: opacity 300ms ease;
}

/* =========================================
   RESPONSIVE - COMPREHENSIVE FIXES
   ========================================= */

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all sections fill width */
section {
    width: 100%;
    max-width: 100%;
}

/* Fix slider-hero and sectors-hero to use dynamic viewport units */
.slider-hero {
    height: 100svh;
    height: 100dvh;
    height: 100vh;
}

.sectors-hero {
    height: 100svh;
    height: 100dvh;
    height: 100vh;
}

/* Modern slider fill */
.modern-slider {
    min-height: 100svh;
    min-height: 100dvh;
    min-height: 100vh;
    border-bottom: none;
}

/* ===== TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
    .modern-slider-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .turkey-map-container {
        height: 45vh;
        min-height: 300px;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .masonry-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {
    .modern-slider-container {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .turkey-map-container {
        height: 38vh;
        min-height: 250px;
    }

    .header-container {
        padding: 0 1rem;
    }

    .masonry-container {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .projects-section {
        padding: 50px 0;
    }

    .projects-section .container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .contact-section .container {
        padding: 0 1rem;
    }

    /* Company info cards */
    .company-info-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SMALL MOBILE (max 480px) ===== */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }

    .masonry-container {
        gap: 12px;
    }

    .masonry-title {
        font-size: 1rem;
    }

    .masonry-subtitle {
        font-size: 0.8rem;
    }

    .projects-section {
        padding: 36px 0;
    }

    /* Hero content on small screens (genel sayfalar) */
    .hero-static-content {
        left: 1.25rem !important;
        right: 1.25rem !important;
        max-width: calc(100% - 2.5rem) !important;
        bottom: 8rem !important;
    }

    /* index insaat: alta sabitleme yerine ortada tut */
    .insaat-page .hero-static-content {
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        max-width: min(92vw, 28rem) !important;
        width: calc(100% - 2rem) !important;
    }

    .hero-main-title {
        font-size: clamp(1.3rem, 7vw, 2rem) !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-main-subtitle {
        font-size: clamp(0.8rem, 3.5vw, 1rem) !important;
    }

    .hero-main-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ===== NAVIGATION MOBILE ===== */
@media (max-width: 900px) {
    .nav-container-oval {
        /* display: none; */
    }

    .nav-menu.open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        z-index: 9999;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
        gap: 0.25rem;
    }
}

/* ===== VIDEO SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    .promotional-video-section {
        padding: 40px 0;
    }

    .video-section-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .video-wrapper,
    .video-container {
        margin: 0 1rem;
        border-radius: 12px;
    }
}

/* ===== CONTACT SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 50px 0;
    }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }
}

/* ===== COMPARISON SECTION ===== */
@media (max-width: 768px) {
    .comparison-section {
        padding: 40px 0;
    }

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