



/* KART: yüksekliği sabitleme, taşmayı engelleme */
.chart-card{
  position: relative;
  overflow: visible;
  border-radius: 0.75rem;
}

/* ALAN: sabit yükseklik yok; minimum ver, gerekirse büyüsün */
.chart-area{
  position: relative;
  width: 100%;
  min-height: 280px;   /* başlangıç yüksekliği */
  overflow: visible;
}
@media (min-width:768px){
  .chart-area{ min-height: 320px; }
}
/* Büyük (tam satır) grafik biraz daha uzun olsun */
.chart-card.tall .chart-area{ min-height: 360px; }

/* Canvas, alanı doldursun – absolute kullanma */
.chart-area canvas{
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.chart-header{ margin-bottom: .5rem; }

/* Butonun üstten boşluk bırakması için kapsayıcı */
.whatsapp-btn-container {
    margin-top: 1.5rem; /* 24px */
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* İkon ile yazı arası boşluk */
    padding: 0.75rem 1.5rem; /* Buton içi boşluk */
    
    background-color: #ffffff;
    color: #25D366; /* WhatsApp yeşili */
    border: 2px solid #25D366; /* WhatsApp yeşili çerçeve */
    
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* Diğer butonlarla uyumlu yuvarlaklık */
    
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #f0fff4; /* Hafif yeşil arka plan */
    color: #128C7E; /* Koyu WhatsApp yeşili */
    border-color: #128C7E;
    transform: translateY(-2px); /* Butonun hafifçe yukarı kalkması */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* WhatsApp ikonu için (Font Awesome kullandığını varsayarak) */
.btn-whatsapp .fab {
    font-size: 1.25rem;
}




/* --- Masaüstü Görünümü (1024px ve üzeri) --- */
@media (min-width: 1024px) {
    .hamburger-menu,
    .sidebar-overlay {
        display: none !important; /* Hamburger ve overlay'i masaüstünde gizle */
    }
}


/* --- Mobil ve Tablet Görünümü (1023px ve altı) --- */
@media (max-width: 1023px) {
    /* Hamburger Menü Butonu */
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1050; /* En üstte olması için */
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        width: 45px;
        height: 45px;
        font-size: 20px;
        color: #6d28d9; /* Mor */
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* Sol Sidebar (Menü) */
    #student-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 280px; /* Menü genişliği */
        transform: translateX(-100%); /* Başlangıçta ekranın dışında */
        transition: transform 0.3s ease-in-out;
        z-index: 1040; /* Hamburgerin bir katman altında */
        overflow-y: auto; /* İçerik taşarsa scroll çıksın */
    }

    /* Menü Aktif (Açık) Olduğunda */
    #student-sidebar.active {
        transform: translateX(0); /* Ekranın içine kaydır */
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }

    /* Arka Plan Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1030; /* Menünün arkasında */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    /* Overlay Aktif Olduğunda */
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Ana içeriğin menü tarafından ezilmesini engelle */
    main.flex-1 {
        width: 100%;
    }
    
    /* Sağdaki leaderboard'un mobilde altta görünmesi için */
    .flex.gap-6.items-start {
        flex-direction: column;
    }
    aside.w-72 {
        width: 100%; /* Liderlik tablosu tam genişlik olsun */
        margin-top: 1.5rem;
    }
    aside.w-72 > div.sticky {
        position: static; /* sticky özelliğini mobilde iptal et */
    }
}



/* Genel Sıfırlamalar ve Temel Body Stilleri */
body {
    margin: 0; /* Tarayıcının varsayılan margin'ini kaldır */
    padding: 0; /* Tarayıcının varsayılan padding'ini kaldır */
    font-family: 'Poppins', sans-serif; /* Poppins fontunu kullanıyoruz */
    color: #3f3f3f; /* Koyu gri, okunabilir bir renk */
    font-weight: 300; /* Yazı tipini ince yapmak için (Light) */
    /* Navbar yüksekliği kadar boşluk, navbar sabit olduğu için */
    padding-top: 60px; /* Navbar yüksekliğinize göre ayarlayın */
}
body.student-panel {
    padding-top: 0 !important;
}
/* Navbar Stilleri */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 100px; /* Navbar'ın tam olarak bu yükseklikte kalmasını sağlayın */
    box-sizing: border-box; /* padding'in yüksekliğe dahil olmasını sağlar */
    position: fixed; /* Navbar'ın sayfayı kaydırırken sabit kalması için */
    top: 0; /* Üste yapışmasını sağlar */
    width: 100%; /* Tam genişliği kaplamasını sağlar */
    z-index: 1000; /* Diğer elementlerin üzerinde olmasını sağlar */
    background-color: #fff; /* Navbar'a arka plan rengi verin (varsayılanı transparan olabilir) */
    box-shadow: 0 2px 4px rgba(0,0,0,.1); /* Hafif bir gölge ekleyebiliriz */
}

/* Navbar markasının (logonun) dikey hizasını ayarla, eğer tam ortada durmuyorsa */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo (navbar-brand içindeki görsel) büyütme */
.navbar-brand img {
    height: 70px; /* Logoyu biraz daha büyütmek için */
    width: auto; /* Genişliği otomatik olarak orantılı ayarla */
}

/* Navbar bağlantıları için özel stil */
.navbar-nav .nav-item .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Normal (Regular) font ağırlığı */
    color: #3f3f3f; /* Varsayılan link rengi */
    font-size: 1.05rem; /* Yazı boyutunu biraz büyütün */
    padding: 0.5rem 1rem; /* Link boşluklarını ayarlayın */
    white-space: nowrap; line-height: 1.5;
}

/* Navbar Aktif Link Rengi */
.navbar-nav .nav-item .nav-link.active {
    color: #e74c3c !important; /* Kırmızı tonu, görseldeki aktif renge yakın */
    font-weight: 500; /* Aktif linki biraz daha belirgin yapın (Medium) */
}

/* Diğer Linklerin Hover Etkisi */
.navbar-nav .nav-item .nav-link:not(.active):hover {
    color: #ff0000 !important; /* Turuncu tonu, görseldeki hover etkisine yakın */
}

/* Butonlar için genel stil iyileştirmeleri */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 0.3rem;
}

.btn-primary {
    background-color: #ff0000da;
    border-color: #ff0000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #b30000;
    border-color: #b30000;
}

.btn-outline-primary {
    color: #ff0000;
    border-color: #ff0000;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: #ff0000;
    color: #fff;
}

/* ========================================= */
/* Dikkat Çeken Buton Animasyonu        */
/* ========================================= */

.animated-button {
  /* Animasyonun uygulanması */
  animation: pulse-animation 2s infinite;

  /* Butonun gölgesinin daha güzel görünmesi için */
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  border-radius: 5px; /* Butonunuzun kenarları zaten yuvarlaksa bu satıra gerek olmayabilir */
  position: relative;
}

/* Animasyonun kendisini tanımlıyoruz */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); /* Başlangıçta normal gölge */
  }

  70% {
    transform: scale(1.05); /* Buton biraz büyüsün */
    box-shadow: 0 0 0 20px rgba(52, 152, 219, 0); /* Gölge genişleyip kaybolsun */
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); /* Bitişte gölge tamamen kaybolsun */
  }
}




/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Bootstrap'in lg breakpoint'ine kadar */
    .navbar {
        margin-bottom: 50px;
        height: auto; /* Küçük ekranlarda otomatik yükseklik */
    }
    body {
        padding-top: 100px; /* Küçük ekranlarda navbar daha kısa olacağı için daha az boşluk (isteğe bağlı, test edin) */
    }
    /* Hamburger menü açıldığında içerik alta kaysın diye gerekirse buraya ek stiller */
    .navbar-collapse.show {
        padding-top: 10px; /* Menü açıldığında içeriğe biraz boşluk */
    }
}

/* Mobil cihazlarda navbar logosunu küçült */
@media (max-width: 991.98px) { /* Bootstrap lg breakpoint ve altı */
    .navbar {
        background-color: #d36cff !important; /* Açık mor */
    }
    /* Logo küçültme ve dairesel yapma */
    .navbar-brand img {
        
        border-radius: 10%; /* Tam dairesel */
        object-fit: cover;
    }
    /* Mobilde link renklerini de değiştirelim */
    .navbar-nav .nav-link {
        color: #ffffff !important; /* Örnek: koyu gri, ihtiyaca göre değiştir */
    }

    .navbar-nav .nav-link.active {
        color: #ffffff !important; /* Aktif link rengi örneği */
    }

    .navbar-toggler {
        border-color: #ffffff !important; /* Hamburger ikon çerçevesi */
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(63,63,63,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
    .navbar-brand img {
        height: 40px;  /* İstediğiniz mobil boyutu */
        width: auto;   /* Oranları koru */
    }
}









/* Masaüstü düzeni */
@media (min-width: 992px) {
    .what-is-section .row.align-items-center {
        display: flex;
        align-items: center;       /* Dikey ortala */
        justify-content: center;    /* Ortala tüm satırı */
        gap: 0rem;                 /* Yazı ve görsel arasındaki mesafe */
    }
    /*yazı kolonu*/
    .what-is-section .col-lg-6.text-center.text-lg-start {
        display: flex;
        flex-direction: column; /* Üst üste yazılar */
        justify-content: center; /* Dikeyde ortala, istersen kaldırabilirsin */
        align-items: flex-start; /* Yazılar sol hizalı, ama padding ile ortaya kaydıracağız */
        padding-left: 10%; /* Yarıyı deneyebilirsin, resim kolonunu etkilemez */
        max-width: 100%;
    }

    /* Görsel kolonunu ortala */
    .what-is-section .col-lg-6.text-center.mb-4.mb-lg-0 {
        display: flex;
        justify-content: center;
    }

    .what-is-section .image-wrapper {
        width: 350px;
        height: 350px;
    }
}


/* What is Section (YENİ TASARIM) */
.what-is-section h2 .text-primary {
    color: #3498db !important;
}

.what-is-section h5.text-danger {
    color: #e74c3c !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem; /* Küçültüldü */
}

/* Başlık font boyutu */
.what-is-section h2 {
    font-size: 2.5rem; /* Daha dengeli */
    line-height: 1.2;
}

/* Ana açıklama paragrafı */
.what-is-section p.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Görsel wrapper ve dairesel form */
.what-is-section .image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Ortalamak için */
}

.what-is-section .what-is-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s ease;
}

.what-is-section .what-is-image:hover {
    transform: scale(1.05);
}

/* Madde işaretli liste */
.what-is-section .list-unstyled li span {
    font-size: 0.95rem;
    color: #555;
}

.what-is-section .list-unstyled li i {
    font-size: 1.1rem;
    color: #28a745 !important;
}

/* Buton stili */
.what-is-section .btn-primary {
    background-color: #e74c3c;
    border-color: #e74c3c;
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.what-is-section .btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* Responsive ayarlamalar */
@media (max-width: 991.98px) {
    .what-is-section .image-wrapper {
        width: 200px;
        height: 200px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .what-is-section h2 {
        font-size: 2rem;
        text-align: center;
    }
    .what-is-section p.lead {
        font-size: 1rem;
        text-align: center;
    }
    .what-is-section .list-unstyled li span {
        font-size: 0.9rem;
    }
    .what-is-section .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* ============================================= */
/* KURUMSAL ONAY VE GÜVEN BÖLÜMÜ STİLLERİ (İKONLU)*/
/* ============================================= */
.awards-section {
    background-color: #f8f9fa; /* Arka plan rengi (açık gri) */
}

.awards-section .display-5 {
    color: #212529; /* Ana başlık rengi */
}

.awards-section .text-primary {
    color: #6f42c1 !important; /* Vurgulu metin rengi (mor tonu) */
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.award-icon-wrapper {
    width: 100px; /* Dairenin genişliği */
    height: 100px; /* Dairenin yüksekliği */
    border-radius: 50%; /* Tam daire şekli */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.award-icon-wrapper i {
    font-size: 2.8rem; /* İkon boyutu */
    color: white; /* İkon rengi */
}

.award-item:hover .award-icon-wrapper {
    transform: scale(1.05) translateY(-5px); /* Üzerine gelince efekt */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.award-caption {
    font-weight: 500;
    color: #495057; /* Yazı rengi */
    font-size: 0.95rem;
    line-height: 1.4;
}

/* İkon Arka Plan Renkleri */
.bg-warning { background-color: #ffc107 !important; }
.bg-pink { background-color: #d63384 !important; }
.bg-purple { background-color: #6f42c1 !important; }
.bg-orange { background-color: #fd7e14 !important; }
.bg-teal { background-color: #20c997 !important; }


/* Daha küçük ekranlar için ayarlar */
@media (max-width: 767px) {
    .award-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    .award-icon-wrapper i {
        font-size: 2.2rem;
    }
    .award-caption {
        font-size: 0.85rem;
    }
}


/* Who Benefits Section Stilleri */
.who-benefits-section h2 .text-success {
    color: #a72828 !important;
}

.who-benefits-section h5.text-muted {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.who-benefits-section h2 {
    font-size: 2.5rem;
}

.who-benefits-section .card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.2rem !important; /* Padding'i tekrar 1.2rem'e alalım, metin uzayacağı için iç boşluk kalsın */
    height: 100%;
    /* YENİ EKLENEN KISIM */
    max-width: 300px; /* Kartın maksimum genişliğini belirler */
    margin-left: auto; /* Kartı kendi sütunu içinde ortalar */
    margin-right: auto; /* Kartı kendi sütunu içinde ortalar */
}
.who-benefits-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.who-benefits-section .card-icon i {
    font-size: 3rem; /* İkon boyutunu önceki hale döndürdük */
    margin-bottom: 0.8rem; /* İkon ile başlık arasındaki boşluğu önceki hale döndürdük */
    line-height: 1;
}

.who-benefits-section .card-title {
    font-size: 1.25rem; /* Kart başlıklarının font boyutunu önceki hale döndürdük */
    margin-bottom: 0.5rem !important; /* Başlık ile paragraf arasına boşluğu önceki hale döndürdük */
}
.who-benefits-section .card-text {
    font-size: 0.9rem; /* Kart metinlerinin font boyutunu önceki hale döndürdük */
    color: #6c757d;
    line-height: 1.5; /* Satır aralığını normal hale döndürdük (varsayılan genelde 1.5) */
}


/* İkon renkleri (isteğe bağlı, Bootstrap'in kendi renk sınıflarını kullanabilirsiniz) */
.who-benefits-section .text-info { color: #17a2b8 !important; }
.who-benefits-section .text-warning { color: #ffc107 !important; }
.who-benefits-section .text-danger { color: #dc3545 !important; }
.who-benefits-section .text-primary { color: #007bff !important; }
.who-benefits-section .text-secondary { color: #6c757d !important; }
.who-benefits-section .text-dark { color: #343a40 !important; }

/* Responsive Ayarlamalar için (eğer mobil veya tablet görünümlerde de bu daralma isteniyorsa) */
@media (max-width: 991.98px) { /* Medium ve daha küçük ekranlar */
    .who-benefits-section .card {
        max-width: 280px; /* Tablet için maksimum genişlik */
    }
}

@media (max-width: 767.98px) { /* Small ve daha küçük ekranlar */
    .who-benefits-section .card {
        padding: 1rem !important;
        max-width: 300px; /* Mobil için maksimum genişlik (genişleyecek) */
    }
    .who-benefits-section .card-icon i {
        font-size: 2.8rem;
    }
    .who-benefits-section .card-title {
        font-size: 1.15rem;
    }
    .who-benefits-section .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}



/* Features Section Stilleri */
.features-section {
    background-color: #f8f9fa; /* Hafif gri bir arka plan */
    padding-top: 80px;
    padding-bottom: 80px;
}

.features-section h2 .text-info {
    color: #17a2b8 !important; /* Bu rengi istediğiniz mavi tonuna göre ayarlayın */
}

.features-section .feature-item {
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); /* Daha hafif bir gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Eşit yükseklik sağlamak için */
}

.features-section .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* Hover'da daha belirgin gölge */
}

.features-section .feature-item i {
    font-size: 3.5rem; /* İkon boyutunu ayarlayın */
    margin-bottom: 1.2rem; /* İkon ile başlık arasındaki boşluk */
    line-height: 1; /* Satır yüksekliği ayarlaması */
}

.features-section .feature-item h4 {
    font-size: 1.4rem; /* Başlık boyutu */
    margin-bottom: 0.6rem; /* Başlık ile paragraf arasındaki boşluk */
    color: #343a40; /* Koyu gri başlık rengi */
}

.features-section .feature-item p.text-muted {
    font-size: 0.95rem; /* Açıklama metni boyutu */
    color: #6c757d; /* Açıklama metni rengi */
}

/* İkon Renkleri (Bootstrap'in varsayılan renklerini kullanır, gerekirse değiştirin) */
.features-section .text-primary { color: #007bff !important; } /* Mavi */
.features-section .text-success { color: #28a745 !important; } /* Yeşil */
.features-section .text-warning { color: #ffc107 !important; } /* Sarı */
.features-section .text-danger { color: #dc3545 !important; } /* Kırmızı */

/* Responsive Ayarlamalar (isteğe bağlı) */
@media (max-width: 767.98px) { /* Small ve daha küçük ekranlar */
    .features-section .feature-item {
        padding: 1.5rem;
    }
    .features-section .feature-item i {
        font-size: 3rem;
    }
    .features-section .feature-item h4 {
        font-size: 1.2rem;
    }
    .features-section .feature-item p.text-muted {
        font-size: 0.9rem;
    }
}




/* How It Works Section Stilleri */
.how-it-works-section {
    background-color: #ffffff; /* Beyaz arka plan */
    padding-top: 80px;
    padding-bottom: 80px;
}

.how-it-works-section h2 .text-primary {
    color: #3498db !important; /* Bu rengi istediğiniz mavi tonuna göre ayarlayın */
}

.how-it-works-section .step-item {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: #f8f9fa; /* Adım kartları için hafif gri arka plan */
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Eşit yükseklik sağlamak için */
    position: relative; /* Numara konumu için */
    overflow: hidden; /* Numara dışarı taşmaması için */
}

.how-it-works-section .step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.how-it-works-section .step-number {
    position: absolute;
    top: 15px; /* Kartın üst kenarından içeriye doğru boşluk */
    left: 15px; /* Kartın sol kenarından içeriye doğru boşluk */
    font-size: 2.5rem; /* Numara boyutunu biraz küçülttüm ki içerde daha iyi dursun */
    font-weight: bold;
    color: rgba(0, 0, 0, 0.08); /* Çok açık gri renk */
    z-index: 0; /* İçeriğin arkasında kalması için */
    line-height: 1;
}

.how-it-works-section .step-item i {
    font-size: 3.5rem; /* İkon boyutu */
    margin-bottom: 1rem;
    position: relative; /* Numaranın üzerinde kalması için */
    z-index: 1;
}

.how-it-works-section .step-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #343a40;
    position: relative;
    z-index: 1;
}

.how-it-works-section .step-item p.text-muted {
    font-size: 0.95rem;
    color: #6c757d;
    position: relative;
    z-index: 1;
}

/* İkon Renkleri (Bootstrap'in varsayılan renklerini kullanır) */
.how-it-works-section .text-success { color: #28a745 !important; }
.how-it-works-section .text-warning { color: #ffc107 !important; }
.how-it-works-section .text-danger { color: #dc3545 !important; }
.how-it-works-section .text-info { color: #17a2b8 !important; }

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Medium ve daha küçük ekranlar */
    .how-it-works-section .step-item {
        padding: 1.5rem;
    }
    .how-it-works-section .step-number {
        top: 10px; /* Mobil için daha az boşluk */
        left: 10px;
        font-size: 2rem; /* Mobil için numara boyutunu küçült */
    }
    .how-it-works-section .step-item i {
        font-size: 3rem;
    }
    .how-it-works-section .step-item h4 {
        font-size: 1.3rem;
    }
    .how-it-works-section .step-item p.text-muted {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) { /* Small ve daha küçük ekranlar */
    .how-it-works-section .step-item {
        padding: 1.2rem;
    }
    .how-it-works-section .step-number {
        top: 8px; /* Daha küçük mobil ekranlar için */
        left: 8px;
        font-size: 1.8rem; /* Daha küçük mobil ekranlar için numara boyutu */
    }
    .how-it-works-section .step-item i {
        font-size: 2.5rem;
    }
    .how-it-works-section .step-item h4 {
        font-size: 1.1rem;
    }
    .how-it-works-section .step-item p.text-muted {
        font-size: 0.85rem;
    }
}







/* How Can We Help Section Stilleri */
.how-can-we-help-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.how-can-we-help-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.how-can-we-help-section .help-button {
    margin: 0.1rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 1rem;
    text-decoration: none !important;
    color: inherit !important;
}

.how-can-we-help-section .help-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1);
}

/* YENİ: İkonlar için stil */
.how-can-we-help-section .help-button i {
    /* Font Awesome ikonları için boyut ve alt boşluk */
    font-size: 3rem; /* İkon boyutunu ayarladım, fa-3x ile uyumlu */
    margin-bottom: 0.8rem;
    line-height: 1; /* İkon ve metin arasındaki boşluğu düzenlemek için */
}

/* ESKİ: .help-button img kuralını KALDIRIN */
/* .how-can-we-help-section .help-button img {
    max-width: 70px;
    height: auto;
    margin-bottom: 0.8rem;
} */

.how-can-we-help-section .help-button h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #343a40;
}

.how-can-we-help-section .help-button span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* İkon renkleri (isteğe bağlı, Bootstrap'in kendi renk sınıflarını kullanabilirsiniz) */
.how-can-we-help-section .text-primary { color: #007bff !important; }
.how-can-we-help-section .text-success { color: #28a745 !important; }
.how-can-we-help-section .text-warning { color: #ffc107 !important; }


/* Responsive Ayarlamalar */
@media (max-width: 767.98px) {
    .how-can-we-help-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .how-can-we-help-section .help-button {
        padding: 1rem;
    }
    .how-can-we-help-section .help-button i { /* Mobil için ikon boyutu */
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    .how-can-we-help-section .help-button h5 {
        font-size: 1rem;
    }
    .how-can-we-help-section .help-button span {
        font-size: 0.8rem;
    }
}









/* Success Story / Info Section Stilleri */
.success-info-section {
    background-color: #ffffff; /* Beyaz arka plan */
    padding-top: 80px;
    padding-bottom: 80px;
}

.success-info-section .image-wrapper {
    position: relative;
    /* Gerekirse resmin etrafına dekoratif şekiller için */
    /* Resimdeki üçgen ve kare şekilleri için örnekler (daha karmaşık olabilir) */
    /*
    &::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        width: 50px;
        height: 50px;
        background-color: #a7d9b9; // Açık yeşil tonu
        transform: rotate(45deg);
        z-index: -1;
    }
    &::after {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 70px;
        height: 70px;
        background-color: #d1e7dd; // Bootstrap success background
        border-radius: 50%;
        z-index: -1;
    }
    */
}

.success-info-section .image-wrapper img {
    border: 5px solid #fff; /* Beyaz kenarlık */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* Hafif gölge */
    transition: transform 0.3s ease;
}

.success-info-section .image-wrapper img:hover {
    transform: scale(1.02);
}

.success-info-section h2 {
    font-size: 1.8  rem; /* Başlık boyutu */
    line-height: 1.2;
}

.success-info-section p.lead {
    font-size: 1.05rem; /* Metin boyutu */
    color: #6c757d;
}

/* Sayaç Stilleri */
.success-info-section .text-danger {
    color: #dc3545 !important; /* Sayaç rakam rengi (örnekteki kırmızıya yakın) */
}

.success-info-section .row.text-center {
    margin-top: 3rem !important; /* Sayaç alanı üst boşluğu */
}

.success-info-section .col-4 h3 {
    font-size: 2.5rem; /* Sayaç rakam boyutu */
}

.success-info-section .col-4 p {
    font-size: 0.9rem; /* Sayaç altındaki açıklama metni */
    color: #555;
    margin-bottom: 0;
}

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .success-info-section h2 {
        font-size: 2.2rem;
    }
    .success-info-section p.lead {
        font-size: 1rem;
    }
    .success-info-section .col-lg-6 {
        margin-bottom: 2rem; /* Mobil ve tabletlerde görsel altında boşluk */
    }
    .success-info-section .col-4 h3 {
        font-size: 2.2rem;
    }
    .success-info-section .col-4 p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .success-info-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .success-info-section p.lead {
        font-size: 0.9rem;
        text-align: center;
    }
    .success-info-section .image-wrapper {
        padding: 0; /* Mobil ekranda gereksiz padding kaldırdım */
    }
    .success-info-section .image-wrapper img {
        width: 100%; /* Mobil cihazlarda resmin tam genişliği kaplaması */
    }
    .success-info-section .d-flex.align-items-center {
        justify-content: center; /* Logoyu mobil ortala */
    }
    .success-info-section .col-4 h3 {
        font-size: 2rem; /* Mobilde daha da küçültme */
    }
    .success-info-section .col-4 p {
        font-size: 0.8rem; /* Mobilde daha da küçültme */
    }
}




/* Articles Section Stilleri */
.articles-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f9fa; /* Hafif gri arka plan */
}



.articles-section h2 {
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
}

.articles-section .article-card {
    border-radius: 0.75rem; /* Köşeleri yuvarla */
    overflow: hidden; /* Resmi yuvarlama ile uyumlu hale getirir */
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.08); /* Daha belirgin gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articles-section .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.15); /* Hover'da daha da belirgin gölge */
}

.articles-section .article-card .card-img-top {
    height: 200px; /* Görsel yüksekliğini sabitle */
    object-fit: cover; /* Görselin oranını koruyarak kutuyu doldur */
}

.articles-section .article-card .card-body {
    padding: 1.5rem;
}

.articles-section .article-card .card-title {
    font-size: 1.3rem; /* Başlık boyutu */
    line-height: 1.4;
    min-height: 2.8em; /* İki satırlık başlık için minimum yükseklik */
}

.articles-section .article-card .card-text {
    font-size: 0.95rem; /* Metin boyutu */
    line-height: 1.6;
    min-height: 4.8em; /* 3-4 satırlık metin için minimum yükseklik */
    max-height: 6em; /* Maksimum yükseklik, taşarsa kesilir */
    overflow: hidden; /* Taşmayı gizle */
    text-overflow: ellipsis; /* Taşmayı üç nokta ile belirt */
}

.articles-section .article-card .btn-link {
    color: #007bff; /* Link rengi (Bootstrap primary) */
    font-weight: bold;
    font-size: 0.9rem;
}

.articles-section .article-card .btn-link:hover {
    color: #0056b3;
    text-decoration: underline !important;
}

.articles-section .btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    font-size: 1.2rem;
    padding: 0.8rem 2.5rem;
}

.articles-section .btn-danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .articles-section h2 {
        font-size: 2.5rem;
    }
    .articles-section .article-card .card-img-top {
        height: 180px;
    }
    .articles-section .article-card .card-title {
        font-size: 1.2rem;
    }
    .articles-section .article-card .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .articles-section h2 {
        font-size: 2rem;
    }
    .articles-section .article-card .card-img-top {
        height: 160px;
    }
    .articles-section .article-card .card-body {
        padding: 1.2rem;
    }
    .articles-section .article-card .card-title {
        font-size: 1.1rem;
    }
    .articles-section .article-card .card-text {
        font-size: 0.85rem;
        min-height: 4em;
        max-height: 5.5em;
    }
    .articles-section .btn-danger {
        font-size: 1rem;
        padding: 0.7rem 2rem;
    }
}









/* Footer Stilleri */
.main-footer {
    background-color: #1a232f; /* Koyu lacivert/gri tonu */
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 30px;
}

/* Newsletter Section Stilleri */
.main-footer .newsletter-section {
    background-color: #2c3a4e; /* Daha açık lacivert/gri */
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.main-footer .newsletter-section h4 {
    color: #ffffff;
    font-size: 1.8rem;
}

.main-footer .newsletter-section p {
    color: #e0e0e0;
    font-size: 1rem;
}

.main-footer .newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1); /* Yarı şeffaf input */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    height: 50px; /* Butonla aynı yükseklik */
}

.main-footer .newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #007bff;
    box-shadow: none;
    color: #ffffff;
}

.main-footer .newsletter-form .btn-primary {
    background-color: #ef476f !important; /* Kırmızımsı buton rengi */
    border-color: #ef476f !important;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    height: 50px;
    border-radius: 0.5rem;
}

.main-footer .newsletter-form .btn-primary:hover {
    background-color: #e03960 !important;
    border-color: #d12c53 !important;
}

.main-footer .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
.main-footer .form-check-input:checked {
    background-color: #ef476f; /* Seçildiğinde kırmızı */
    border-color: #ef476f;
}
.main-footer .form-check-label {
    font-size: 0.9rem;
}

/* Footer Linkleri ve Bilgileri Stilleri */
.main-footer .footer-logo img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    border-radius: 0.5rem; /* Kenarları yuvarladık */
    /* İsterseniz daha fazla yuvarlama için '1rem' veya '50%' yapabilirsiniz. */
    /* Eğer tam bir daire olmasını isterseniz '50%' kullanın, ancak logonuz kare veya yuvarlaksa daha iyi durur. */
}
.main-footer .footer-logo img:hover {
    opacity: 1;
}

.main-footer h5 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.main-footer .list-unstyled li {
    margin-bottom: 0.7rem;
}

.main-footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.7); /* Açık beyaz/gri link rengi */
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-footer .list-unstyled a:hover {
    color: #ffffff; /* Hover'da tam beyaz */
    text-decoration: underline !important;
}

.main-footer p.text-white-50 {
    font-size: 0.95rem;
    line-height: 1.6;
}

.main-footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important; /* İnce çizgi */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp yeşili */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Diğer elementlerin üzerinde olması için */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.whatsapp-float:hover {
    color: #FFF; /* Hover'da rengini koru */
    transform: scale(1.1);
    box-shadow: 3px 3px 6px #666;
}


/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .main-footer {
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .main-footer .newsletter-section {
        padding: 30px;
        margin-bottom: 30px;
    }
    .main-footer .newsletter-section h4 {
        font-size: 1.5rem;
    }
    .main-footer .newsletter-section p {
        font-size: 0.9rem;
    }
    .main-footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .main-footer .list-unstyled a,
    .main-footer p.text-white-50 {
        font-size: 0.85rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .main-footer .newsletter-section {
        text-align: center;
        padding: 20px;
    }
    .main-footer .newsletter-form .input-group {
        flex-direction: column; /* Input ve butonu alt alta getir */
    }
    .main-footer .newsletter-form .form-control,
    .main-footer .newsletter-form .btn-primary {
        width: 100%;
        margin-bottom: 10px; /* Boşluk ekle */
    }
    .main-footer .newsletter-form .btn-primary {
        margin-left: 0 !important; /* Butonun sola yaslanmasını engelle */
        border-radius: 0.5rem; /* Küçük ekranlarda da yuvarlama */
    }
    .main-footer .form-check-inline {
        margin-bottom: 10px;
    }
    .main-footer .col-lg-3, .main-footer .col-md-6 {
        text-align: center;
    }
    .main-footer .list-unstyled {
        padding-left: 0;
    }
    .main-footer .footer-logo {
        text-align: center;
        width: 100%;
    }
    .main-footer .list-unstyled li {
        text-align: center;
    }
}







/* Hakkımızda Sayfası Stilleri */
.about-page-section {
    background-color: #ffffff; /* Beyaz arka plan */
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-page-section .about-image-wrapper img {
    border: 5px solid #f8f9fa; /* Hafif bir çerçeve */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* Hafif gölge */
    transition: transform 0.3s ease;
}

.about-page-section .about-image-wrapper img:hover {
    transform: scale(1.01);
}

.about-page-section .about-text-content h1 {
    font-size: 2.8rem; /* Başlık boyutu */
    line-height: 1.2;
    color: #212529; /* Koyu gri/siyah başlık */
}

.about-page-section .about-text-content p.lead {
    font-size: 1.1rem; /* Giriş paragrafı boyutu */
    color: #555;
}

.about-page-section .about-text-content p {
    font-size: 0.95rem; /* Diğer paragraflar */
    color: #6c757d;
    line-height: 1.7;
}

/* Responsive Ayarlamalar (about-page-section için) */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .about-page-section .about-image-wrapper {
        padding-right: 0; /* Boşluğu kaldır */
    }
    .about-page-section .about-text-content {
        padding-left: 0; /* Boşluğu kaldır */
    }
    .about-page-section .col-lg-6 {
        margin-bottom: 2rem; /* Görsel altında boşluk */
    }
    .about-page-section .about-text-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    .about-page-section .about-text-content p {
        text-align: center;
    }
    .about-page-section .about-text-content p.lead {
        text-align: center;
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .about-page-section .about-text-content h1 {
        font-size: 1.8rem;
    }
    .about-page-section .about-text-content p.lead {
        font-size: 1rem;
    }
    .about-page-section .about-text-content p {
        font-size: 0.9rem;
    }
}


/* Hakkımızda Sayfası Ek Bölümler Stilleri */

/* Genel Metin/Görsel Blokları için Ayarlar (Tekrar eden stilleri azaltmak için) */
.education-approach-section,
.fast-reading-trainings-section {
    padding-top: 60px; /* Biraz daha az padding */
    padding-bottom: 60px; /* Biraz daha az padding */
}

.education-approach-section {
    background-color: #f8f9fa; /* Açık gri arka plan */
}

.education-approach-section .image-wrapper img,
.fast-reading-trainings-section .image-wrapper img {
    border: 5px solid #f8f9fa;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem; /* Resimlerin köşelerini yuvarla */
    transition: transform 0.3s ease;
}

.education-approach-section .image-wrapper img:hover,
.fast-reading-trainings-section .image-wrapper img:hover {
    transform: scale(1.01);
}

.education-approach-section .text-content h2,
.fast-reading-trainings-section .text-content h2 {
    font-size: 2.5rem; /* Başlık boyutu */
    line-height: 1.2;
    color: #0d6efd; /* Bootstrap primary rengi, görseldeki maviye yakın */
}

.education-approach-section .text-content p.lead,
.fast-reading-trainings-section .text-content p.lead {
    font-size: 1.05rem; /* Giriş paragrafı boyutu */
    color: #555;
}

.education-approach-section .text-content p,
.fast-reading-trainings-section .text-content p {
    font-size: 0.95rem; /* Diğer paragraflar */
    color: #6c757d;
    line-height: 1.7;
}

/* Padding düzeltmeleri (resim ve metin arasına boşluk eklemek için) */
.education-approach-section .image-wrapper {
    padding-right: 0; /* flex-row-reverse kullandığımız için sağdan boşluk istemeyiz */
    padding-left: 1.5rem; /* Soldan boşluk verelim */
}
.education-approach-section .text-content {
    padding-right: 1.5rem; /* Sağdan boşluk verelim */
    padding-left: 0;
}

.fast-reading-trainings-section .image-wrapper {
    padding-right: 1.5rem; /* Sağdan boşluk verelim */
    padding-left: 0;
}
.fast-reading-trainings-section .text-content {
    padding-left: 1.5rem; /* Soldan boşluk verelim */
    padding-right: 0;
}

/* Responsive Ayarlamalar (Ek bölümler için) */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .education-approach-section .image-wrapper,
    .education-approach-section .text-content,
    .fast-reading-trainings-section .image-wrapper,
    .fast-reading-trainings-section .text-content {
        padding-left: 0; /* Mobil/tabletlerde padding'i kaldır */
        padding-right: 0; /* Mobil/tabletlerde padding'i kaldır */
    }
    .education-approach-section .col-lg-6,
    .fast-reading-trainings-section .col-lg-6 {
        margin-bottom: 2rem; /* Görsel altında boşluk */
    }
    .education-approach-section .text-content h2,
    .fast-reading-trainings-section .text-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    .education-approach-section .text-content p,
    .education-approach-section .text-content p.lead,
    .fast-reading-trainings-section .text-content p,
    .fast-reading-trainings-section .text-content p.lead {
        text-align: center;
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .education-approach-section .text-content h2,
    .fast-reading-trainings-section .text-content h2 {
        font-size: 1.8rem;
    }
    .education-approach-section .text-content p.lead,
    .fast-reading-trainings-section .text-content p.lead {
        font-size: 1rem;
    }
    .education-approach-section .text-content p,
    .fast-reading-trainings-section .text-content p {
        font-size: 0.9rem;
    }
}




/* Referanslar Sayfası Stilleri */
.references-page-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

.references-page-section h1 {
    margin-bottom: 1rem;
}

.references-page-section p.lead {
    margin-bottom: 3rem;
}

.references-page-section .reference-card {
    border-radius: 0.75rem;
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.references-page-section .reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.15);
}

.references-page-section .reference-card .card-body {
    min-height: 180px; /* Kart içeriğinin minimum yüksekliğini artırdık: 150px'den 180px'e */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.references-page-section .reference-card img {
    max-height: 120px !important; /* Logo boyutunu daha da artırdık ve !important ekledik */
    max-width: 100% !important; /* Genişlik konusunda da !important ekledik */
    height: auto !important; /* Yüksekliği otomatik ayarla */
    width: auto !important; /* Genişliği otomatik ayarla */
    object-fit: contain; /* Logoların oranını koruyarak sığdır */
    margin-bottom: 0.5rem;
}

.references-page-section .reference-card .card-title {
    font-size: 1.1rem; /* Kurum adı font boyutunu biraz artırdık: 1rem'den 1.1rem'e */
    margin-top: 0.5rem;
    color: #343a40 !important; /* text-dark sınıfına rağmen siyah olması için !important */
}

/* Responsive Ayarlamalar */
@media (max-width: 767.98px) { /* Mobil cihazlar */
    .references-page-section h1 {
        font-size: 2.2rem;
    }
    .references-page-section p.lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .references-page-section .reference-card .card-body {
        min-height: 150px; /* Mobil için de biraz artırdık */
        padding: 0.75rem;
    }
    .references-page-section .reference-card img {
        max-height: 90px !important; /* Mobil için de logoyu biraz daha büyüttük ve !important ekledik */
    }
    .references-page-section .reference-card .card-title {
        font-size: 1rem; /* Mobil için de biraz artırdık */
    }
}


/* KVKK Sayfası Stilleri */
.kvkk-page-section {
    background-color: #ffffff; /* Beyaz arka plan */
    padding-top: 60px;
    padding-bottom: 60px;
}

.kvkk-page-section h1 {
    font-size: 2.2rem; /* Ana başlık boyutu */
    line-height: 1.3;
    color: #212529;
    margin-bottom: 3rem; /* Alttan boşluk */
}

.kvkk-page-section h2 {
    font-size: 1.5rem; /* Alt başlık boyutu */
    color: #343a40;
    margin-top: 2.5rem; /* Üstten boşluk */
    margin-bottom: 1.5rem; /* Alttan boşluk */
}

.kvkk-page-section p {
    font-size: 0.95rem; /* Paragraf metni boyutu */
    line-height: 1.8;
    color: #6c757d;
}

.kvkk-page-section ul.kvkk-list {
    list-style: none; /* Varsayılan madde işaretini kaldır */
    padding-left: 0;
    margin-bottom: 2rem;
}

.kvkk-page-section ul.kvkk-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
}

.kvkk-page-section ul.kvkk-list li i {
    font-size: 0.9rem; /* İkon boyutu */
    vertical-align: middle; /* İkonu metinle hizala */
}

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .kvkk-page-section h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .kvkk-page-section h2 {
        font-size: 1.3rem;
        text-align: center;
    }
    .kvkk-page-section p,
    .kvkk-page-section ul.kvkk-list li {
        font-size: 0.9rem;
        text-align: justify; /* Metni iki yana yasla */
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .kvkk-page-section h1 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .kvkk-page-section h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .kvkk-page-section p,
    .kvkk-page-section ul.kvkk-list li {
        font-size: 0.85rem;
    }
}




/* Kullanım ve Üyelik Sözleşmesi Sayfası Stilleri */
.terms-of-service-page-section {
    background-color: #ffffff; /* Beyaz arka plan */
    padding-top: 60px;
    padding-bottom: 60px;
}

.terms-of-service-page-section h1 {
    font-size: 2.2rem; /* Ana başlık boyutu */
    line-height: 1.3;
    color: #212529;
    margin-bottom: 3rem;
}

.terms-of-service-page-section h2 {
    font-size: 1.5rem; /* Alt başlık boyutu */
    color: #343a40;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.terms-of-service-page-section p {
    font-size: 0.95rem; /* Paragraf metni boyutu */
    line-height: 1.8;
    color: #6c757d;
}

.terms-of-service-page-section ul.terms-list {
    list-style: none; /* Varsayılan madde işaretini kaldır */
    padding-left: 0;
    margin-bottom: 2rem;
}

.terms-of-service-page-section ul.terms-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
}

.terms-of-service-page-section ul.terms-list li i {
    font-size: 0.9rem; /* İkon boyutu */
    vertical-align: middle; /* İkonu metinle hizala */
}

/* Responsive Ayarlamalar */
@media (max-width: 991.98px) { /* Tabletler ve daha küçük */
    .terms-of-service-page-section h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .terms-of-service-page-section h2 {
        font-size: 1.3rem;
        text-align: center;
    }
    .terms-of-service-page-section p,
    .terms-of-service-page-section ul.terms-list li {
        font-size: 0.9rem;
        text-align: justify; /* Metni iki yana yasla */
    }
}

@media (max-width: 767.98px) { /* Mobil cihazlar */
    .terms-of-service-page-section h1 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .terms-of-service-page-section h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .terms-of-service-page-section p,
    .terms-of-service-page-section ul.terms-list li {
        font-size: 0.85rem;
    }
}

/* Canlı Derslerim Sekmesi Stilleri */
#canli-derslerim-content .container.mt-4 {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#canli-derslerim-content h2 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#canli-derslerim-content .list-group {
    margin-top: 10px;
}

#canli-derslerim-content .list-group-item {
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

#canli-derslerim-content .list-group-item:hover {
    background-color: #f0f0f0;
}

#canli-derslerim-content .list-group-item .d-flex {
    flex-grow: 1;
}

#canli-derslerim-content .list-group-item h5 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
}

#canli-derslerim-content .list-group-item small {
    color: #777;
    font-size: 0.9rem;
}

#canli-derslerim-content .list-group-item p {
    color: #666;
    margin-top: 5px;
    font-size: 0.95rem;
}

#canli-derslerim-content .list-group-item strong {
    font-weight: bold;
    color: #337ab7; /* Örnek mavi renk */
}

#canli-derslerim-content p.empty-message {
    color: #777;
    font-style: italic;
}

/* Canlı Ders Planla Sekmesi Stilleri */
#canli-ders-planla-content .container.my-5 {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#canli-ders-planla-content .card-header.bg-primary {
    background-color: #007bff !important; /* Daha belirgin bir mavi */
    color: white;
    border-radius: 6px 6px 0 0;
    padding: 20px;
    margin-bottom: 20px;
}

#canli-ders-planla-content .card-title.h4 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

#canli-ders-planla-content .card-body {
    padding: 25px;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    border: 1px solid #ddd;
}

#canli-ders-planla-content .mb-4 .form-label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

#canli-ders-planla-content .mb-4 input.form-control,
#canli-ders-planla-content .mb-4 select.form-control,
#canli-ders-planla-content .mb-4 textarea.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#canli-ders-planla-content .mb-4 .form-text {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
    margin-top: 0.25rem;
}

#canli-ders-planla-content .mb-4 .invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

#canli-ders-planla-content hr.my-4 {
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

#canli-ders-planla-content .d-grid.gap-2 button.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: background-color 0.15s ease-in-out;
}

#canli-ders-planla-content .d-grid.gap-2 button.btn-primary:hover {
    background-color: #0056b3;
}

#canli-ders-planla-content .d-grid.gap-2 a.btn-secondary {
    color: #6c757d;
    background-color: #e2e6ea;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

#canli-ders-planla-content .d-grid.gap-2 a.btn-secondary:hover {
    background-color: #d1d9df;
    border-color: #adb5bd;
    color: #495057;
}

#canli-ders-planla-content .text-center.mt-4 a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease-in-out;
}

#canli-ders-planla-content .text-center.mt-4 a:hover {
    color: #0056b3;
    text-decoration: underline;
}






/* Kullanıcı Yorumları Bölümü */
.testimonials-section {
    background-color: #f8f9fa; /* Arka plan rengi */
}

.testimonial-card {
    border-radius: 15px; /* Daha yumuşak köşeler */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.testimonial-card img {
    border: 3px solid #0d6efd; /* Fotoğraf çerçevesi */
}

.testimonial-card .star-rating i {
    color: #ffc107; /* Yıldız rengi */
}





#volume-control {
    max-width: 200px; /* kutucuk küçük kalır */
    text-align: center;
}

#volume-control .form-range {
    width: 150px !important; /* boydan boya olmasın */
}


/* ========================================================= */
/* EĞİTİM SAYFASI (DAY_PAGE) - RESPONSIVE DÜZENLEME           */
/* ========================================================= */

/* -------- MASAÜSTÜ GÖRÜNÜMÜ (992px ve üzeri) -------- */
/* Bu blok, PC'de 3 sütunlu yapının korunmasını sağlar. */
@media (min-width: 992px) {
    .day-page-container {
        flex-direction: row !important; /* Panelleri yan yana diz */
    }
    
    /* Mobil için oluşturduğumuz üst satır sarmalayıcısının 'div'ini yok say */
    .day-page-top-row {
        display: contents; /* Bu 'div' sanki hiç yokmuş gibi davranır ve içindekiler direkt .day-page-container'ın elemanı gibi olur. */
    }

    /* Panelleri orijinal sıralarına ve boyutlarına geri döndür */
    .day-page-timer-panel {
        width: 250px !important;
        order: 1; /* 1. sırada (en solda) */
    }
    .day-page-content-panel {
        order: 2; /* 2. sırada (ortada) */
    }
    .day-page-info-panel {
        width: 200px !important;
        order: 3; /* 3. sırada (en sağda) */
    }
}


/* -------- MOBİL GÖRÜNÜMÜ (991px ve altı) -------- */
/* Bu blok, istediğiniz yeni mobil tasarımı oluşturur. */
@media (max-width: 991px) {
    .day-page-container {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 70px);
        padding: 0.75rem !important;
        gap: 0.75rem !important;
    }

    .day-page-top-row {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .day-page-top-row .day-page-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.75rem !important;
        min-height: 120px;
    }

    .day-page-timer-panel img {
        display: none;
    }

    .day-page-timer-panel #timer {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem !important;
    }
    .day-page-timer-panel .btn {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.9rem !important;
        width: 100%;
    }

    .day-page-info-panel .display-5 {
        font-size: 1.3rem !important;
        line-height: 1.2;
        margin-bottom: 0.25rem !important;
    }
    
    .day-page-content-panel {
        flex-grow: 1;
        min-height: 300px;
        width: 100% !important;
    }
}


/* ========================================================= */
/* HİKAYE MODALI (STORYMODAL) YÜKSEKLİK VE SCROLL AYARI    */
/* ========================================================= */

/* Hikaye modalının soru bölümünü hedefler */
#storyModal #questionsContent {
    /* Maksimum yüksekliği ekranın yüksekliğinin %60'ı olarak ayarla.
       Bu, her türlü ekranda modalın taşmasını engeller. */
    max-height: 60vh; 
    position: relative; /* z-index'in çalışması için gereklidir */
    z-index: 51; 
    /* Eğer içerik bu yüksekliği aşarsa, dikey bir scroll bar (kaydırma çubuğu) göster. */
    overflow-y: auto;
    
    /* Scroll bar ile içerik arasına biraz boşluk bırakmak için (görsel iyileştirme) */
    padding-right: 1rem; 
}
/* Tamamla butonunun kendisini de ayrıca üste taşıyalım */
#storyModal #completeStory {
    position: relative;
    z-index: 52; /* Her ihtimale karşı soru alanından da yukarıda olsun */
}



/* Aile Oyunları butonunu renklendir */
.aile-oyunlari-link {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;   /* oval kutucuk */
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.aile-oyunlari-link:hover {
    transform: scale(1.05);
    text-decoration: none;
}

/* Aile Oyunları butonunu renklendir */
.okul-oyunlari-link {
    background: linear-gradient(135deg, #60daff, #3d9eff);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;   /* oval kutucuk */
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.okul-oyunlari-link:hover {
    transform: scale(1.05);
    text-decoration: none;
}


@keyframes pulse {
    0%, 100% { transform: translateX(-50%) rotate(-45deg) scale(1); }
    50% { transform: translateX(-50%) rotate(-45deg) scale(1.3); }
}

.aile-oyunlari-link {
    position: relative; /* mutlak konumu buna göre ayarlar */
}
.aile-oyunlari-wrapper {
    position: relative;
    display: inline-block; /* gerekli, badge düzgün yerleşir */
}


/* === Mobil taşma/hamburger yaması (≤ 991.98px) === */
@media (max-width: 991.98px) {

  /* 1) Yatay taşmayı kapat (güvenli kapsama) */
  html, body { max-width: 100%; overflow-x: hidden; }

  /* Bootstrap yapıları taşmasın */
  .container, .container-fluid, .navbar, .navbar .container, main, footer, .row { overflow-x: hidden; }

  /* 2) Navbar yerleşimini kilitle: sadece logo + toggler aynı satırda sığsın */
  .navbar .container { display:flex; align-items:center; justify-content:space-between; }
  .navbar-brand img { max-width: 120px; height:auto; }        /* geniş logo taşırmasın */
  .navbar-toggler { flex: 0 0 auto; }                         /* toggler sıkışmasın */

  /* Çökünce (collapse) linkler dikey gelsin ve satır kırabilsin */
  .navbar-nav .nav-link { white-space: normal; }              /* sizde nowrap var → genişletiyor */

  /* 3) Footer’daki geniş görselleri ekrana sığdır */
  .main-footer .footer-logo img,
  .main-footer img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  /* Inline style ile 550px verilen görselleri de ez */
  .main-footer .footer-logo img[style] { max-width:100% !important; width:auto !important; }

  /* 4) .row negatif marjin taşmasını etkisizleştir (yanlış sarmalanmış satırlar için emniyet) */
  .row { margin-right: 0; margin-left: 0; }

  /* 5) Sabit WhatsApp butonu kenardan içeri gelsin (bazen taşırabiliyor) */
  .whatsapp-float { right: 16px; bottom: 16px; }
}

