/* =========================================
          SOSYAL GUVENLIK KURUMU
    BILGI TEKNOLOJILERİ GENEL MUDURLUGU
   KURUMSAL YAZILIMLAR DAIRE BASKANLIGI
       KURUMSAL YAZILIMLAR GRUP - 3
          Versıon : 2026 v1.0
   ========================================= */



/* =========================================
   1. IMPORTS & FONTS
   ========================================= */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Helvetica Family */
@font-face {
    font-family: 'Helvetica';
    src: url('/v3/plugins/fonts/Helvetica.ttc') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue Medium';
    src: url('/v3/plugins/fonts/HelveticaNeueMedium.ttc') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('/v3/plugins/fonts/HelveticaNeueBold.ttc') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Note: Duplicate font-family name 'Helvetica Neue Bold' with different source kept for fallback safety */
@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('/v3/plugins/fonts/HelveticaNeue.ttc') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Custom Fonts */
@font-face {
    font-family: 'JustSunday';
    src: url('/v3/plugins/fonts/JustSunday.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Montserrat Family */
@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Montserrat Italic Family */
@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/v3/plugins/fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/cdn/v3/plugins/fonts/Montserrat-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

/* Poppins Family */
@font-face {
    font-family: 'Poppins';
    src: url('/v3/plugins/fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/v3/plugins/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/v3/plugins/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/v3/plugins/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/v3/plugins/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* =========================================
   2. GLOBAL LAYOUT & RESET
   ========================================= */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Flex item controls for specific body children to ensure sticky footer */
body>header,
body>div.bg-\[\#1f88c7\] {
    flex-shrink: 0;
}

body>main,
body>section,
body>div:not(.hamburger-overlay):not(.hamburger-menu):not(#cookie-banner):not([class*="bg-[#"]) {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #1f88c7 !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1f88c7;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1f88c7;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: auto;
    scrollbar-color: #1f88c7 #f1f1f1;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.justify-text {
    text-align: justify;
    text-justify: inter-word;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
/* Sticky Header */
.sticky-header {
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: slideDownHeader 0.3s ease;
}

.sticky-header.scrolled .top-logos {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.sticky-header.scrolled .container>div:last-child {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#sgk-logo {
    transition: opacity 0.3s ease;
}

@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header-opacity {
    min-height: 250px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 30%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0.0) 100%);
}

.sgk-menu-content {
    min-height: 80px;
    margin-top: -20px;
}

/* Minimal Navigation Links */
.nav-link {
    position: relative;
    padding: 8px 16px;
    color: #4b5563 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #1f88c7 !important;
    background: #f9fafb;
}

.nav-link.active {
    color: #1f88c7 !important;
    padding: 10px !important;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(to right, #1f88c7, #0ea5e9);
    border-radius: 3px 3px 0 0;
}

.active-content-menu {
    color: rgb(31 136 199 / var(--tw-text-opacity, 1)) !important;
}

.active-content-parent-menu {
    color: #1f88c7 !important;
}

/* =========================================
   4. HAMBURGER & SIDEBAR MENU
   ========================================= */
.hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger-overlay.active {
    display: block;
    opacity: 1;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    left: -360px;
    width: 360px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.hamburger-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1f88c7 0%, #0ea5e9 100%);
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(31, 136, 199, 0.15);
}

.menu-logo img {
    height: 100px;
    filter: brightness(0) invert(1);
}

.close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.menu-content::-webkit-scrollbar {
    width: 8px;
}

.menu-content::-webkit-scrollbar-track {
    background: transparent;
}

.menu-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d1d5db, #9ca3af);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9ca3af, #6b7280);
    background-clip: padding-box;
}

/* Menu Items */
.menu-item {
    margin-bottom: 6px;
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.menu-item-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #1f88c7, #0ea5e9);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item-content:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1f88c7;
    padding-left: 24px;
    box-shadow: 0 4px 12px rgba(31, 136, 199, 0.1);
}

.menu-item-content:hover::before {
    transform: scaleY(1);
}

.menu-item-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.menu-item-icon svg {
    width: 100%;
    height: 100%;
}

.menu-item-content:hover .menu-item-icon {
    color: #1f88c7;
    transform: scale(1.1);
}

.menu-arrow {
    width: 18px;
    height: 18px;
    margin-left: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #9ca3af;
}

.menu-item-content:hover .menu-arrow {
    color: #1f88c7;
}

.menu-arrow.rotated {
    transform: rotate(180deg);
}

/* Submenus */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin-top: 6px;
    padding: 0 12px;
}

.submenu.active {
    max-height: 1200px;
    padding: 12px;
}

.submenu-category {
    margin-bottom: 8px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.submenu-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.submenu-category-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #1f88c7, #0ea5e9);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.submenu-category-header:hover {
    background: #f9fafb;
    color: #1f88c7;
    padding-left: 20px;
}

.submenu-category-header:hover::before {
    transform: scaleY(1);
}

.submenu-category-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.submenu-category-icon svg {
    width: 100%;
    height: 100%;
}

.submenu-category-header:hover .submenu-category-icon {
    color: #1f88c7;
    transform: scale(1.1);
}

.submenu-arrow {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #d1d5db;
}

.submenu-category-header:hover .submenu-arrow {
    color: #1f88c7;
}

.submenu-arrow.rotated {
    transform: rotate(90deg);
}

.submenu-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #fafbfc 0%, #f6f8fa 100%);
    padding: 0 16px;
}

.submenu-category-items.active {
    max-height: 800px;
    padding: 12px 16px;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    margin: 3px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.submenu-link:hover {
    background: white;
    color: #1f88c7;
    padding-left: 20px;
    box-shadow: 0 2px 8px rgba(31, 136, 199, 0.1);
}

.submenu-link-dot {
    width: 6px;
    height: 6px;
    background: #d1d5db;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.submenu-link:hover .submenu-link-dot {
    background: linear-gradient(135deg, #1f88c7, #0ea5e9);
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(31, 136, 199, 0.4);
}

.submenu-simple-link {
    display: block;
    padding: 12px 18px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    margin: 4px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu-simple-link:hover {
    background: white;
    color: #1f88c7;
    border-left-color: #1f88c7;
    padding-left: 22px;
    box-shadow: 0 2px 8px rgba(31, 136, 199, 0.1);
}

/* Sidebar Menu Items (Generic) */
.sidebar-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    margin: 2px 0;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.sidebar-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #1f88c7, #0ea5e9);
    border-radius: 0 3px 3px 0;
    transition: height 0.2s ease;
}

.sidebar-menu-item:hover {
    background: #f9fafb;
    color: #1f88c7;
    padding-left: 16px;
}

.sidebar-menu-item:hover::before {
    height: 70%;
}

.sidebar-menu-item.active {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1f88c7;
    font-weight: 600;
    padding-left: 16px;
}

.sidebar-menu-item.active::before {
    height: 70%;
}

.sidebar-menu-item i {
    font-size: 15px;
    width: 18px;
    text-align: center;
}

/* =========================================
   5. HERO & SLIDER
   ========================================= */
.hero-section {
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-in-out;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .hero-section {
        height: 100vh;
    }
}

#heroSlider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.05) 65%, rgba(0, 0, 0, 0) 100%);
}

.slide-content {
    display: none;
    animation: fadeInSlide 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide-content.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content a {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav Dots */
.slide-nav-item {
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.slide-nav-item.active {
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Desktop Navigation Dots Specifics */
.slide-nav-item.desktop {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slide-nav-item.desktop:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slide-nav-item.desktop.active {
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

/* Mobile Navigation Dots Specifics */
.slide-nav-item.mobile {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.slide-nav-item.mobile.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Arrows */
.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 4px;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-arrow-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   6. SEARCH OVERLAY
   ========================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.3s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999999 !important;
}

.search-overlay.active {
    display: flex;
}

.search-overlay * {
    box-sizing: border-box;
}

.search-overlay-close-button {
    position: absolute;
    top: 10px !important;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-input-large {
    animation: slideDownSearch 0.4s ease-out;
}

.search-input-large input {
    box-sizing: border-box;
}

@keyframes slideDownSearch {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   7. COMPONENTS (Cards, Documents, etc.)
   ========================================= */

/* Cards General (Custom Grid Positioning) */
.card-2 {
    margin-left: 18px !important;
}

.card-3 {
    margin-left: -2px !important;
}

.card-4 {
    margin-left: -20px !important;
}

@media (min-width: 1535.5px) {
    .card-1 {
        min-width: 250px !important;
        height: 300px !important;
        margin-top: 25px !important;
        margin-left: 38px !important;
    }

    .card-2 {
        min-width: 250px !important;
        height: 300px !important;
        margin-top: 25px !important;
        margin-left: 18px !important;
    }
}

/* Birim Cards */
.birim-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.birim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1f88c7, #0ea5e9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.birim-card:hover {
    box-shadow: 0 8px 24px rgba(31, 136, 199, 0.15);
    transform: translateY(-4px);
    border-color: #e0f2fe;
}

.birim-card:hover::before {
    transform: scaleX(1);
}

.birim-card-header {
    padding: 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.birim-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fixed typo from justify-center */
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.birim-icon svg {
    width: 24px;
    height: 24px;
    color: #1f88c7;
    transition: all 0.3s ease;
}

.birim-card:hover .birim-icon {
    background: linear-gradient(135deg, #1f88c7, #0ea5e9);
    transform: scale(1.1) rotate(5deg);
}

.birim-card:hover .birim-icon svg {
    color: white;
}

.birim-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    min-height: 42px;
}

.birim-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.birim-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.birim-info-icon {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.birim-card:hover .birim-info-icon {
    color: #1f88c7;
}

.birim-info-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.birim-phone {
    font-size: 13px;
    color: #1f88c7;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.birim-phone::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1f88c7;
    transition: width 0.3s ease;
}

.birim-phone:hover {
    color: #1a75ad;
}

.birim-phone:hover::after {
    width: 100%;
}

/* Announcement Cards */
.announcement-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 15px !important;
}

.announcement-card:hover {
    box-shadow: 0 4px 16px rgba(31, 136, 199, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    border-color: rgba(31, 136, 199, 0.2);
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1f88c7;
    border-radius: 16px;
    padding: 18px 22px;
    min-width: 75px;
    border: 1px solid rgba(31, 136, 199, 0.15);
    transition: all 0.35s ease;
}

.announcement-card:hover .date-badge {
    background: linear-gradient(135deg, #1f88c7 0%, #0ea5e9 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.03);
}

.date-day {
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    margin-bottom: 4px;
}

.date-month {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.date-year {
    font-size: 16px;
    font-weight: bold;
    opacity: 0.75;
    text-align: center;
    margin-top: 2px;
}

.announcement-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.announcement-title {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.announcement-card:hover .announcement-title {
    color: #1f88c7;
}

.announcement-subtitle {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 400;
}

.announcement-link {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 1s ease;
}

.announcement-card:hover .announcement-link {
    color: #1f88c7;
}

.arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

.announcement-card:hover .arrow-btn {
    background: linear-gradient(135deg, #1f88c7 0%, #0ea5e9 100%);
    color: white;
    transform: translateX(2px);
    border-color: transparent;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Document List Styles */
.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.document-item:hover {
    box-shadow: 0 4px 16px rgba(31, 136, 199, 0.15);
    transform: translateY(-2px);
}

.document-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    margin-right: 16px;
    flex-shrink: 0;
}

.download-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e8f4fb;
    color: #1f88c7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.download-btn:hover {
    background: #1f88c7;
    color: white;
    transform: scale(1.1);
}

/* News Slide & Helpers */
.news-slide {
    transition: opacity 0.5s ease-in-out;
    margin-right: 22px !important;
    display: none;

    margin-left: auto;
    margin-right: auto !important; /* ORTALAR */
    
    transform: translateY(-7px); /* ⬆️ bir tık yukarı */
}

.news-slide.active {
    display: block !important;
}

.haberler-back {
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../img/haberler-back.svg");
    width: 100% !important;
    height: 100%;
    margin-right: -355px !important;
    pointer-events: none;
    z-index: 0;
}

#devicesIllustration {
    min-height: 500px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../img/uygulama-back.png");
    width: 100% !important;
    height: 600px !important;
}

/* Lists & Post Content */
ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul>li {
    position: relative;
    padding-left: 20px;
    margin: 6px 0;
}

ul>li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 20px;
    line-height: 18px;
    color: #1f88c7 !important;
}

.post-content {
    text-align: justify;
    text-indent: 20px;
}

.post-content strong,
.post-content b {
    color: #1f88c7 !important;
}


/* Pagination & Active States */
.active {
    margin-left: 0 !important;
    padding-top: 0 !important;
}

.pagination li>a {
    color: #1d3557;
}

.page-item.active .page-link,
.page-link:hover,
.page-link:focus {
    color: #FFF !important;
    background-color: #1d3557 !important;
    border-color: #1d3557 !important;
}
.post-content p {
    text-indent: 0;
}
.post-content p:has(> *) {
    padding-left: 14px;
}

.post-content p:has(> *)::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #1f88c7;
    font-weight: 600;
    display: none!important;
}

/* =========================================
   8. SGK SPECIFIC UTILITIES
   ========================================= */
.sgk-text-color-maximum-red {
    color: #ce0000 !important;
}

.sgk-text-color-honey-dew {
    color: #f1faee !important;
}

.sgk-text-color-powder-blue {
    color: #a8dadc !important;
}

.sgk-text-color-celadon-blue {
    color: #457b9d !important;
}

.sgk-text-color-prussian-blue {
    color: #1d3557 !important;
}

.sgk-text-color-white {
    color: #fff !important;
}

.sgk-text-color-black {
    color: #000 !important;
}

.sgk-text-color-grey {
    color: #eee !important;
}

.sgk-text-color-blue {
    color: #006fce !important;
}

.sgk-bg-color-maximum-red {
    background-color: #ce0000 !important;
}

.sgk-bg-color-honey-dew {
    background-color: #f1faee !important;
}

.sgk-bg-color-powder-blue {
    background-color: #a8dadc !important;
}

.sgk-bg-color-celadon-blue {
    background-color: #457b9d !important;
}

.sgk-bg-color-prussian-blue {
    background-color: #1d3557 !important;
}

.sgk-bg-color-white {
    background-color: #fff !important;
}

.sgk-bg-color-black {
    background-color: #000 !important;
}

.sgk-bg-color-grey {
    background-color: #eee !important;
}

.sgk-bg-color-blue {
    background-color: #006fce !important;
}

.sgk-bg-color-gradient {
    background-color: #154474;
    background-image: linear-gradient(90deg, #154474 0%, #0087c2 100%);
}

.sgk-bg-color-grey-soft {
    background-color: #f9f9f9 !important;
}

/* Map SVG */
#tr-map-svg path,
#tr-map-svg polygon {
    cursor: pointer;
}

#tr-map-svg path:hover,
#tr-map-svg polygon:hover {
    fill: #ce0000 !important;
    stroke: #fff !important;
    cursor: pointer !important;
    color: #ce0000 !important;
}

/* Duyuru & Time Icons */
.sgk-duyuru {
    padding-top: 75px !important;
}

.sgk-duyuru .entry-title h4 {
    font-size: 1.01em;
}

time.icon {
    font-size: 1em;
    display: block;
    position: relative;
    width: 4em;
    height: 4em;
    background-color: #fff;
    border: 1px solid #1d3557;
    overflow: hidden;
    border-radius: 5px;
}

time.icon * {
    display: block;
    width: 100%;
    font-size: 0.6em;
    font-weight: bold;
    font-style: normal;
    text-align: center;
}

time.icon strong {
    position: absolute;
    top: 0;
    padding: 0.4em 0;
    color: #fff;
    background-color: #1d3557;
    border-bottom: 1px dashed #1d3557;
    box-shadow: 0 2px 0 #1d3557;
}

time.icon em {
    position: absolute;
    bottom: 0.3em;
    color: #154474;
}

time.icon span {
    font-size: 1em;
    letter-spacing: -0.05em;
    padding-top: 1.5em;
    color: #154474;
}

.event .grid-inner {
    background-color: #fff;
    border-bottom: none;
}

.entry-meta {
    margin-top: -10px !important;
}

.entry-meta ul li {
    font-size: 10px;
}

.entry-content {
    padding: 80px 25px 25px 25px !important;
}

.section {
    padding: 20px 0 20px 0 !important;
    margin: 0 !important;
}

.content-wrap {
    padding: 40px 0 0 0;
}

.sgk-footer-carousel {
    background-color: #fff !important;
}

.sgk-ozgecmis-header {
    height: 130px;
    padding: 0 !important;
    font-weight: normal;
}

.sgk-biografi-img {
    z-index: 1 !important;
}

/* =========================================
   9. FOOTER & EXTRAS
   ========================================= */
.footer-title {
    font-family: 'Helvetica', sans-serif !important;
}

.footer-sub-title {
    font-family: 'JustSunday', cursive !important;
    font-size: 19.5pt;
}

/* Back to Top */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: #1f88c7;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
}

#backToTop:hover {
    background-color: #166a9a;
    transform: scale(1.1);
}

/* Social Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Partner Logos */
.partner-logo {
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: brightness(1) contrast(1);
}

.partner-logo:hover {
    opacity: 1;
    filter: brightness(1.1) contrast(1.1);
    transform: translateY(-2px);
}

/* Footer Links */
.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

.footer-link:hover::after {
    transform: scaleX(1);
}

/* Nav Scrollbars Specific */
nav ol::-webkit-scrollbar {
    height: 4px;
}

nav ol::-webkit-scrollbar-track {
    background: transparent;
}

nav ol::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

nav ol::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.bg-gradient-to-br {
    transition: all 0.3s ease;
}

.bigger-text header nav,
.bigger-text .sgk-nav,
.bigger-text .hamburger-menu,
.bigger-text main,
.bigger-text .slider-content,
.bigger-text .index-section,
.bigger-text footer {
    zoom: 1.1 !important;
}

iframe {
    width: 100%;
    height: 100%;
}

/* =========================================
   10. MEDIA QUERIES (Consolidated)
   ========================================= */

/* Desktop Specific */
@media (min-width: 1025px) {
    .slide-nav-item {
        width: 10px !important;
        height: 10px !important;
        border: 2px solid white !important;
    }

    .slide-nav-item.active {
        width: 10px !important;
        height: 10px !important;
    }

    .hero-section .absolute.bottom-8,
    .hero-section .absolute.bottom-16 {
        gap: 0.75rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
    }
}

/* Large Screens / Custom Card Breakpoints */
@media (max-width: 1535.5px) {

    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        min-width: 200px !important;
        height: 250px !important;
        margin-top: 65px !important;
        margin-left: 5px !important;
    }
}

@media (max-width: 1279.5px) {

    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        min-width: 160px !important;
        height: 200px !important;
        margin-top: 55px !important;
        margin-left: -25px !important;
    }

    .satis-img {
        display: none !important;
    }

    .satis-div {
        position: inherit;
    }

    .satis-div-2 {
        background-color: red;
        min-height: 500px;
    }
}

/* Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .slide-nav-item {
        width: 3px !important;
        height: 3px !important;
        border: 0.5px solid white !important;
        min-width: 3px !important;
        min-height: 3px !important;
        max-width: 3px !important;
        max-height: 3px !important;
    }

    .slide-nav-item.active {
        width: 4px !important;
        height: 4px !important;
        min-width: 4px !important;
        min-height: 4px !important;
        max-width: 4px !important;
        max-height: 4px !important;
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.3) !important;
    }

    .hamburger-menu {
        width: 350px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hamburger-menu {
        width: 100%;
        max-width: 320px;
    }

    /* Hero */
    .hero-section {
        min-height: 500px !important;
        padding: 2rem 1rem !important;
    }

    .slide-content {
        padding: 0 !important;
    }

    .slide-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
    }

    .slide-content .text-white {
        font-size: 0.875rem !important;
    }

    .slide-content button {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.875rem !important;
    }

    /* Headings */
    h2.text-6xl {
        font-size: 2.5rem !important;
    }

    /* News Section */
    .news-slide {
        flex-direction: column !important;
        padding: 2rem 0 !important;
    }

    .news-slide>div {
        width: 100% !important;
        padding: 0 !important;
    }

    .news-slide+div+button,
    .news-slide~button {
        display: none !important;
    }

    section:has(.news-slide) .absolute.right-0 {
        width: 100% !important;
        border-radius: 0 !important;
    }

    #devicesIllustration {
        display: none;
    }

    /* Carousel */
    .logo-slide {
        gap: 2rem !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .logo-slide>div {
        width: 40% !important;
        min-width: 120px;
    }

    /* Footer */
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    footer .grid.grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Nav Dots */
    .hero-section .absolute.bottom-8,
    .hero-section .absolute.bottom-16 {
        bottom: 1.5rem !important;
        gap: 0.2rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
    }

    /* Search Overlay */
    .search-overlay {
        align-items: flex-start;
        padding-top: 20px;
    }

    .search-input-large input {
        font-size: 1.125rem !important;
        padding: 0.75rem 0.25rem !important;
        padding-right: 2.5rem !important;
    }

    .search-overlay h2 {
        font-size: 1.5rem !important;
    }

    .search-overlay p {
        font-size: 0.875rem !important;
    }

    .search-results-title {
        font-size: 1rem !important;
    }

    .popular-search-btn {
        font-size: 0.7rem !important;
        padding: 0.375rem 0.625rem !important;
    }

    body.search-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Announcement Cards */
    .announcement-card .date-badge .date-day {
        font-size: 12px !important;
    }

    .announcement-card .date-badge .date-month {
        font-size: 9px !important;
    }

    .announcement-card .date-badge .date-year {
        font-size: 9px !important;
    }

    .announcement-card .announcement-title {
        font-size: 12.5px;
    }

    .sub-page-header>h1 {
        font-size: 12px !important;
        margin-left: -20px;
    }

    .announcement-detail-title>h1,
    .new-detail-title>h1 {
        font-size: 14px !important;
    }

    .announcement-detail-subtitle,
    .new-detail-subtitle {
        font-size: 12px !important;
    }

    .announcement-detail-date,
    .new-detail-date {
        font-size: 11px !important;
    }

    /* Birim Card */
    .birim-card-header {
        padding: 16px;
    }

    .birim-card-body {
        padding: 16px;
    }

    .birim-title {
        font-size: 14px;
        min-height: auto;
    }

    .birim-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .birim-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Social Icons */
    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    /* SVG Helpers */
    .svg-desktop {
        display: none;
    }

    .svg-mobile {
        display: block;
    }
}

/* Small Mobile (max-width: 640px) */
@media (max-width: 640px) {

    h1.text-5xl,
    h1.text-6xl {
        font-size: 1.875rem !important;
    }

    h2.text-6xl {
        font-size: 2rem !important;
    }

    .quick-links-section {
        flex-direction: column !important;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    .nav-arrow,
    button[onclick*="Slide"] {
        width: 35px !important;
        height: 35px !important;
    }

    button[onclick*="Slide"] svg {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }

    header .flex.justify-end {
        display: none !important;
    }

    header nav.flex {
        display: none !important;
    }
}

/* Extra Small (max-width: 480px) */
@media (max-width: 480px) {
    .hamburger-menu {
        width: 100%;
        left: -100%;
    }
}

/* SVG Display Helper */
.svg-desktop {
    display: block;
}

.svg-mobile {
    display: none;
}