/* templates/hakkimizda.html icindeki <style> blogundan cikarildi.
   Inline CSS her sayfa yuklenisinde yeniden iniyordu; ayri dosya
   tarayicida onbellege alinabiliyor. Konum birebir korundu, yani
   kurallarin siralamasi (cascade) degismedi. */
/* "About Our Company" giris bolumu - gorseldeki tasarim */
    #home-main > .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 150px;
        padding-right: 150px;
    }

    @media (max-width: 992px) {
        #home-main > .container {
            padding-left: 20px;
            padding-right: 20px;
        }
    }

    .about-hero__head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
        flex-wrap: wrap;
        padding: 40px 0px;
    }

    .about-hero__title {
        margin: 0;
        font-size: 32px;
        font-weight: 300;
        color: #0d0f2c;
    }

    .about-hero__title b {
        font-weight: 700;
    }

    .about-hero__lead {
        margin: 0;
        text-align: right;
        font-size: 14px;
        line-height: 1.7;
        color: #666D7C;
    }

    .about-img {
        width: 100%;
        display: block;
        border-radius: 16px;
    }

    .about-hero__intro {
        background: #fff;
        border: 1px solid #ECEDF1;
        border-radius: 16px;
        padding: 28px 32px;
        text-align: left;
        font-size: 14px;
        line-height: 1.8;
        color: #575C6B;
    }

    .about-hero__name {
        color: #D43C3C;
        font-weight: 600;
    }

    .dr-card {
        background: #fff;
        border: 1px solid #ECEDF1;
        border-radius: 16px;
        padding: 20px 28px;
    }

    .dr-about-info__avatar {
        flex: 0 0 auto;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
    }

    .dr-titles p {
        margin: 0;
    }

    .dr-titles p:first-child {
        margin-bottom: 4px;
        font-size: 14px;
        color: #0B0B0F;
    }

    .dr-titles p:last-child {
        font-size: 13px;
        line-height: 1.6;
        color: #666D7C;
    }

    /* Partner seridi: clinic/edu/AILab/angle/anasayfadaki edu-trust ile bire bir ayni tasarim/animasyon */
    .home-trust-stage {
        background: #F5F6F8;
        padding: 30px 0;
    }

    .edu-trust {
        background: #fff;
        border-radius: 40px;
        margin: 0 20px;
        padding: clamp(24px, 3.5vw, 40px) 0;
    }

    .edu-trust .container {
        max-width: none;
        padding-left: clamp(20px, 10.5vw, 150px);
        padding-right: clamp(20px, 10.5vw, 150px);
    }

    .edu-trust__inner {
        display: flex;
        align-items: center;
        gap: clamp(20px, 4vw, 56px);
    }

    .edu-trust__text {
        flex: 0 0 auto;
        max-width: 210px;
        margin: 0;
        color: #666D7C;
        font-size: clamp(13px, 1.4vw, 14px);
        line-height: 1.6;
    }

    .edu-trust__marquee {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        cursor: grab;
        touch-action: pan-y;
    }

    .edu-trust__marquee.is-dragging {
        cursor: grabbing;
    }

    .edu-trust__logos {
        display: flex;
        align-items: center;
        width: max-content;
        gap: clamp(28px, 4vw, 64px);
        margin: 0;
        padding: 0;
        list-style: none;
        user-select: none;
        will-change: transform;
    }

    .edu-trust__logos li {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .edu-trust__logos img {
        display: block;
        height: clamp(28px, 3.4vw, 46px);
        width: auto;
        pointer-events: none;
    }

    @media (max-width: 991px) {
        .edu-trust__inner {
            flex-direction: column;
            text-align: center;
        }

        .edu-trust__text {
            max-width: none;
        }

        .edu-trust__marquee {
            width: 100%;
        }

        .edu-trust__logos {
            gap: clamp(20px, 6vw, 44px);
        }
    }

    /* "Our Mission" bolumu: homepage'deki "How It Works" (.how-it-works-section)
       ile ayni gri sahne + beyaz kart + sag-alt pulslayan rozet animasyonu;
       burada sekme/adim yok, sadece baslik ve 4 misyon kutusu var. */
    .our-mission-stage {
        background: #F5F6F8;
        padding-bottom:30px;
    }

    .our-mission-card {
        position: relative;
        width: auto;
        max-width: none;
        margin: 0 20px;
        padding: clamp(28px, 4vw, 48px) clamp(20px, 10.5vw, 150px);
        border-radius: 40px;
        background: #fff;
        overflow: hidden;
    }

    .our-mission-title {
        position: relative;
        z-index: 1;
        margin: 0 0 8px;
        font-size: clamp(22px, 3.2vw, 30px);
        font-weight: 400;
        color: #0d0f2c;
    }

    .our-mission-title b {
        font-weight: 700;
    }

    .our-mission-lead {
        position: relative;
        z-index: 1;
        margin: 0 0 clamp(24px, 3vw, 40px);
        max-width: 520px;
        font-size: 14px;
        line-height: 1.7;
        color: #666D7C;
    }

    .mission-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .mission-box {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        height: auto;
        background: #fff;
        border: 1px solid #ECEDF1;
        border-radius: 16px;
        padding: 22px 24px;
        box-shadow: none;
        transition: none;
    }

    .mission-box:hover {
        transform: none;
        box-shadow: none;
    }

    .mission-icon {
        flex: 0 0 auto;
        width: 24px;
        height: 24px;
    }

    .mission-icon img {
        width: 100%;
        height: 100%;
    }

    .mission-box p {
        margin: 0;
        font-size: 13.5px;
        line-height: 1.7;
        color: #666D7C;
    }

    .hiw-badge {
        position: absolute;
        right: calc(var(--hiw-mark, clamp(120px, 16vw, 200px)) * -0.15);
        bottom: calc(var(--hiw-mark, clamp(120px, 16vw, 200px)) * -0.15);
        width: var(--hiw-mark, clamp(120px, 16vw, 200px));
        height: var(--hiw-mark, clamp(120px, 16vw, 200px));
        display: grid;
        place-items: center;
        z-index: 0;
        pointer-events: none;
    }

    .hiw-badge__pulse {
        position: absolute;
        inset: -8%;
        z-index: 0;
        display: block;
        margin: 0;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(255, 98, 98, .22) 0%, rgba(118, 64, 232, .22) 55%, rgba(50, 145, 255, .22) 100%);
        opacity: 0;
        transform: scale(1.02);
        animation: hiw-badge-pulse 6.5s cubic-bezier(.12, .46, .22, 1) infinite;
        animation-delay: var(--pulse-delay);
        pointer-events: none;
    }

    .hiw-badge__logo {
        position: relative;
        z-index: 1;
        width: 80%;
        height: auto;
        display: block;
    }

    @keyframes hiw-badge-pulse {
        0%   { opacity: 0;   transform: scale(1.02); }
        14%  { opacity: .45; }
        48%  { opacity: .18; }
        100% { opacity: 0;   transform: scale(1.5); }
    }

    @media (prefers-reduced-motion: reduce) {
        .hiw-badge__pulse { animation: none; opacity: .3; }
    }

    @media (max-width: 768px) {
        .mission-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .about-hero__head {
            flex-direction: column;
        }

        /* Tek sutuna dusunce metin basligin ALTINA geciyor; saga yasli
           birakmak onu baslikla hizasiz gosteriyordu. Mobilde sola. */
        .about-hero__lead {
            text-align: left;
        }
    }

    /* "Our Vision" bolumu: clinic sayfasindaki "Fast and More Accurate
       Diagnoses" (.section-two) ile bire bir ayni gri sahne + beyaz kart
       duzeni; global .section-two (homepage.css) burada eziliyor. */
    .section-two {
        background: #F5F6F8;
        margin: 0;
        padding: 0 0 30px;
    }

    .section-two .container {
        width: auto;
        max-width: none;
        margin: 0 20px;
        padding: clamp(28px, 4vw, 48px) clamp(20px, 10.5vw, 150px);
        border-radius: 40px;
        background: #fff;
    }

    .section-two h2 {
        font-size: clamp(22px, 3.5vw, 28px);
        line-height: 1.3;
        font-weight: 300;
        color: #0d0f2c;
    }

    .section-two h2 .title-gradient {
        font-weight: 600;
    }

    .section-two p {
        font-size: 15px;
        line-height: 1.6;
        color: #666D7C;
    }

    .section-two__tagline {
        margin-top: 4px;
    }

    .section-two__tagline b {
        color: #0B0B0F;
        font-weight: 600;
    }

    .section-two .row {
        align-items: stretch;
    }

    .clinic-div-1 {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 1px solid rgba(179, 185, 194, 0.4);
        border-radius: 20px;
    }

    .clinic-div-2 {
        width: 100%;
        height: auto;
        border: 1px solid rgba(179, 185, 194, 0.4);
        border-radius: 20px;
    }

    .img-titles p {
        font-size: clamp(14px, 2vw, 16px);
        line-height: 1.4;
        /* bootstrap p{margin-bottom:1rem} kutuyu uzatiyor,
           translateY(-50%) uzamis kutuyu ortalayinca metin
           yukarida kaliyordu. */
        margin: 0;
    }

    .img-titles.integrated p,
    .img-titles.integrated b {
        color: #0B0B0F;
        font-weight: 700;
        font-size: var(--cc-body);
    }

    .detection-color {
        color: #fff;
        font-weight: 600;
        /* base.css'teki global "b.detection-color{font-size:var(--cc-small)!important}"
           kurali (event/rozet metinleri icin, 13px) bu basligi da eziyordu;
           bu sayfadaki .img-titles.integrated b ile ayni boyuta gelmesi icin
           !important sart. */
        font-size: var(--cc-body) !important;
    }

    /* "Musteri ve calisan memnuniyeti..." metni: products.css'teki
       .upload-text mavi-mor gradyan + seffaf yazi dolgusu veriyor.
       Bu kutuda duz siyah isteniyor. (img-titles-fast varyanti icin
       asagida ayni sey beyazla yapiliyor.) */
    .img-titles.integrated .upload-text {
        background: none;
        -webkit-text-fill-color: #0B0B0F;
        color: #0B0B0F;
    }

    /* Sol kolondaki tek gorsel, dogal yuksekligiyle satirin yuksekligini
       belirliyordu: 886x895 (neredeyse kare) oldugu icin genis ekranda
       sagdaki iki gorselin toplamini asiyor ve kart digerlerinden uzun
       gorunuyordu (2220px kart icinde ~24px, ekran buyudukce artiyor).
       Akistan cikarilinca satir yuksekligini sag kolon belirliyor, gorsel
       de object-fit: cover ile o yuksekligi tam dolduruyor.
       Yalnizca >=769px: 768px altinda mevcut kurallar height:auto veriyor. */
    @media (min-width: 769px) {
        .clinic-div-1 {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .img-titles {
            z-index: 2;
        }
    }

    .img-titles.img-titles-fast .upload-text {
        background: none;
        -webkit-text-fill-color: #fff;
        color: #fff;
        font-weight: 600;
    }

    /* Responsive Media Queries - Sadece responsive kodlar */

/* Large screens (1200px ve üzeri) */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Medium screens - Tablet (992px ve altı) */
@media (max-width: 992px) {
    /* Header section */
    #home-main h1 {
        font-size: 2rem;
    }
    
    /* Mission section başlık */
    .section-two h2 {
        font-size: var(--cc-h2);
    }
    
    /* Vision section flex yapısı */
    .section-two .d-flex {
        flex-direction: column !important;
        text-align: center;
    }
    
    /* Vision images - 2 sütundan 1 sütuna */
    .section-two .col-lg-5,
    .section-two .col-lg-6 {
        width: 100% !important;
        margin-bottom: 30px;
    }
    
    /* Doctor card flex yapısı */
    .dr-about-info {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .dr-about-info img {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Small screens - Tablet portrait (768px ve altı) */
@media (max-width: 768px) {
    /* Ana container padding */
    #home-main {
        padding: 30px 0;
    }
    
    #home-main h1 {
        font-size: 1.8rem;
    }
    
    #home-main p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* White boxes padding */
    #home-main > .container > div[style*="background-color: #fff"] {
        padding: 20px !important;
        margin-top: 20px !important;
    }
    
    .dr-card {
        padding: 20px !important;
        margin-top: 20px !important;
    }
    
    /* Section padding */
    .section-two {
        padding: 50px 0 !important;
    }
    
    .section-two h2 {
        font-size: var(--cc-h2);
    }
    
    /* Mission boxes */
    .mission-box {
        padding: 20px !important;
        margin-bottom: 20px;
    }
    
    /* CTA sections */
    .section-four-modal h2,
    .section-four-modal-two h2 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .demo-btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        font-size: 13px;

    }
    
    /* Vision images */
    .clinic-div-1,
    .clinic-div-2 {
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }
    
    /* Absolute positioned texts - tam ekrandaki gibi kalsın, sadece responsive */
    .section-two p[style*="position: absolute"] {
        position: absolute !important;
        padding: calc(20px + 1vw) !important;
        font-size: calc(0.8rem + 0.5vw) !important;
    }
    
    /* İlk absolute text - sol üstte */
    .section-two .col-lg-5 p[style*="position: absolute"] {
        top: calc(30px + 2vw) !important;
        left: calc(20px + 2vw) !important;
        right: auto !important;
        max-width: calc(200px + 10vw) !important;
    }
    
    /* İkinci absolute text - sağ üstte beyaz yazı */
    .section-two .col-lg-6 p[style*="color: white"] {
        top: calc(40px + 3vw) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        max-width: calc(250px + 10vw) !important;
    }
    
    /* Üçüncü absolute text - sol altta */
    .section-two .col-lg-6 p[style*="padding: 60px"] {
        bottom: calc(20px + 2vw) !important;
        left: calc(20px + 2vw) !important;
        top: auto !important;
        max-width: calc(200px + 8vw) !important;
        padding: calc(15px + 1vw) !important;
    }
}

/* Extra small screens - Mobile (576px ve altı) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px !important;
    }
    
    #home-main h1 {
        font-size: 1.6rem;
    }
    
    /* Padding adjustments */
    #home-main > .container > div[style*="background-color: #fff"],
    .dr-card {
        padding: 15px !important;
    }
    
    .section-two {
        padding: 40px 0 !important;
    }
    
    .mission-box {
        padding: 15px !important;
    }
    
    .section-four {
        padding: 40px 0 !important;
    }
    
    .section-four-modal h2,
    .section-four-modal-two h2 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .demo-btn {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }
    
    /* Vision section responsive text - calc ile responsive */
    .section-two p[style*="position: absolute"] {
        font-size: calc(0.7rem + 0.4vw) !important;
        padding: calc(10px + 1vw) !important;
    }
    
    /* Mobile için image container relative yaparak text pozisyonunu koru */
    .section-two .col-lg-5,
    .section-two .col-lg-6 {
        position: relative !important;
    }
    
    /* Mobile'da görsel boyutları */
    .clinic-div-1,
    .clinic-div-2 {
        max-width: 100% !important;
        height: calc(200px + 10vw) !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }
}

/* Very small screens (400px ve altı) */
@media (max-width: 400px) {
    #home-main h1 {
        font-size: 1.4rem;
    }
    
    .section-four-modal h2,
    .section-four-modal-two h2 {
        font-size: 1.1rem !important;
    }
    
    #home-main > .container > div[style*="background-color: #fff"] b {
        font-size: 1rem !important;
    }
    
    /* Çok küçük ekranlarda text boyutları */
    .section-two p[style*="position: absolute"] {
        font-size: calc(0.65rem + 0.3vw) !important;
        padding: calc(8px + 0.5vw) !important;
    }
    
    /* Görseller daha küçük */
    .clinic-div-1,
    .clinic-div-2 {
        height: calc(150px + 8vw) !important;
        max-height: 220px !important;
    }
}

/* Bootstrap grid overrides for mobile */
@media (max-width: 768px) {
    .col-lg-6,
    .col-lg-7,
    .col-lg-5,
    .col-md-6,
    .col-md-12 {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .row.g-4 {
        gap: 15px !important;
    }
}

/* Image responsive */
@media (max-width: 768px) {
    .about-img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .mission-icon img {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Text alignment fixes for mobile */
@media (max-width: 768px) {
    .dr-titles {
        text-align: center !important;
    }
    
    .dr-titles p:first-child {
        font-size: 1.1rem;
    }
}


main h2 { font-weight: 400; }                 /* bootstrap h2 500 */
main .h5 { font-weight: 400; }                /* bootstrap .h5 500 */
main b { font-weight: 600; }                  /* bootstrap b bolder (~700) */
main .upload-text { font-weight: 500; }       /* products.css 600 */
main .accordion-header { font-weight: 600; }  /* homepage.css bold (700) */

.home-cta-stage {
  background: #F5F6F8;
  margin: 40px 0 0;
  padding: 0 0 30px;
}

/* Bu CTA "Our Mission" gri sahnesinin hemen ardindan geliyor; ust boslugu
   kendisi eklemiyor, .our-mission-stage'in kendi alt boslugu yeterli. */
.home-cta-stage--chained {
  margin-top: 0;
  padding-top: 0;
}

.edu-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  width: 83%;
  margin: 0 auto;
  padding: clamp(12px, 1.4vw, 16px) clamp(18px, 2.4vw, 30px);
  border-radius: 25px;
  background: var(--cc-brand);
  color: #fff;
}

.edu-cta__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 300;
}

.edu-cta__text b {
  font-weight: 600;
}

.edu-cta__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: var(--cc-small);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease;
}

.edu-cta__btn:hover {
  background: rgba(255, 255, 255, .16);
}

@media (max-width: 767px) {
  .edu-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
}

.cta-section .faq-stage {
  margin-top: 0;
  padding-top: 0;
}

.cta-section {
  --edu-block-gap: 0px;
}


/* Vizyon bolumundeki portre fotograf ve uzerindeki baslik.
   Kutu neredeyse kare, dosya 3:4 portre: object-fit cover ortadan kirptigi
   icin basin ustu kesiliyordu, kirpim noktasi yukari cekildi.
   Baslik da ustten alta tasindi -- ustte denegin yuzunun uzerine geliyordu.
   Arkada hem koyu takim hem acik duvar var, o yuzden metin beyaz ve altinda
   yukari dogru acilan bir gradyan var. */
.clinic-div-1.vision-portrait {
    object-position: center 6%;
}

.img-titles.vision-portrait-caption {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 56px 24px 20px;
    background: linear-gradient(to top,
        rgba(2, 24, 56, .88) 0%,
        rgba(2, 24, 56, .60) 45%,
        rgba(2, 24, 56, 0) 100%);
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.img-titles.vision-portrait-caption p,
.img-titles.vision-portrait-caption b,
.img-titles.vision-portrait-caption label {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

@media (max-width: 768px) {
    /* Yatay kutuda portre fotograf neredeyse tamamen kirpiliyordu. */
    .clinic-div-1.vision-portrait {
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 4 / 5;
    }

    .img-titles.vision-portrait-caption {
        padding: 44px 18px 16px;
    }
}
