/**
 * Perioperative Platform Styles
 * Patient ve Läkare modları için farklı renk temaları
 */

/* ============================================
   GENEL STİLLER
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.perioperative-header {
    width: 100%;
    position: relative;
    z-index: 10000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.menu-open {
    overflow: hidden;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   TOP UTILITY BAR
   ============================================ */
.header-top-bar {
    width: 100%;
    height: 36px;
    position: relative;
}

.header-top-bar::before {
    display: none;
}

.header-top-bar .header-container {
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
}

.top-bar-motto {
    color: #FFFFFF;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    margin-right: 2rem;
    grid-column: 3;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.top-bar-link:hover {
    opacity: 0.8;
}

.top-bar-link .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   MAIN HEADER BAR
   ============================================ */
.header-main-bar {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: inherit; /* Parent'ın z-index'ini alır */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header-main-bar .header-container {
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo and Mode Switch Group */
.header-logo-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 0 0 auto;
}

/* Logo Area */
.header-logo {
    flex: 0 0 auto;
    margin-left: 2rem;
}

.header-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-image {
    max-height: 70px; /* Header is 80px, leaving 10px total padding (5px top + 5px bottom) */
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Mode Switch Area */
.header-mode-switch {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 10001; /* En üstte görünmesi için header'dan daha yüksek */
}

.mode-switch-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 2;
    font-weight: 600;
    padding: 1.25rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 12px;
    margin: 0 0.25rem;
    position: relative;
}

.mode-switch-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
}

.mode-switch-btn.active {
    font-weight: 600;
}

/* Mode Switch Dropdown (Mobile) */
.mode-switch-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 10001; /* En üstte görünmesi için header ve menu overlay'den daha yüksek */
    overflow: hidden;
    flex-direction: row;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
}

.mode-switch-dropdown.active {
    display: flex;
}

/* Desktop görünümde dropdown gizli */
@media (min-width: 769px) {
    .mode-switch-dropdown {
        display: none !important;
    }
}

.mode-switch-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 1rem 0.75rem;
    border: none;
    background: none;
    color: #1A6C69;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 6px;
    gap: 0.5rem;
    min-height: 0;
}

.mode-switch-dropdown-item:hover {
    background-color: rgba(26, 108, 105, 0.1);
}

.mode-switch-dropdown-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.mode-switch-dropdown-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: #1A6C69;
    line-height: 1.2;
    margin: 0;
}

/* Menu Area */
.header-menu {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    margin-right: 0;
    position: relative;
}

.header-menu::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 140px;
    background: transparent;
    pointer-events: none;
    transition: background-color 0.3s ease;
    z-index: -1;
}

.header-menu::before {
    content: '';
    position: fixed;
    right: 0;
    top: 116px; /* top bar (36px) + main bar (80px) */
    width: 0;
    height: 80px;
    background: transparent;
    pointer-events: none;
    transition: background-color 0.3s ease, width 0.3s ease;
    z-index: -1;
}

.header-menu:hover::before {
    width: calc(100vw - 100%);
}

.mode-patient .header-menu:hover::after,
.mode-lakare .header-menu:hover::after {
    background-color: rgba(0, 0, 0, 0.6);
}

.mode-patient .header-menu:hover::before,
.mode-lakare .header-menu:hover::before {
    background-color: rgba(0, 0, 0, 0.6);
}

.menu-toggle {
    background: none;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.25rem; /* 20px */
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    padding-right: 2rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    position: relative;
    width: auto;
    min-width: 140px;
    height: 100%;
    box-sizing: border-box;
    z-index: 1;
}

.mode-patient .menu-toggle:hover,
.mode-lakare .menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
}

.menu-toggle .icon-menu,
.menu-toggle .icon-close {
    width: 24px;
    height: 24px;
}

.menu-text {
    font-weight: 600;
    display: inline-block;
    width: 4.5rem;
    text-align: left;
    flex-shrink: 0;
}

/* ============================================
   PATIENT MODE COLORS
   ============================================ */
.mode-patient .header-top-bar {
    background-color: #273c3b; /* Dark grey */
}

.mode-patient .header-main-bar {
    background-color: #1E2730;
}

.mode-patient .mode-switch-btn.active {
    background-color: #273c3bab;
    color: #FFFFFF;
}

.mode-patient .mode-switch-btn.active:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
}

/* ============================================
   LÄKARE MODE COLORS
   ============================================ */
.mode-lakare .header-top-bar {
    background-color: #273c3b; /* Dark blue-grey */
}

.mode-lakare .header-main-bar {
    background-color: #184A7C; /* Deep professional blue */
}

.mode-lakare .mode-switch-btn.active {
    background-color: #2E5C8A; /* Medium blue for active state */
    color: #FFFFFF;
}

.mode-lakare .mode-switch-btn.active:hover {
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .header-main-bar .header-container {
        padding: 0;
    }
    
    .header-top-bar .header-container {
        padding: 0;
    }
    
    .top-bar-right {
        margin-right: 1.5rem;
    }
    
    .header-logo-group {
        gap: 1.5rem;
    }
    
    .header-logo {
        margin-left: 1.5rem;
    }
    
    .header-menu {
        flex: 0 0 130px;
        width: 130px;
        margin-right: 1.5rem;
    }
    
    .logo-image {
        max-height: 60px; /* Header is 70px, leaving 10px total padding (5px top + 5px bottom) */
    }
    
    .mode-switch-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .header-menu::before {
        top: 106px; /* Tablet header yüksekliği (top bar 36px + main bar 70px) */
        height: 70px;
    }
}

@media (max-width: 768px) {
    /* Hide topbar on mobile */
    .header-top-bar {
        display: none;
    }
    
    .header-main-bar {
        height: 70px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .header-main-bar .header-container {
        padding: 0;
    }
    
    .header-top-bar .header-container {
        padding: 0;
    }
    
    .top-bar-center {
        display: none;
    }
    
    .top-bar-right {
        margin-right: 1rem;
        gap: 1.5rem;
    }
    
    .header-logo-group {
        gap: 1rem;
    }
    
    .header-logo {
        margin-left: 1rem;
    }
    
    .header-menu {
        flex: 0 0 110px;
        width: 110px;
        margin-right: 0.75rem;
    }
    
    .header-menu::before {
        top: 70px; /* Mobile header yüksekliği (sadece main bar 70px, top bar gizli) */
        height: 70px;
    }
    
    .top-bar-link {
        font-size: 0.9375rem;
    }
    
    .top-bar-link .icon {
        width: 18px;
        height: 18px;
    }
    
    .logo-image {
        max-height: 60px; /* Header is 70px, leaving 10px total padding (5px top + 5px bottom) */
    }
    
    .header-mode-switch {
        flex: 0 0 auto;
        position: relative;
        z-index: 10001; /* En üstte görünmesi için */
    }
    
    .mode-switch-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .mode-switch-btn:not(.active) {
        display: none;
    }
    
    .mode-switch-btn.active {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 1.25rem;
        border-radius: 8px;
        position: relative;
    }
    
    .mode-switch-btn.active::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #FFFFFF;
        margin-left: 0.25rem;
    }
    
    .mode-switch-dropdown {
        display: none;
        min-width: 180px;
        padding: 0.875rem;
        gap: 0.75rem;
        z-index: 10001; /* En üstte görünmesi için */
    }
    
    .mode-switch-dropdown.active {
        display: flex;
    }
    
    .mode-switch-dropdown-item {
        padding: 0.875rem 0.5rem;
        gap: 0.5rem;
    }
    
    .mode-switch-dropdown-icon {
        width: 44px;
        height: 44px;
    }
    
    .mode-switch-dropdown-text {
        font-size: 0.8125rem;
    }
    
    .menu-toggle {
        gap: 0.5rem;
        padding: 0 0.75rem;
        padding-right: 1rem;
        min-width: 110px;
    }
    
    .menu-text {
        width: auto;
        min-width: 3.5rem;
    }
}

@media (max-width: 480px) {
    /* Hide topbar on mobile */
    .header-top-bar {
        display: none;
    }
    
    .header-main-bar {
        height: 60px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        box-sizing: border-box;
    }
    
    .perioperative-header {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .menu-overlay {
        top: 60px; /* Mobile header yüksekliği (sadece main bar 60px, top bar gizli) */
        height: calc(100vh - 60px);
        margin-top: 0;
        padding-top: 0;
        box-sizing: border-box;
        transform: translateY(0);
    }
    
    .menu-overlay-content {
        margin-top: 0;
        padding-top: 0 !important;
    }
    
    .menu-columns-container {
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-main-bar .header-container {
        padding: 0;
        justify-content: space-between;
    }
    
    .header-top-bar .header-container {
        padding: 0;
    }
    
    .top-bar-center {
        display: none;
    }
    
    .top-bar-right {
        margin-right: 0.75rem;
        gap: 1rem;
    }
    
    .top-bar-link {
        font-size: 0.8125rem;
    }
    
    .top-bar-link .icon {
        width: 16px;
        height: 16px;
    }
    
    .header-logo-group {
        gap: 0.75rem;
    }
    
    .header-logo {
        margin-left: 0.75rem;
    }
    
    .header-menu {
        flex: 0 0 auto;
        width: auto;
        margin-right: 0.75rem;
    }
    
    .menu-toggle {
        gap: 0.375rem;
        padding: 0 0.5rem;
        padding-right: 0.75rem;
        min-width: auto;
    }
    
    .menu-text {
        width: auto;
        min-width: 3rem;
        font-size: 0.875rem;
    }
    
    .logo-image {
        max-height: 50px; /* Header is 60px, leaving 10px total padding (5px top + 5px bottom) */
    }
    
    .header-mode-switch {
        flex: 0 0 auto;
        position: relative;
        margin: 0 0.5rem;
        z-index: 10001; /* En üstte görünmesi için */
    }
    
    .mode-switch-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
        margin: 0;
        border-radius: 6px;
    }
    
    .mode-switch-btn:not(.active) {
        display: none;
    }
    
    .mode-switch-btn.active {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.625rem 1rem;
        border-radius: 6px;
        position: relative;
    }
    
    .mode-switch-btn.active::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #FFFFFF;
        margin-left: 0.125rem;
        flex-shrink: 0;
    }
    
    .mode-switch-dropdown {
        display: none;
        min-width: 160px;
        padding: 0.75rem;
        gap: 0.625rem;
        z-index: 10001; /* En üstte görünmesi için */
    }
    
    .mode-switch-dropdown.active {
        display: flex;
    }
    
    .mode-switch-dropdown-item {
        padding: 0.75rem 0.5rem;
        gap: 0.375rem;
    }
    
    .mode-switch-dropdown-icon {
        width: 40px;
        height: 40px;
    }
    
    .mode-switch-dropdown-text {
        font-size: 0.75rem;
    }
    
    .header-menu::before {
        top: 60px; /* Mobile header yüksekliği (sadece main bar 60px, top bar gizli) */
        height: 60px;
    }
}

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
    position: fixed;
    top: 116px; /* Header yüksekliği: top bar (36px) + main bar (80px) = 116px */
    left: 0;
    width: 100%;
    height: calc(100vh - 116px);
    background-color: #FFFFFF;
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.menu-overlay.active {
    display: block;
}

.menu-overlay-content {
    width: 100%;
    height: 100%;
    padding: 3rem 2rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.menu-columns-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 3rem;
    justify-content: center;
}

.menu-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: max-content;
}

.menu-column-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1A6C69;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mode-lakare .menu-column-title {
    color: #184A7C;
}

.menu-column-title .icon-arrow,
.menu-column-title .icon-chevron-up,
.menu-column-title .icon-chevron-down {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Mobile chevrons - hidden by default on desktop */
.menu-column-title .mobile-chevron {
    display: none;
}

/* Desktop arrow - shown by default on desktop */
.menu-column-title .desktop-arrow {
    display: block;
}

/* On mobile, show chevrons but control their visibility with expanded state */
@media (max-width: 768px) {
    .menu-column-title .mobile-chevron {
        display: block;
    }
    
    .menu-column-title .desktop-arrow {
        display: none !important;
    }
    
    /* Default state: show down chevron, hide up chevron */
    .menu-column .icon-chevron-down {
        display: block;
    }
    
    .menu-column .icon-chevron-up {
        display: none;
    }
    
    /* Expanded state: hide down chevron, show up chevron */
    .menu-column.expanded .icon-chevron-down {
        display: none;
    }
    
    .menu-column.expanded .icon-chevron-up {
        display: block;
    }
}

.menu-column-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.menu-column-links li {
    margin-bottom: 1rem;
}

.menu-column-links a {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1A6C69;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.mode-lakare .menu-column-links a {
    color: #184A7C;
}

.menu-column-links a:hover {
    color: #278C89;
}

.mode-lakare .menu-column-links a:hover {
    color: #2E5C8A;
}

.menu-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1A6C69;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid #1A6C69;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.mode-lakare .menu-view-all-btn {
    color: #184A7C;
    border-color: #184A7C;
}

.menu-view-all-btn:hover {
    background-color: #1A6C69;
    color: #FFFFFF;
}

.mode-lakare .menu-view-all-btn:hover {
    background-color: #184A7C;
    color: #FFFFFF;
}

.menu-view-all-btn .icon-arrow {
    width: 16px;
    height: 16px;
}

/* Responsive Menu */
@media (max-width: 1024px) {
    .menu-columns-container {
        grid-template-columns: repeat(2, auto);
        gap: 2.5rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .perioperative-header {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .header-main-bar {
        height: 70px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        box-sizing: border-box;
    }
    
    .menu-overlay {
        top: 70px; /* Responsive header yüksekliği (sadece main bar 70px, top bar gizli) */
        height: calc(100vh - 70px);
        margin-top: 0;
        padding-top: 0;
        box-sizing: border-box;
        transform: translateY(0);
    }
    
    .menu-overlay-content {
        padding: 0;
        margin-top: 0;
        padding-top: 0 !important;
    }
    
    .menu-columns-container {
        grid-template-columns: 1fr;
        gap: 0;
        justify-content: stretch;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        padding-top: 0;
    }
    
    .menu-column {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Make menu column title clickable and styled for mobile */
    .menu-column-title {
        cursor: pointer;
        user-select: none;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        margin: 0;
        border-bottom: 1px solid rgba(26, 108, 105, 0.15);
        font-size: 1.125rem;
        font-weight: 600;
        color: #1A6C69;
        background-color: #FFFFFF;
        transition: background-color 0.2s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .menu-column-title:hover {
        background-color: rgba(26, 108, 105, 0.03);
    }
    
    .mode-lakare .menu-column-title {
        color: #184A7C;
        border-bottom-color: rgba(24, 74, 124, 0.15);
    }
    
    .mode-lakare .menu-column-title:hover {
        background-color: rgba(24, 74, 124, 0.03);
    }
    
    /* Chevron styling for mobile */
    .menu-column-title .mobile-chevron {
        width: 18px;
        height: 18px;
        margin-left: auto;
        flex-shrink: 0;
        color: #1A6C69;
    }
    
    .mode-lakare .menu-column-title .mobile-chevron {
        color: #184A7C;
    }
    
    /* Hide menu links by default in mobile, show when expanded */
    .menu-column-links {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: #FFFFFF;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Show links when parent has expanded class */
    .menu-column.expanded .menu-column-links {
        display: block;
    }
    
    /* Sub-menu items styling */
    .menu-column-links li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(26, 108, 105, 0.08);
    }
    
    .mode-lakare .menu-column-links li {
        border-bottom-color: rgba(24, 74, 124, 0.08);
    }
    
    .menu-column-links li:last-child {
        border-bottom: none;
    }
    
    .menu-column-links a {
        display: block;
        padding: 1rem 1.5rem 1rem 2.5rem;
        font-size: 1rem;
        font-weight: 400;
        color: #1A6C69;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        line-height: 1.5;
    }
    
    .menu-column-links a:hover {
        background-color: rgba(26, 108, 105, 0.05);
        color: #278C89;
    }
    
    .mode-lakare .menu-column-links a {
        color: #184A7C;
    }
    
    .mode-lakare .menu-column-links a:hover {
        background-color: rgba(24, 74, 124, 0.05);
        color: #2E5C8A;
    }
    
    /* Hide view all button in mobile */
    .menu-view-all-btn {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    width: 100%;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Varsayılan texture URL - Admin panelinden değiştirilebilir */
    background-image: url('https://perioperative.se/wp-content/uploads/2026/01/herotexture-scaled.png');
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    min-height: 100%;
}

.hero-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 25px 0;
    max-width: 1000px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: calc(50% + 25px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    z-index: 1;
}

.hero-search-wrapper {
    width: 100%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-search-form {
    width: 100%;
}

.hero-search-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.hero-search-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    gap: 0.75rem;
}

.hero-search-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #666;
    transition: color 0.2s ease;
}

.hero-search-button:hover {
    color: #1A6C69;
}

.hero-search-icon {
    width: 24px;
    height: 24px;
    color: inherit;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.125rem;
    color: #333;
    background: transparent;
    padding: 0.5rem 0;
    min-width: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="search"] {
    border: 0px !important;
    outline: none !important;
    box-shadow: none !important;
}

input[type="search"]:focus {
    border: 0px !important;
    outline: none !important;
    box-shadow: none !important;
}

.hero-search-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.hero-search-input::placeholder {
    color: #3F3F46;
    font-weight: 400;
    font-size: 1.75rem;
}

.hero-info-button {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #FFFFFF;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    padding: 0;
}

.hero-info-button:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-info-icon {
    width: 24px;
    height: 24px;
    color: inherit;
}

/* Info Popup Styles */
.hero-info-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.hero-info-popup.active {
    display: block;
    pointer-events: auto;
}

.hero-info-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-info-popup.active .hero-info-popup-overlay {
    opacity: 1;
}

.hero-info-popup-content {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    background: #FFFFFF;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 45%;
    min-width: 400px;
    max-width: 600px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2.5rem;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-info-popup.active .hero-info-popup-content {
    transform: translateX(0);
}

.hero-info-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
}

.hero-info-popup-close:hover {
    background: #f5f5f5;
    color: #000;
}

.hero-info-popup-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 1.5rem 0;
    padding-right: 2rem;
}

.hero-info-popup-body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.hero-info-popup-body p {
    margin: 0 0 1rem 0;
}

.hero-info-popup-body p:last-child {
    margin-bottom: 0;
}

.hero-info-popup-link {
    color: #1A6C69;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.hero-info-popup-link:hover {
    color: #025954;
}

/* Hero Decorative Images Wrapper */
.hero-decorative-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Left Image Container */
.hero-img-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-img-left-element {
    height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Right Image Container */
.hero-img-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-img-right-element {
    height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Tablet görünümü (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-img-left {
        width: 45%;
    }
    
    .hero-img-right {
        width: 45%;
    }
    
    .hero-img-left-element {
        min-width: 120%;
    }
    
    .hero-img-right-element {
        min-width: 120%;
    }
}

/* Mobil görünümü (max-width: 767px) */
@media (max-width: 767px) {
    .hero-img-left {
        width: 40%;
        left: 0;
    }
    
    .hero-img-right {
        width: 40%;
        right: 0;
    }
    
    /* Sol resmin sadece sağ 1/3'ü görünsün */
    .hero-img-left-element {
        min-width: 300%;
        margin-left: -200%;
        object-position: right center;
    }
    
    /* Sağ resmin sadece sol 1/3'ü görünsün */
    .hero-img-right-element {
        min-width: 300%;
        margin-right: -200%;
        object-position: left center;
    }
}

/* Küçük mobil cihazlar (max-width: 480px) */
@media (max-width: 480px) {
    .hero-img-left {
        width: 35%;
    }
    
    .hero-img-right {
        width: 35%;
    }
    
    .hero-img-left-element {
        min-width: 350%;
        margin-left: -250%;
    }
    
    .hero-img-right-element {
        min-width: 350%;
        margin-right: -250%;
    }
}

/* Patient Mode Hero Styles */
.mode-patient .hero-section {
    background-color: #025954;
}

/* Läkare Mode Hero Styles */
.mode-lakare .hero-section {
    background-color: #184A7C;
    /* Läkare mode için farklı arkaplan resmi eklenebilir */
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
    .hero-section {
        padding: 2.5rem 1.5rem 3rem 1.5rem;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        bottom: calc(50% + 25px);
    }
    
    .hero-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .hero-info-popup-content {
        width: 50%;
        min-width: 450px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    
    .hero-title {
        bottom: calc(50% + 25px);
        font-size: 2.5rem;
    }
    
    .hero-container {
        gap: 1.5rem;
        padding: 0 1rem;
        top: calc(50% - 100px);
    }
    
    .hero-search-wrapper {
        padding: 0 0.5rem;
    }
    
    .hero-search-container {
        gap: 0.5rem;
    }
    
    .hero-search-box {
        padding: 0.75rem 1rem;
        border-radius: 40px;
        gap: 0.5rem;
    }
    
    .hero-search-button {
        padding: 0;
    }
    
    .hero-search-icon {
        width: 20px;
        height: 20px;
    }
    
    .hero-info-button {
        width: 28px;
        height: 28px;
        margin-left: 0.25rem;
    }
    
    .hero-info-icon {
        width: 20px;
        height: 20px;
    }
    
    .hero-search-input {
        font-size: 1rem;
    }
    
    .hero-search-input::placeholder {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0;
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 0.25rem;
    }
    
    .hero-title {
        bottom: calc(50% + 25px);
        font-size: 2rem;
    }
    
    .hero-container {
        gap: 1.25rem;
        padding: 0 0.75rem;
        top: calc(50% - 90px);
    }
    
    .hero-info-popup-content {
        width: 90%;
        min-width: 320px;
        padding: 1.5rem;
        max-height: 100vh;
    }
    
    .hero-info-popup-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-info-popup-body {
        font-size: 0.9375rem;
    }
    
    .hero-search-wrapper {
        padding: 0 0.25rem;
    }
    
    .hero-search-box {
        padding: 0.75rem 1rem;
        border-radius: 30px;
    }
    
    .hero-search-icon {
        width: 18px;
        height: 18px;
        margin-right: 0.5rem;
    }
    
    .hero-search-input {
        font-size: 0.9375rem;
    }
    
    .hero-search-input::placeholder {
        font-size: 1.40rem;
    }
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.perioperative-main {
    min-height: calc(100vh - 116px); /* Header yüksekliğini çıkar */
    width: 100%;
}

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

.startsida-content {
    padding: 3rem 0;
}

.startsida-content h1 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.startsida-content .page-content {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ============================================
   USER TYPE SELECTION SECTION
   ============================================ */
.user-type-section {
    width: 100%;
    background-color: #E8F5E9;
    padding: 2rem 2rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.user-type-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: nowrap;
    width: 100%;
}

.user-type-question {
    flex: 0 0 auto;
}

.user-type-question-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1A6C69;
    margin: 0;
    text-align: left;
}

.user-type-card-wrapper {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.user-type-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.user-type-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A6C69;
    flex-shrink: 0;
}

.user-type-card-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1A6C69;
    margin: 0 0 0.25rem 0;
    text-align: left;
}

.user-type-card-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: #6B7280;
    margin: 0;
    text-align: left;
}

.user-type-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Responsive User Type Section */
@media (max-width: 1024px) {
    .user-type-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .user-type-question {
        width: 100%;
        text-align: center;
    }
    
    .user-type-question-text {
        text-align: center;
    }
    
    .user-type-card-wrapper {
        width: 100%;
    }
    
    .user-type-card {
        max-width: 100%;
    }
    
    .user-type-question-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .user-type-section {
        padding: 1.5rem 1.5rem;
    }
    
    .user-type-container {
        gap: 1.25rem;
    }
    
    .user-type-question-text {
        font-size: 1.75rem; /* h3 boyutu */
    }
    
    .user-type-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .user-type-card-title {
        font-size: 1.60rem;
    }
    
    .user-type-card-description {
        font-size: 1.50rem;
    }
}

@media (max-width: 480px) {
    .user-type-section {
        padding: 1.25rem 1rem;
    }
    
    .user-type-question-text {
        font-size: 1.75rem; /* h3 boyutu */
    }
    
    .user-type-card {
        padding: 1rem;
        gap: 0.875rem;
    }
    
    .user-type-card-icon {
        width: 36px;
        height: 36px;
    }
    
    .user-type-card-title {
        font-size: 1.60rem;
    }
    
    .user-type-card-description {
        font-size: 1.50rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .startsida-content {
        padding: 2rem 0;
    }
    
    .startsida-content h1 {
        font-size: 2rem;
    }
}

/* ============================================
   EDUCATION SLIDER SECTION
   ============================================ */
.education-slider-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 4rem 2rem;
    position: relative;
    overflow-x: hidden;
}

.education-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.education-slider-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1A6C69;
    margin: 0;
    text-align: left;
    padding-left: 48px;
}

.education-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.education-slider-nav {
    background-color: #1A6C69;
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.education-slider-nav:hover {
    background-color: #025954;
    transform: scale(1.05);
}

.education-slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.education-slider-nav svg {
    width: 24px;
    height: 24px;
}

.education-slider-track {
    flex: 1 1 0;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    min-width: 0;
}

.education-slider-track::-webkit-scrollbar {
    display: none;
}

.education-slide-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-snap-align: start;
}

.education-slide-card {
    background-color: #EBF7F4;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.education-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.education-slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EBF7F4;
    color: #6B7280;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
}

.education-slide-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.50rem;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    margin: 0;
    text-align: center;
}

/* Responsive Education Slider */
@media (max-width: 1024px) {
    .education-slide-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 280px;
    }
    
    .education-slider-title {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .education-slider-section {
        padding: 2.5rem 0;
        overflow-x: hidden;
    }
    
    .education-slider-container {
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .education-slider-title {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        white-space: normal;
        padding-left: 0 !important;
        margin-bottom: 0;
        line-height: 1.4;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .education-slider-wrapper {
        gap: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        overflow: hidden;
        justify-content: center;
        align-items: center;
    }
    
    .education-slider-nav {
        margin: 0 -0.5rem;
    }
    
    .education-slide-item {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        box-sizing: border-box;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .education-slide-card {
        min-height: 77px;
        border-radius: 10px;
        width: 80%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .education-slide-label {
        text-align: center;
        width: 100%;
    }
    
    .education-slider-nav {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        flex-shrink: 0;
    }
    
    .education-slider-nav:hover {
        transform: scale(1.02);
    }
    
    .education-slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .education-slider-track {
        gap: 0.5rem;
        min-width: 0;
        flex: 1 1 0;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        align-items: center;
        scroll-snap-type: x mandatory;
    }
    
    .education-slide-item {
        scroll-snap-align: start;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    width: 100%;
    background-color: #FFFFFF;
    margin: 0 auto;
    margin-top: 1.5rem;
    display: flex;
    max-width: 1280px;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1rem;
    box-sizing: border-box;
    line-height: 26px;
    vertical-align: top;
    border-style: solid;
    border-color: rgba(0, 0, 0, 1);
    border-width: 0px;
}

.services-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.services-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #3F3F46;
    margin: 0;
    text-align: center;
    line-height: 26px;
    vertical-align: top;
}

.services-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F766E;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    vertical-align: top;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1280px;
    margin: 1rem 0;
}

.services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    box-sizing: border-box;
    line-height: 26px;
    vertical-align: top;
}

.services-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F766E;
    flex-shrink: 0;
    line-height: 26px;
    vertical-align: top;
}

.services-card-icon svg,
.services-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services-card-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3F3F46;
    margin: 0;
    line-height: 26px;
    vertical-align: top;
}

.services-card-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #3F3F46;
    margin: 0;
    line-height: 26px;
    vertical-align: top;
}

.services-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    line-height: 26px;
    vertical-align: top;
}

.services-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #0F766E;
    color: #FFFFFF;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
    line-height: 26px;
    vertical-align: top;
    border-style: solid;
    border-color: rgba(0, 0, 0, 1);
    border-width: 0px;
}

.services-button:hover {
    background-color: #0D5D56;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
}

.services-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Services Section Responsive */
@media (min-width: 480px) {
    .services-section {
        margin-top: 3.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 768px) {
    .services-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1024px) {
    .services-section {
        padding-left: 9rem;
        padding-right: 9rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        margin-top: 1.5rem;
        padding: 2.5rem 1rem;
        gap: 1rem;
    }
    
    .services-container {
        gap: 1rem;
    }
    
    .services-subtitle {
        font-size: 1.75rem;
        line-height: 24px;
    }
    
    .services-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1rem 0;
    }
    
    .services-card {
        padding: 1.25rem;
        gap: 1rem;
        line-height: 24px;
    }
    
    .services-card-icon {
        width: 56px;
        height: 56px;
    }
    
    .services-card-title {
        font-size: 1.25rem;
        line-height: 24px;
    }
    
    .services-card-description {
        font-size: 1.5rem;
        line-height: 24px;
    }
    
    .services-button {
        font-size: 1.125rem;
        padding: 0.875rem 1.75rem;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .services-section {
        margin-top: 1.5rem;
        padding: 2.5rem 1rem;
        gap: 1rem;
    }
    
    .services-container {
        gap: 1rem;
    }
    
    .services-subtitle {
        font-size: 1.75rem;
        line-height: 22px;
    }
    
    .services-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .services-grid {
        gap: 1.5rem;
        margin: 1rem 0;
    }
    
    .services-card {
        padding: 1rem;
        gap: 0.875rem;
        line-height: 22px;
    }
    
    .services-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .services-card-title {
        font-size: 1.125rem;
        line-height: 22px;
    }
    
    .services-card-description {
        font-size: 1.5rem;
        line-height: 22px;
    }
    
    .services-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        line-height: 22px;
    }
    
    .services-button svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 4rem 2rem;
    box-sizing: border-box;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.services-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
    text-align: center;
}

.services-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F766E;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 2rem 0;
}

.services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.services-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F766E;
    flex-shrink: 0;
}

.services-card-icon svg,
.services-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services-card-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.4;
}

.services-card-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #374151;
    margin: 0;
    line-height: 1.6;
}

.services-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.services-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #0F766E;
    color: #FFFFFF;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.services-button:hover {
    background-color: #0D5D56;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.3);
}

.services-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Services Section Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1.5rem;
    }
    
    .services-container {
        gap: 1.5rem;
    }
    
    .services-subtitle {
        font-size: 1.75rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1.5rem 0;
    }
    
    .services-card {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }
    
    .services-card-icon {
        width: 56px;
        height: 56px;
    }
    
    .services-card-title {
        font-size: 1.125rem;
    }
    
    .services-card-description {
        font-size: 1.5rem;
    }
    
    .services-button {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 2.5rem 1rem;
    }
    
    .services-container {
        gap: 1.25rem;
    }
    
    .services-subtitle {
        font-size: 1.75rem;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .services-grid {
        gap: 1.5rem;
        margin: 1.25rem 0;
    }
    
    .services-card {
        padding: 1.25rem 0.75rem;
        gap: 1rem;
    }
    
    .services-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .services-card-title {
        font-size: 1rem;
    }
    
    .services-card-description {
        font-size: 1.5rem;
    }
    
    .services-button {
        font-size: 0.9375rem;
        padding: 0.75rem 1.5rem;
    }
    
    .services-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .education-slider-section {
        padding: 2rem 0;
        overflow-x: hidden;
    }
    
    .education-slider-container {
        gap: 1.25rem;
        padding: 0 0.75rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .education-slider-title {
        font-size: 1.375rem !important;
        font-weight: 600 !important;
        padding-left: 0 !important;
        margin-bottom: 0;
        line-height: 1.4;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .education-slider-wrapper {
        gap: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        overflow: hidden;
        justify-content: center;
        align-items: center;
    }
    
    .education-slider-nav {
        margin: 0 -0.5rem;
    }
    
    .education-slide-item {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        box-sizing: border-box;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .education-slide-card {
        min-height: 70px;
        border-radius: 8px;
        width: 80%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .education-slide-label {
        text-align: center;
        width: 100%;
    }
    
    .education-slider-nav {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        flex-shrink: 0;
    }
    
    .education-slider-nav svg {
        width: 14px;
        height: 14px;
    }
    
    .education-slider-track {
        gap: 0.5rem;
        min-width: 0;
        flex: 1 1 0;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        align-items: center;
        scroll-snap-type: x mandatory;
    }
    
    .education-slide-item {
        scroll-snap-align: start;
    }
    
    .education-slide-label {
        font-size: 1.125rem;
    }
}
