:root {
    --buz-mavisi: #EFF8FF;
    /* Açık mavi (buz rengi) */
    --ana-mavi: #1E84B5;
    /* Temel mavi (marka rengi) */
    --koyu-mavi: #0E384C;
    /* Derin gece mavisi */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section-header-div {
    background-color: var(--buz-mavisi);
}

.section-header-head {
    font-size: 3.375rem; /* 54px / 16 = 3.375rem */
    font-weight: 700;
    color: var(--ana-mavi);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6.25rem; /* 100px / 16 = 6.25rem */
    text-align: center;
    margin: 0;
    min-height: 30vh; /* Minimum yükseklik viewport height ile */
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .section-header-head {
        font-size: 3rem; /* 48px */
        padding: 5rem 4.375rem; /* 80px 70px */
    }
}

@media (max-width: 992px) {
    .section-header-head {
        font-size: 2.625rem; /* 42px */
        padding: 4.5rem 3.75rem; /* 72px 60px */
        min-height: 25vh;
    }
}

@media (max-width: 768px) {
    .section-header-head {
        font-size: 2.25rem; /* 36px */
        padding: 3.75rem 2.5rem; /* 60px 40px */
        min-height: 20vh;
    }
}

@media (max-width: 576px) {
    .section-header-head {
        font-size: 1.875rem; /* 30px */
        padding: 2.5rem 1.25rem; /* 40px 20px */
        min-height: 15vh;
    }
}

@media (max-width: 400px) {
    .section-header-head {
        font-size: 1.5rem; /* 24px */
        padding: 2rem 1rem; /* 32px 16px */
        min-height: 12vh;
    }
}

.treatments-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
}

.treatment-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.treatment-card {
    position: relative;
    padding: 20px 24px 0 24px;
    background-color: white;
    border-radius: 32px;
    border: solid 1px rgba(233, 233, 233, 0.326);
    min-height: 360px;
    overflow: hidden;
    transition: color 0.5s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.treatment-card::before {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--koyu-mavi);
    z-index: 0;
    transition: bottom 0.5s ease;
    border-radius: 32px;
}

.treatment-card:hover::before {
    bottom: 0;
}

.treatment-card * {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.treatment-card:hover .treatment-card-header,
.treatment-card:hover .treatment-card-text {
    color: white !important;
}

.treatment-card:hover .treatment-al {
    color: white;
}

.treatment-card:hover .icon {
    color: white;
}

.treatment-card-header {
    color: var(--koyu-mavi);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 60px;
}

.treatment-card-text {
    color: #527282;
    line-height: 1.8;
    min-height: 96px;
    margin-bottom: 20px;
}

/* Daha fazla bilgi */
.treatment-al-div {
    margin: 40px 0 0 0;
}

.treatment-link {
    text-decoration: none;
}

.treatment-al {
    text-decoration: none;
    word-break: keep-all;
    color: var(--ana-mavi);
    background: transparent;
    background-size: 200% 100%;
    background-position: right bottom;
    border-radius: 32px;
    border: 0px;
    width: auto;
    height: 48px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    gap: 8px;
    padding: 0 20px;
}

.treatment-al .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ana-mavi);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    transition: transform 0.4s ease;
}

.treatment-al:hover {
    background-position: left bottom;
    color: var(--ana-mavi) !important;
}

.treatment-al:hover .icon {
    transform: rotate(45deg);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .treatment-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .treatment-card {
        min-height: 320px;
        padding: 18px 20px 0 20px;
    }
    
    .treatment-card-header {
        margin-top: 40px;
        font-size: 18px;
    }
    
    .treatment-card-text {
        min-height: 84px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .treatment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 50px;
    }
    
    .treatment-card {
        min-height: 300px;
        padding: 16px 18px 0 18px;
    }
    
    .treatment-card-header {
        margin-top: 35px;
        font-size: 17px;
        margin-bottom: 15px;
    }
    
    .treatment-card-text {
        min-height: 78px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .treatment-al-div {
        margin: 25px 0 0 0;
    }
    
    .treatment-al {
        height: 44px;
        font-size: 13px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .treatment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .treatment-card {
        min-height: 260px;
        padding: 15px 15px 0 15px;
        border-radius: 28px;
    }
    
    .treatment-card::before {
        border-radius: 28px;
    }
    
    .treatment-card-header {
        margin-top: 30px;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .treatment-card-text {
        min-height: auto;
        font-size: 13.5px;
        margin-bottom: 8px;
    }
    
    .treatment-al-div {
        margin: 20px 0 0 0;
    }
    
    .treatment-al {
        height: 40px;
        font-size: 12.5px;
        padding: 0 14px;
    }
    
    .treatment-al .icon {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .treatments-section {
        padding: 10px 16px;
    }
    
    .treatment-cards {
        gap: 14px;
    }
    
    .treatment-card {
        min-height: 240px;
        padding: 12px 12px 0 12px;
        border-radius: 24px;
    }
    
    .treatment-card::before {
        border-radius: 24px;
    }
    
    .treatment-card-header {
        font-size: 15px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    
    .treatment-card-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .treatment-al {
        height: 38px;
        font-size: 12px;
        padding: 0 12px;
        border-radius: 28px;
    }
    
    .treatment-al .icon {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .treatment-card {
        min-height: 220px;
        border-radius: 20px;
    }
    
    .treatment-card::before {
        border-radius: 20px;
    }
    
    .treatment-card-header {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .treatment-card-text {
        font-size: 12.5px;
    }
    
    .treatment-al {
        height: 36px;
        font-size: 11.5px;
    }
}