/* X Twitter Icon - Font Awesome 6 Override */
.fa-brands.fa-x-twitter:before,
.fab.fa-x-twitter:before,
.fa-x-twitter:before,
i.fa-brands.fa-x-twitter:before,
i.fab.fa-x-twitter:before,
i.fa-x-twitter:before {
    content: "\e61b" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fa-x-twitter.force-svg:before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") !important;
    background-size: 1em 1em !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
}


        
        /* Base Typography - KP Law inspired */
        body {
            font-family: 'Open Sans', sans-serif;
            font-weight: 400;
            line-height: 1.6;
            color: var(--kodlegal-dark);
            background-color: var(--kodlegal-white);
        }
        
        /* Global Bootstrap Navbar Override */
        .navbar-expand-lg,
        .navbar-expand-lg .navbar-nav,
        .navbar-expand-lg .navbar-nav .nav-link {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Roboto', sans-serif;
            font-weight: 500;
            color: var(--kodlegal-dark);
            line-height: 1.3;
        }
        
        .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
            font-family: 'Roboto', sans-serif;
            font-weight: 300;
        }
        
        /* KodLegal Brand Identity */
        .kodlegal-brand {
            font-family: 'Roboto', sans-serif;
            font-weight: 700;
            font-size: 1.8rem;
            background: var(--kodlegal-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
        }
        
        .kodlegal-tagline {
            font-family: 'Open Sans', sans-serif;
            font-weight: 300;
            font-size: 0.85rem;
            color: var(--kodlegal-gray);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-top: -5px;
        }
        
        /* Header - Enhanced Modern Design */
        .header {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
            backdrop-filter: blur(15px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .top-contact-bar {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            font-size: 0.8rem;
            backdrop-filter: blur(10px);
            padding: 0.75rem 0;
        }

        .contact-info {
            color: var(--kodlegal-gray);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        
        /* Top contact bar ikonları için renkler */
        .top-contact-bar .fa-map-marker-alt {
            color: var(--error-color); /* Kırmızı - Adres */
        }
        
        .top-contact-bar .fa-phone {
            color: var(--success-color); /* Yeşil - Telefon */
        }
        
        .top-contact-bar .fa-envelope {
            color: var(--info-color); /* Mavi - E-posta */
        }
        
        .top-contact-bar .col-md-6:first-child .contact-info {
            justify-content: flex-start;
        }
        
        .top-contact-bar .col-md-6:last-child .contact-info {
            justify-content: flex-end;
            font-size: 0.75rem;
        }

        .contact-info a {
            color: var(--kodlegal-gray);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .contact-info a:hover,
        .contact-info a:active {
            color: var(--kodlegal-primary);
            transform: translateY(-1px);
        }

        .contact-info i {
            margin-right: 10px;
            width: 18px;
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .contact-info a:hover i,
        .contact-info a:active i {
            opacity: 1;
            color: var(--kodlegal-primary);
        }

        /* Enhanced Navbar with Modern Glassmorphism */
        .kodlegal-navbar {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.2rem 0;
            margin: 0;
            min-height: auto;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            gap: 3rem;
        }

        .navbar-brand-container {
            flex-shrink: 0;
            z-index: 10;
        }

        .brand-link {
            display: block;
            text-decoration: none;
            padding: 0;
            margin: 0;
            transition: all 0.3s ease;
        }

        .brand-link:hover,
        .brand-link:active {
            transform: scale(1.02);
        }

        .brand-logo {
            height: 75px;
            width: auto;
            object-fit: contain;
            display: block;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
            transition: all 0.3s ease;
        }

        .brand-logo:hover,
        .brand-logo:active {
            filter: drop-shadow(0 4px 12px rgba(46, 16, 101, 0.2));
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin: 0;
            padding: 0.6rem 1.5rem;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            justify-content: center;
        }

        .nav-menu:hover,
        .nav-menu:active {
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
            transform: translateY(-1px);
        }

        .nav-item {
            font-family: 'Roboto', sans-serif;
            font-weight: 500;
            font-size: 0.8rem;
            color: var(--kodlegal-dark);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            text-decoration: none;
            padding: 0.6rem 1rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border-radius: 25px;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
        }

        .nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border-radius: 25px;
            transition: width 0.3s ease;
            z-index: -1;
        }

        .nav-item:hover::before,
        .nav-item:active::before,
        .nav-item.active::before {
            width: 100%;
        }

        .nav-item:hover,
        .nav-item:active,
        .nav-item.active {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(46, 16, 101, 0.25);
        }

        .social-links {
            display: flex;
            gap: 0.8rem;
            flex-shrink: 0;
        }

        .social-link {
            color: var(--kodlegal-gray);
            font-size: 1.1rem;
            padding: 0.6rem;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border-radius: 50%;
            transition: width 0.3s ease;
            z-index: -1;
        }

        .social-link:hover::before,
        .social-link:active::before {
            width: 100%;
        }

        .social-link:hover,
        .social-link:active {
            color: white;
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 20px rgba(46, 16, 101, 0.3);
        }
        
        /* Navbar Social Links - Separate from Mobile Menu */
        .navbar-social-links {
            display: flex;
            gap: 0.8rem;
            flex-shrink: 0;
        }

        .navbar-social-link {
            color: var(--kodlegal-gray);
            font-size: 1.1rem;
            padding: 0.6rem;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .navbar-social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border-radius: 50%;
            transition: width 0.3s ease;
            z-index: -1;
        }

        .navbar-social-link:hover::before,
        .navbar-social-link:active::before {
            width: 100%;
        }

        .navbar-social-link:hover,
        .navbar-social-link:active {
            color: white;
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 20px rgba(46, 16, 101, 0.3);
        }
        
        /* Navbar sosyal medya hover shadow'ları - iletişim sayfasındaki ile aynı */
        .navbar-social-link:first-child:hover,
        .navbar-social-link:first-child:active {
            box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3); /* LinkedIn */
        }
        
        .navbar-social-link:nth-child(2):hover,
        .navbar-social-link:nth-child(2):active {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* X Twitter */
        }
        
        
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;
            padding: 0.8rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .mobile-menu-btn:hover,
        .mobile-menu-btn:active {
            background: rgba(255, 255, 255, 0.95);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .hamburger-line {
            width: 22px;
            height: 2px;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            margin: 2px 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border-radius: 2px;
        }
        

        
        /* Buttons - KP Law minimal style */
        .btn-primary {
            background: var(--kodlegal-primary);
            border: 2px solid var(--kodlegal-primary);
            color: white;
            font-weight: 500;
            padding: 0.75rem 2rem;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover,
        .btn-primary:active {
            background: transparent;
            color: var(--kodlegal-primary);
            border-color: var(--kodlegal-primary);
        }
        
        .btn-outline-primary {
            background: transparent;
            border: 2px solid var(--kodlegal-primary);
            color: var(--kodlegal-primary);
            font-weight: 500;
            padding: 0.75rem 2rem;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }
        
        .btn-outline-primary:hover,
        .btn-outline-primary:active {
            background: var(--kodlegal-primary);
            color: white;
            border-color: var(--kodlegal-primary);
        }
        
        /* Cards - KP Law clean style */
        .card {
            border: 1px solid #E2E8F0;
            border-radius: 8px;
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .card:hover,
        .card:active {
            border-color: var(--kodlegal-primary);
            box-shadow: 0 4px 15px rgba(46, 16, 101, 0.1);
            transform: translateY(-2px);
        }
        
        .card-header {
            background: var(--kodlegal-light);
            border-bottom: 1px solid #E2E8F0;
            font-weight: 600;
            color: var(--kodlegal-dark);
        }
        
        /* Service Icons */
        .service-icon {
            width: 60px;
            height: 60px;
            background: var(--kodlegal-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            transition: all 0.3s ease;
        }
        
        .service-icon i {
            font-size: 1.5rem;
            color: var(--kodlegal-primary);
            transition: all 0.3s ease;
        }
        
        .card:hover .service-icon,
        .card:active .service-icon {
            background: var(--kodlegal-primary);
        }
        
        .card:hover .service-icon i,
        .card:active .service-icon i {
            color: white;
        }
        
        /* Text Colors */
        .text-primary {
            color: var(--kodlegal-primary) !important;
        }
        
        .text-muted {
            color: var(--kodlegal-gray) !important;
        }
        
        /* Hero Section */
        .hero-section {
            background: var(--kodlegal-white);
            padding: 4rem 0;
            position: relative;
        }
        
        .hero-title {
            font-family: 'Roboto', sans-serif;
            font-weight: 300;
            font-size: 3.5rem;
            line-height: 1.2;
            color: var(--kodlegal-dark);
            margin-bottom: 1.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--kodlegal-gray);
            line-height: 1.6;
            margin-bottom: 2rem;
        }
        
        /* Footer - Modern Compact Horizontal */
        .footer {
            background: linear-gradient(135deg, var(--kodlegal-dark) 0%, #1a1a2e 50%, #16213e 100%);
            color: var(--kodlegal-light);
            padding: 0.5rem 0 0.2rem;
            margin-top: 1rem;
            position: relative;
            overflow: hidden;
            font-size: 0.97rem;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-dots)"/></svg>');
            opacity: 0.8;
        }

        .footer .container {
            position: relative;
            z-index: 2;
        }

        /* Footer başlıkları ve ayraçları kaldırıldı, daha kompakt */

        /* Footer linkleri yatay ve sade */
        .footer .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.95rem;
            margin-left: 0.7rem;
            margin-right: 0.7rem;
            transition: color 0.2s;
        }
        .footer .footer-links a:hover {
            color: var(--kodlegal-primary);
        }

        .footer-contact a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.2s;
            font-weight: 500;
        }
        .footer-contact a:hover {
            color: rgba(255, 255, 255, 0.9);
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.7);
            margin-right: 0.8rem;
            margin-bottom: 0.8rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        /* Footer sosyal medya ikonları için özel renkler */
        .footer .social-links a:first-child {
            color: var(--linkedin-color); /* LinkedIn */
        }
        
        .footer .social-links a:nth-child(2) {
            color: var(--twitter-color); /* X Twitter */
        }

        .social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border-radius: 12px;
            transition: width 0.3s ease;
            z-index: -1;
        }

        /* Footer sosyal medya hover efektleri */
        .footer .social-links a:first-child::before {
            background: linear-gradient(135deg, var(--linkedin-color), var(--linkedin-dark)); /* LinkedIn */
        }
        
        .footer .social-links a:nth-child(2)::before {
            background: linear-gradient(135deg, var(--twitter-color), var(--twitter-gray)); /* X Twitter */
        }

        /* Navbar sosyal medya hover efektleri - iletişim sayfasındaki ile aynı */
        .navbar-social-link:first-child::before {
            background: linear-gradient(135deg, var(--linkedin-color), var(--linkedin-dark)); /* LinkedIn */
        }
        
        .navbar-social-link:nth-child(2)::before {
            background: linear-gradient(135deg, var(--twitter-color), var(--twitter-gray)); /* X Twitter */
        }

        .social-links a:hover::before,
        .social-links a:active::before {
            width: 100%;
        }

        .social-links a:hover,
        .social-links a:active {
            color: var(--kodlegal-white);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(46, 16, 101, 0.4);
            border-color: var(--kodlegal-primary);
        }

        /* Enhanced Newsletter Form */
        /* Newsletter başlık ve açıklama kaldırıldı, form sadeleşti */


        .footer .newsletter-form {
            margin-bottom: 0;
        }
        .footer .newsletter-input {
            font-size: 1.05rem;
            border-radius: 8px;
            padding: 0.9rem 1.2rem;
            height: 44px;
            background: rgba(255,255,255,0.08);
            color: #fff;
            border: 1.5px solid rgba(255,255,255,0.18);
        }

        /* Daha geniş masaüstü inputu */
        @media (min-width: 992px) {
            .footer .newsletter-input {
                max-width: 60% !important;
                width: auto !important;
            }
        }
        .footer .newsletter-btn {
            font-size: 1.05rem;
            border-radius: 8px;
            white-space: nowrap;
            padding: 0 1.5rem;
            min-width: 120px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border: none;
            color: #fff;
            box-shadow: 0 2px 8px rgba(46,16,101,0.10);
            transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        }
        .footer .newsletter-btn:hover {
            background: linear-gradient(135deg, var(--kodlegal-secondary), var(--kodlegal-primary)) !important;
            color: #fff !important;
            box-shadow: 0 4px 16px rgba(46,16,101,0.18);
        }
        .footer-social-row {
            gap: 0.5rem !important;
            margin-bottom: 0.1rem;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
        }
        .footer-social-icon {
            width: 36px;
            height: 36px;
            font-size: 1.1rem;
            background: rgba(255,255,255,0.10);
            border-radius: 50%;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        }
        .footer-social-icon:hover {
            background: var(--kodlegal-primary);
            color: #fff;
            box-shadow: 0 2px 10px rgba(46,16,101,0.15);
        }
        .footer .newsletter-disclaimer {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
        }
        .newsletter-disclaimer i {
            color: var(--kodlegal-accent);
        }
        .newsletter-privacy-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
        }
        .newsletter-privacy-link:hover {
            color: rgba(255, 255, 255, 0.9);
        }
        /* Sosyal medya ikonları için modern yatay stil */
        .footer-social-row {
            gap: 0.5rem !important;
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            margin-top: 0;
            margin-bottom: 0;
        }
        .footer-social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            color: #fff;
            font-size: 1.3rem;
            transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        }
        .footer-social-icon i {
            color: #fff; /* ensure icon glyph is visible */
            font-size: 1.05rem;
            line-height: 1;
        }
        .footer-social-icon:hover {
            background: var(--kodlegal-primary);
            color: #fff;
            box-shadow: 0 2px 10px rgba(46,16,101,0.15);
        }
        @media (max-width: 991px) {
            .footer .newsletter-form {
                flex-direction: column !important;
                align-items: stretch !important;
            }
            .footer .newsletter-btn {
                width: 100%;
                margin-top: 0.5rem;
            }
            .footer .newsletter-disclaimer {
                text-align: left !important;
            }
            .footer-social-row {
                flex-wrap: wrap;
                gap: 0.7rem !important;
            }
        }

        .newsletter-form .form-control {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: var(--kodlegal-light);
            font-size: 0.9rem;
            border-radius: 12px;
            padding: 1rem 1.5rem;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .newsletter-form .form-control:focus {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--kodlegal-primary);
            color: var(--kodlegal-light);
            box-shadow: 0 0 0 4px rgba(46, 16, 101, 0.2);
            transform: translateY(-2px);
        }

        .newsletter-form .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
            font-weight: 400;
        }

        .newsletter-form .btn {
            font-size: 0.9rem;
            padding: 1rem 2rem;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border: none;
            font-weight: 600;
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 6px 20px rgba(46, 16, 101, 0.3);
            position: relative;
            overflow: hidden;
        }

        .newsletter-form .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .newsletter-form .btn:hover::before,
        .newsletter-form .btn:active::before {
            left: 100%;
        }

        .newsletter-form .btn:hover,
        .newsletter-form .btn:active {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 12px 35px rgba(46, 16, 101, 0.4);
            background: linear-gradient(135deg, var(--kodlegal-secondary), var(--kodlegal-primary));
        }

        /* Enhanced Footer Bottom */
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1rem;
            margin-top: 1.2rem;
            backdrop-filter: blur(10px);
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            margin: 0;
            font-weight: 400;
        }

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            margin-left: 1.5rem;
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
        }

        .footer-bottom a::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--kodlegal-primary);
            transition: width 0.3s ease;
        }

        .footer-bottom a:hover::before,
        .footer-bottom a:active::before {
            width: 100%;
        }

        .footer-bottom a:hover,
        .footer-bottom a:active {
            color: white;
            transform: translateY(-1px);
        }
        
        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 18px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(46, 16, 101, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.1);
        }
        
        .scroll-to-top:hover,
        .scroll-to-top:active {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 30px rgba(46, 16, 101, 0.5);
            background: linear-gradient(135deg, var(--kodlegal-secondary), var(--kodlegal-accent));
        }
        
        .scroll-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .scroll-to-top i {
            transition: transform 0.3s ease;
        }
        
        .scroll-to-top:hover i,
        .scroll-to-top:active i {
            transform: translateY(-2px);
        }
        
        /* Hide any existing dynamic back-to-top buttons */
        .back-to-top-btn {
            display: none !important;
        }
        
        /* Content Width Optimization - KPMG Style Narrow Layout */
        .container, .container-fluid {
            max-width: 100%;
            padding-left: 15px;
            padding-right: 15px;
        }
        
        /* Desktop: Very narrow content like KPMG style */
        @media (min-width: 1200px) {
            .container, .container-fluid {
                max-width: 900px;
                margin-left: auto;
                margin-right: auto;
                padding-left: 40px;
                padding-right: 40px;
            }
        }
        
        @media (min-width: 1400px) {
            .container, .container-fluid {
                max-width: 1000px;
                padding-left: 60px;
                padding-right: 60px;
            }
        }
        
        @media (min-width: 1600px) {
            .container, .container-fluid {
                max-width: 1100px;
                padding-left: 80px;
                padding-right: 80px;
            }
        }
        
        /* Large screens: Maximum narrowness for premium look */
        @media (max-width: 991px) {
            .footer .container .row > div {
                align-items: flex-start !important;
                text-align: left !important;
            }
            .footer .newsletter-form {
                flex-direction: column !important;
                align-items: stretch !important;
            }
            .footer .newsletter-btn {
                width: 100%;
                margin-top: 0.5rem;
            }
            .footer .newsletter-disclaimer {
                text-align: left !important;
            }
        }
        /* Mobile: Full width with normal padding */
        @media (max-width: 767px) {
            .container, .container-fluid {
                max-width: 100%;
                padding-left: 20px;
                padding-right: 20px;
            }
        }
        
        /* Additional spacing for premium look */
        @media (min-width: 1200px) {
            body {
                background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
            }
            
            main {
                background: var(--kodlegal-white);
                box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
                margin: 0 auto;
                border-radius: 0;
            }
        }
        
        /* Global font size adjustments for better proportions */
        @media (min-width: 1200px) {
            body {
                font-size: 0.95rem;
            }
            
            h1 { font-size: 2.2rem; }
            h2 { font-size: 1.8rem; }
            h3 { font-size: 1.5rem; }
            h4 { font-size: 1.3rem; }
            h5 { font-size: 1.1rem; }
            h6 { font-size: 1rem; }
            
            .hero-title {
                font-size: 3rem !important;
            }
            
            .hero-subtitle {
                font-size: 1.1rem !important;
            }
        }
        
        /* Mobile Responsive - Enhanced */
        @media (max-width: 991px) {
            .kodlegal-navbar {
                justify-content: space-between;
                max-width: none;
                gap: 0;
            }
            
            .navbar-social-links {
                display: flex;
                gap: 0.6rem;
            }
            
            .navbar-social-link {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .brand-logo {
                height: 65px !important;
            }
            
            .mobile-menu-btn {
                display: flex;
            }
            
            .nav-menu {
                display: none;
                position: absolute;
                top: calc(100% + 10px);
                left: 50%;
                transform: translateX(-50%);
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(15px);
                box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                padding: 2rem;
                z-index: 1000;
                border-radius: 20px;
                border: 1px solid rgba(255, 255, 255, 0.3);
                min-width: 300px;
                animation: slideDown 0.3s ease-out;
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateX(-50%) translateY(-20px);
                }
                to {
                    opacity: 1;
                    transform: translateX(-50%) translateY(0);
                }
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .nav-item {
                padding: 1rem 1.5rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.3);
                margin: 0;
                text-align: center;
                border-radius: 12px;
                margin-bottom: 0.5rem;
            }
            
            .nav-item:last-of-type {
                border-bottom: none;
            }
            
            .header {
                position: sticky;
                top: 0;
                z-index: 1000;
            }

            .kodlegal-navbar {
                padding: 0.8rem 0;
            }
        }
        
        @media (max-width: 768px) {
            .brand-logo {
                height: 58px !important;
            }
            
            .kodlegal-navbar {
                padding: 0;
            }
            
            .hero-section {
                padding: 2rem 0;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .top-contact-bar {
                text-align: center;
                padding: 1rem 0;
            }
            
            .top-contact-bar .contact-info {
                display: flex !important;
                flex-wrap: nowrap !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 1.5rem !important;
            }
            
            .top-contact-bar .contact-info span {
                display: inline-flex !important;
                align-items: center !important;
                margin-bottom: 0 !important;
                white-space: nowrap !important;
            }

            .footer {
                padding: 1rem 0 0.5rem;
                margin-top: 1rem;
            }

            .footer h5 {
                font-size: 1rem;
                margin-bottom: 1.2rem;
            }

            .nav-menu {
                min-width: 280px;
                padding: 1.5rem;
            }

            .nav-item {
                padding: 0.8rem 1rem;
                font-size: 0.8rem;
            }
        }
        
        @media (max-width: 576px) {
            .brand-logo {
                height: 52px !important;
            }
            
            .navbar-social-link {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
            
            .top-contact-bar {
                padding: 0.8rem 0;
            }
            
            .top-contact-bar .row {
                flex-direction: column;
                gap: 0.8rem;
            }
            
            .top-contact-bar .col-md-6,
            .top-contact-bar .col-md-6 {
                text-align: center !important;
            }
            
            .top-contact-bar .contact-info {
                display: flex !important;
                flex-wrap: nowrap !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 1rem !important;
                font-size: 0.85rem;
            }
            
            .top-contact-bar .contact-info span {
                display: inline-flex !important;
                align-items: center !important;
                margin-bottom: 0 !important;
                white-space: nowrap !important;
            }
            
            .footer {
                padding: 1rem 0 0.5rem;
                margin-top: 1rem;
            }
            
            .footer-bottom {
                padding-top: 0.8rem;
                margin-top: 1rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }

            .nav-menu {
                min-width: 250px;
                padding: 1rem;
            }

            .newsletter-form .btn {
                padding: 0.8rem 1.5rem;
                font-size: 0.8rem;
            }

            .newsletter-form .form-control {
                padding: 0.8rem 1.2rem;
                font-size: 0.85rem;
            }
            
            /* Mobil cihazlarda newsletter formunu dikey yap */
            .newsletter-form {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 0.5rem !important;
                width: 100% !important;
                max-width: none !important;
            }
            
            .newsletter-form .newsletter-input {
                min-width: auto !important;
                width: 100% !important;
            }
            
            .newsletter-form .newsletter-btn {
                width: 100% !important;
                justify-content: center !important;
            }
            
            /* Footer sosyal medya ikonlarını mobil cihazlarda ortala */
            .footer-social-row {
                justify-content: center !important;
                width: 100% !important;
            }
            
            /* Newsletter disclaimer'ı mobil cihazlarda ortala */
            .newsletter-disclaimer {
                text-align: center !important;
            }
            
            /* Footer içindeki newsletter ve sosyal medya kapsayıcısını mobil cihazlarda dikey yap */
            .footer .d-flex.flex-row.align-items-start.gap-5 {
                flex-direction: column !important;
                gap: 1rem !important;
                align-items: center !important;
            }
            
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
        }

/* KP Law Custom Styles */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Use the same Google Fonts as base.html: Open Sans for body text */
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    /* Use Roboto for headings to match brand identity */
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
}

.display-4 {
    font-weight: 700;
    color: #1a1a1a;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #f8f9fa;
    font-size: 0.875rem;
}

.contact-info a,
.social-links a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-info a:hover,
.social-links a:hover {
    color: #0d6efd;
}

.navbar-brand {
    font-size: 1.75rem !important;
    color: #1a1a1a !important;
    letter-spacing: -0.5px;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 250px !important;
    width: 250px !important;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Navbar container adjustments for large logo */
.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    min-height: 260px;
}

/* Responsive navbar adjustments */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 150px !important;
        width: 150px !important;
    }
    .navbar {
        min-height: 160px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 100px !important;
        width: 100px !important;
    }
    .navbar {
        min-height: 110px;
    }
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav {
    align-items: center;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Button Styles */
.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--kodlegal-primary);
    border-color: var(--kodlegal-primary);
}

.btn-primary:hover {
    background: var(--kodlegal-white) !important;
    border-color: var(--kodlegal-primary) !important;
    color: var(--kodlegal-darker) !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--kodlegal-primary);
    border-color: var(--kodlegal-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--kodlegal-primary);
    border-color: var(--kodlegal-primary);
    color: var(--kodlegal-white);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card {
    background: #fff;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card .service-image {
    position: relative;
    overflow: hidden;
}

.service-card .service-image img {
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card .service-content {
    padding: 2rem 1.5rem;
}

.service-card .card-body {
    padding: 2rem 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.service-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.service-title {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* News Card Styles */
.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-meta {
    font-size: 0.875rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0 Z" fill="rgba(13,110,253,0.05)"/></svg>') repeat-x bottom;
}

/* Background Sections */
.bg-light {
    background: #f8f9fa !important;
}

.services-section,
.news-section {
    position: relative;
}

.services-section::before,
.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* Footer Styles */
.footer {
    background: #1a1a1a !important;
    color: #ccc;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0d6efd;
}

.footer .social-links a {
    font-size: 1.25rem;
    margin-right: 1rem;
}

.footer .social-links a:hover {
    color: #0d6efd;
    transform: translateY(-2px);
}

.newsletter-form .form-control {
    border: 1px solid #555;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: #ccc;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .service-card .card-body {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .row > div {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    outline: none;
}

.nav-link:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .contact-cta {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        padding: 1rem 0;
    }
}
