/**
 * English Explorer Tema için Ek CSS
 */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Font Ayarları - Tüm site için Poppins */
html, body,
h1, h2, h3, h4, h5, h6,
p, a, span, button, input, select, textarea, 
.btn, .inner-banner__title, .course-content h4, 
.course-card, .section-title, .callus-container,
.gform_wrapper, .modal, .page-banner-content {
    font-family: 'Poppins', sans-serif !important;
}

/* Sayfa kaymalarını önlemek için genel ayarlar */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Banner Yüksekliği ve Stilleri */
.inner-banner {
    position: relative;
    background-color: #d50013 !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex !important;
    align-items: center !important;
    min-height: 300px !important;
    background-attachment: scroll !important;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 34, 55, 0.7);
    z-index: 1;
}

.inner-banner .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.inner-banner__title {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 100%;
    font-size: 42px;
    color: #fff !important;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0;
}

.inner-banner-content {
    color: #fff;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Eski Banner Stilleri Geriye Dönük Uyumluluk İçin */
.inner-title {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 800px;
}

.inner-title h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

/* Mobil ayarlar */
@media (max-width: 768px) {
    .inner-banner {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 200px !important;
        background-attachment: scroll !important;
    }
    
    .inner-banner__title {
        font-size: 28px;
    }
    
    /* Diğer sayfalardaki banner'lar için de aynı kural */
    .page-banner,
    .banner-area,
    .banner-section,
    [class*="banner"] {
        background-attachment: scroll !important;
    }
}

/* Kategori Linkleri */
.course-categories .category-links {
    margin-top: 10px;
}

.course-categories .category-links a {
    color: #fff;
    background-color: rgba(213, 0, 20, 0.8);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-categories .category-links a:hover {
    background-color: rgba(213, 0, 20, 1);
}

/* Eğitimler Arşiv Sayfası */
.course-area {
    padding: 100px 0 70px;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #012237;
}

.section-title p {
    font-size: 16px;
    line-height: 1.7;
    color: #6c757d;
}

/* Dünya Dilleri Bölümü */
.world-languages {
    margin-bottom: 70px;
}

.language-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.language-card h3 {
    color: #fff;
    position: relative;
    z-index: 2;
    padding: 20px;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.language-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.language-card:hover::before {
    background-color: rgba(213, 0, 20, 0.8);
}

/* Dil Sınıfları */
.ingilizce {
    background: url(../../img/englishexplorer/ingilizce-bg.jpg) no-repeat center center/cover;
}

.almanca {
    background: url(../../img/englishexplorer/almanca-bg.jpg) no-repeat center center/cover;
}

.ispanyolca {
    background: url(../../img/englishexplorer/ispanyolca-bg.jpg) no-repeat center center/cover;
}

.fransizca {
    background: url(../../img/englishexplorer/fransizca-bg.jpg) no-repeat center center/cover;
}

.italyanca {
    background: url(../../img/englishexplorer/italyanca-bg.jpg) no-repeat center center/cover;
}

.rusca {
    background: url(../../img/englishexplorer/rusca-bg.jpg) no-repeat center center/cover;
}

.arapca {
    background: url(../../img/englishexplorer/arapca-bg.jpg) no-repeat center center/cover;
}

.japonca {
    background: url(../../img/englishexplorer/japonca-bg.jpg) no-repeat center center/cover;
}

.cince {
    background: url(../../img/englishexplorer/cince-bg.jpg) no-repeat center center/cover;
}

/* Genel dil sınıfı - özel arkaplan resmi olmayanlar için */
.dil-genel {
    background: url(../../img/englishexplorer/dil-genel-bg.jpg) no-repeat center center/cover;
}

/* Eğitim Kart Stilleri */
.course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-content h4 a:hover {
    color: #212247;
}

.course-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex: 1;
}

.course-content .btn-primary {
    display: inline-block;
    padding: 8px 16px;
    background: #212247;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-top: auto;
}

.course-content .btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

/* Kategori açıklama alanı */
.category-description {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    border-left: 3px solid #212247;
}

.category-description p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Section başlık stili */
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background-color: #212247;
}

/* Alert mesajları */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/* Pagination stili */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #212247;
    color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
    background: #212247;
    color: #fff;
}

/* Course details alan düzeltmeleri */
.course-details-area {
    padding: 60px 0;
}

.course-details-content {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    color:black;
}

/* Çakışan CSS sınıflarını düzelt */
.inner-banner .container h2.inner-banner__title {
    display: block;
    color: #fff !important;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Inner Banner başlığı için alt sayfalar için özel stil */
body.single-egitimler .inner-banner__title,
body.archive.tax-kategoriler .inner-banner__title,
body.archive.tax-diller .inner-banner__title,
body.archive.tax-programlar .inner-banner__title {
    border-bottom: 2px solid #212247 !important;
    padding-bottom: 10px;
    display: inline-block;
}

/* İç sayfa padding düzeltmesi */
.course-details-area.pt-100.pb-70 {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Course Header Stili */
.course-header {
    background-color: #212247;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.course-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.course-additional-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.course-info-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: #6c757d;
}

.course-info-item strong {
    color: #012237;
    font-weight: 600;
}

/* Sidebar Stilleri */
.course-sidebar {
    position: sticky;
    top: 30px;
}

.course-widget {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.course-widget-title {
    background-color: #012237;
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.course-form {
    padding: 25px;
    background-color: #212247;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.orange-bg {
    background-color: #212247;
    padding: 20px;
    border-radius: 0 0 5px 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d50014;
    outline: none;
    box-shadow: 0 0 5px rgba(213, 0, 20, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group .default-btn,
.gform_wrapper .gform_footer input[type="submit"] {
    background-color: #fff !important;
    color: #d50014 !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
}

.form-group .default-btn:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: #f8f9fa !important;
    color: #b2000f !important;
}

/* Sidebar Widget Genel Stili */
.sidebar-widget {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    margin: 0;
    background-color: #d50014;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 15px 20px;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    display: block;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.sidebar-widget ul li a:hover {
    color: #d50014;
}

/* Kategoriler Widget */
.categories-widget {
    background-color: #fff;
}

.categories-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 12px;
}

.categories-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.categories-list li a {
    display: block;
    color: #333;
    padding: 5px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.categories-list li a:hover {
    color: #d50014;
    padding-left: 5px;
}

/* Popüler Eğitimler Widget */
.popular-courses {
    padding: 20px;
}

.popular-course-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.popular-course-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.popular-course-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.popular-course-img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.popular-course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.popular-course-link:hover .popular-course-img img {
    transform: scale(1.1);
}

.popular-course-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    color: #012237;
    transition: all 0.3s ease;
}

.popular-course-info span {
    font-size: 14px;
    color: #d50014;
}

.popular-course-link:hover .popular-course-info h4 {
    color: #d50014;
}

/* Sayfalama Stilleri */
.pagination-area {
    margin-top: 30px;
    text-align: center;
}

.pagination-area .page-numbers {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #f8f9fa;
    color: #012237;
    text-align: center;
    border-radius: 5px;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-area .page-numbers.current {
    background-color: #d50014;
    color: #fff;
}

.pagination-area .page-numbers:hover {
    background-color: #012237;
    color: #fff;
}

.pagination-area .prev.page-numbers,
.pagination-area .next.page-numbers {
    width: auto;
    padding: 0 15px;
}

/* Responsive Düzenlemeler */
@media (max-width: 991px) {
    .inner-title h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .course-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .inner-banner {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 200px !important;
        background-attachment: scroll !important;
    }
    
    .inner-title h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .course-img img {
        height: 200px;
    }
    
    .course-content h2 {
        font-size: 24px;
    }
    
    .course-widget-title {
        font-size: 18px;
    }
    
    .egitim-detay .egitim-meta {
        flex-direction: column;
    }
    
    .egitim-detay .egitim-meta > div {
        margin-right: 0;
    }
    
    .kategori-egitimler .egitim-resim {
        height: 180px;
    }
    
    .nb-form {
        bottom: 10px;
        left: 0;
        width: auto;
        max-width: 80%;
        position: fixed;
        transform-origin: bottom left;
        border-radius: 0 50px 50px 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .nb-form p.title {
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: white;
    }
    
    .nb-form p.title i {
        margin-right: 8px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 575px) {
    .inner-banner {
        height: 300px;
    }
    
    .inner-title h1 {
        font-size: 26px;
    }
    
    .course-content {
        padding: 20px 15px;
    }
    
    .course-content h3 {
        font-size: 18px;
    }
    
    .popular-course-img {
        width: 60px;
        height: 60px;
    }
    
    .popular-course-info h4 {
        font-size: 14px;
    }
}

/* Bilgi Formu İkon Başlığı */
.form-icon {
    text-align: center;
    background-color: #d50014;
    padding: 15px;
    color: #fff;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.form-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 5px;
}

.form-icon h3 {
    color: #fff;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

/* GravityForm Özel Stiller - sadece sidebar için */
.course-sidebar .course-info-widget .gform_wrapper .gfield input,
.course-sidebar .course-info-widget .gform_wrapper .gfield select,
.course-sidebar .course-info-widget .gform_wrapper .gfield textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #e9e9e9 !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    color: #333 !important;
    background-color: #fff !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
}

.course-sidebar .course-info-widget .gfield_label,
.course-sidebar .course-info-widget .gfield_description {
    color: #fff !important;
}

.course-sidebar .course-info-widget .gform_wrapper .gform_footer input[type="submit"] {
    background-color: #fff !important;
    color: #d50014 !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
}

.course-sidebar .course-info-widget .gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: #f8f9fa !important;
    color: #b2000f !important;
}

/* Select elementin içindeki seçili değerin görünmesi için - sadece sidebar */
.course-sidebar .course-info-widget .gform_wrapper .gform_body .gfield select option {
    color: #333 !important;
    background-color: #fff !important;
}

.course-sidebar .course-info-widget .gform_wrapper .gform_body .gfield select option:checked,
.course-sidebar .course-info-widget .gform_wrapper .gform_body .gfield select option:selected {
    background-color: #f0f0f0 !important;
    color: #d50014 !important;
}

/* Select placeholder rengi düzeltme */
.course-sidebar .course-info-widget .ginput_container_select select,
.sidebar-widget .ginput_container_select select,
.ginput_container_select select {
    color: #333 !important;
    background-color: #fff !important;
}

.course-sidebar .course-info-widget .ginput_container_select select option,
.sidebar-widget .ginput_container_select select option,
.ginput_container_select select option {
    color: #333 !important;
    background-color: #fff !important;
}

/* Option elementinin görünürlüğünü ve hizalamasını iyileştirme */
.gform_wrapper select option {
    padding: 10px !important;
    background-color: #fff !important;
    color: #333 !important;
}

/* Gravity Form stil iyileştirmeleri - Normal renkleri kullan, etiketleri beyaz yapma */
.gform_wrapper .gfield_label {
    color: #333 !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
}

.gform_wrapper .top_label .gfield_label {
    font-weight: 500 !important;
}

/* Label etiketleri içindeki linklerin rengi */
.gfield_label a {
    color: #012237 !important;
}

/* Form alanları arkaplan rengini beyaz yap */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}

/* Form arkaplan stilleri */
.course-sidebar .course-contact-form,
.course-form,
.course-widget,
.course-contact-form {
    background-color: #f8f9fa !important;
    border-radius: 8px;
    padding: 20px;
}

/* Submit butonları */
.gform_wrapper .gform_footer input[type="submit"] {
    background-color: #212247 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: #333 !important;
    color: #fff !important;
}

/* Form tüm etiketler için normal renk kullan - önceki beyaz etiket stillerini iptal et */
.course-sidebar .gform_wrapper .gfield_label,
.course-form .gform_wrapper .gfield_label,
.orange-bg .gform_wrapper .gfield_label,
.course-widget .gform_wrapper .gfield_label,
.sidebar-widget .gform_wrapper .gfield_label,
.red-bg-form .gform_wrapper .gfield_label,
.modal .gform_wrapper .gfield_label,
.modal .gform_wrapper .top_label .gfield_label,
.gform_wrapper:not(.course-sidebar *) .gfield_label,
.course-sidebar .course-info-widget .gform_wrapper .gfield_label,
.course-widget .gform_wrapper .gfield_label,
.sidebar-widget .gform_wrapper .gfield_label,
#gform_wrapper_4 .gfield_label,
#gform_4 .gfield_label {
    color: #333 !important;
}

/* İngilizce sayfasında form ID 4 için özel stiller */
#gform_wrapper_4,
#gform_4 {
    /* Form ID 4 için özel stiller */
}

#gform_wrapper_4 .gfield_label,
#gform_4 .gfield_label {
    color: #fff !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
}

#gform_wrapper_4 .gform_footer input[type="submit"],
#gform_4 .gform_footer input[type="submit"] {
    background-color: #fff !important;
    color: #d50014 !important;
    font-weight: 600 !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
}

#gform_wrapper_4 .gform_footer input[type="submit"]:hover,
#gform_4 .gform_footer input[type="submit"]:hover {
    background-color: #f8f9fa !important;
    color: #b2000f !important;
}

/* Banner ve sidebar düzeltmeleri */

/* Page banner stili */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.inner-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 70px 0;
    margin-bottom: 50px;
}

.inner-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.inner-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.inner-banner h2 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    position: sticky;
    top: 30px;
}

.course-sidebar .widget {
    margin-bottom: 30px;
}

.course-sidebar .widget:last-child {
    margin-bottom: 0;
}

.course-sidebar .widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.course-sidebar .course-info {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.course-sidebar .course-info li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.course-sidebar .course-info li:last-child {
    border-bottom: none;
}

.course-sidebar .course-info li span:first-child {
    font-weight: 600;
    color: #333;
}

.course-sidebar .course-info li span:last-child {
    color: #666;
}

.course-sidebar .default-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #212247;
    color: #fff;
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.course-sidebar .default-btn:hover {
    opacity: 0.9;
}

/* Responsive düzeltmeler */
@media (max-width: 991px) {
    .inner-banner {
        padding: 50px 0;
        margin-bottom: 30px;
    }
    
    .inner-banner h2 {
        font-size: 32px;
    }
    
    .course-sidebar {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 767px) {
    .inner-banner {
        padding: 40px 0;
    }
    
    .inner-banner h2 {
        font-size: 28px;
    }
    
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
}

/* Özel temalar için banner resimleri düzeltmesi */
.page-banner.default-bg {
    background-image: url('../images/bg/default-banner.jpg');
}

.inner-banner.default-bg {
    background-image: url('../images/bg/default-banner.jpg');
}

/* Course sidebar düzeltmesi */
.course-sidebar {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.course-contact-form {
    margin-bottom: 30px;
}

.course-contact-form h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212247;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #212247;
}

.course-categories h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212247;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #212247;
}

.course-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-categories ul li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.course-categories ul li:last-child {
    border-bottom: none;
}

.course-categories ul li a {
    color: #333;
    font-size: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.course-categories ul li a:hover {
    color: #212247;
    padding-left: 5px;
}

.course-sidebar .form-group {
    margin-bottom: 15px;
}

.course-sidebar .form-group input,
.course-sidebar .form-group select,
.course-sidebar .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 14px;
}

.course-sidebar .form-group .btn-primary {
    background: #212247;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.course-sidebar .form-group .btn-primary:hover {
    opacity: 0.9;
}

/* Eğitim bilgi kutusu */
.course-info-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.course-info-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212247;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #212247;
}

.course-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-info-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.course-info-box ul li:last-child {
    border-bottom: none;
}

.course-info-box ul li strong {
    font-weight: 600;
    margin-right: 5px;
}

/* Course About */
.course-about {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.course-about h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212247;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #212247;
}

.course-about-content {
    line-height: 1.8;
}

/* Responsive düzeltmeler */
@media (max-width: 767px) {
    .page-banner,
    .inner-banner {
        padding: 70px 0;
    }
    
    .page-banner-content h1,
    .page-banner-content h2,
    .inner-banner__title {
        font-size: 28px;
    }
    
    .course-sidebar {
        margin-top: 30px;
    }
}

/* Bilgi / Randevu Al Sticky Butonu */
.nb-form {
    bottom: 30px;
    left: 0;
    width: auto;
    max-width: 80%;
    position: fixed;
    transform-origin: bottom left;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: #212247;
    z-index: 9999;
    display: block !important;
    visibility: visible !important;
}

.nb-form .title {
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nb-form .title:hover {
    background-color: #d50014;
}

.nb-form .title i {
    margin-right: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Modal içindeki form stillerini iyileştirme */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #212247;
    color: #fff;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
}

.modal-title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.modal-header .close {
    color: #fff;
    opacity: 0.8;
    padding: 0;
    margin: 0;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

/* Gravity Forms stil iyileştirmeleri */
.modal-body .gform_wrapper {
    margin: 0;
}

.modal-body .gform_wrapper .gfield {
    margin-bottom: 15px;
}

.modal-body .gform_wrapper .gfield_label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.modal-body .gform_wrapper input[type="text"],
.modal-body .gform_wrapper input[type="email"],
.modal-body .gform_wrapper input[type="tel"],
.modal-body .gform_wrapper select,
.modal-body .gform_wrapper textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 14px;
}

.modal-body .gform_wrapper input[type="text"]:focus,
.modal-body .gform_wrapper input[type="email"]:focus,
.modal-body .gform_wrapper input[type="tel"]:focus,
.modal-body .gform_wrapper select:focus,
.modal-body .gform_wrapper textarea:focus {
    border-color: #212247;
    outline: none;
    background-color: #fff;
}

.modal-body .gform_footer {
    padding: 0;
    margin-top: 15px;
}

.modal-body .gform_footer input[type="submit"] {
    background-color: #212247;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-body .gform_footer input[type="submit"]:hover {
    background-color: #d50014;
}

/* Eğitim Kategori Slider Stil */
.egitim-kategori-slider-section {
    padding: 15px 0;
    margin-bottom: 20px !important;
}

.egitim-kategori-slider-section .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #212247;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.egitim-kategori-slider-section .section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background-color: #212247;
}

/* Owl Carousel Navigation */
.egitim-kategori-slider-section .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
    pointer-events: none;
    margin-top: 0 !important;
}

.egitim-kategori-slider-section .owl-prev,
.egitim-kategori-slider-section .owl-next {
    width: 40px;
    height: 40px;
    background-color: #212247 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    margin: 0 -20px !important;
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.egitim-kategori-slider-section .owl-prev:hover,
.egitim-kategori-slider-section .owl-next:hover {
    opacity: 1;
    background-color: #212247 !important;
}

.egitim-kategori-slider-section .owl-dots {
    margin-top: 15px !important;
    text-align: center;
}

.egitim-kategori-slider-section .owl-dot span {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    display: block;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.egitim-kategori-slider-section .owl-dot.active span {
    background-color: #212247;
    width: 15px;
    border-radius: 5px;
}

/* Responsive Düzeltmeleri */
@media (max-width: 767px) {
    .egitim-kategori-slider-section .section-title h2 {
        font-size: 26px;
    }
    
    .egitim-kategori-slider-section .owl-nav {
        display: none;
    }
}

/* Eğitim Kategorisi Badge Stili */
.course-category {
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 2;
}

.course-category span {
    display: inline-block;
    background-color: #212247;
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.course-category span a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-category span a:hover {
    color: rgba(255,255,255,0.8);
}

/* Owl Carousel butonları için genel düzeltmeler */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav {
    z-index: 100 !important; /* Z-index değerini yükselt */
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background-color: #212247 !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 100 !important; /* Z-index değerini yükselt */
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
    background-color: #212247 !important;
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav button.owl-prev i,
.owl-carousel .owl-nav button.owl-next i {
    font-size: 16px;
    line-height: 1;
    display: block;
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 5px;
    background: #D6D6D6;
    display: block;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #212247;
    width: 15px;
    border-radius: 10px;
}

.owl-theme .owl-dots .owl-dot:hover span {
    background: #212247;
}

/* Slider yükseklik ayarı */
.egitim-kategori-slider-section .owl-stage {
    display: flex;
}

.egitim-kategori-slider-section .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.egitim-kategori-slider-section .owl-item .course-card {
    width: 100%;
}

/* Mobil görünüm için slider buton düzeltmeleri */
@media (max-width: 768px) {
    /* Slider butonlarını içeri al ve z-index yükselt */
    .owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
        z-index: 100 !important;
        left: 0;
        pointer-events: none;
        display: block !important; /* Görünür yap */
    }
    
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        position: absolute !important;
        z-index: 100 !important;
        pointer-events: auto !important;
        background-color: rgba(33, 34, 71, 0.8) !important; /* Hafif şeffaf arkaplan */
        box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important; /* Gölge ekle */
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        left: 5px !important; /* Sol kenardan içeri al */
    }
    
    .owl-carousel .owl-nav button.owl-next {
        right: 5px !important; /* Sağ kenardan içeri al */
    }
    
    /* Slider genel kapsayıcı kontrol */
    .owl-carousel {
        padding: 0 15px !important;
        overflow: visible !important; /* Butonların görünmesi için */
    }
    
    /* Slider içeriği */
    .owl-carousel .owl-stage-outer {
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Kapsayıcı section'un taşmasını engelle */
    .egitim-kategori-slider-section,
    [class*="shortcode-slider"],
    div[class*="carousel"],
    div[class*="owl"] {
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Slider içindeki item'lar için padding düzelt */
    .owl-carousel .owl-item {
        padding: 0 5px !important;
    }
}

/* Modal ve Form Select elementlerini düzeltme */
.modal-body select,
.gform_wrapper select,
.ginput_container_select select {
    color: #333 !important;
    background-color: #fff !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 5px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    font-size: 14px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    height: 46px !important;
    line-height: 22px !important;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="14" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M1 1l6 6 6-6" stroke="%23333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') !important;
    background-position: right 10px center !important;
    background-repeat: no-repeat !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.modal-body select option,
.gform_wrapper select option,
.ginput_container_select select option {
    color: #333 !important;
    background-color: #fff !important;
    padding: 5px !important;
    font-size: 14px !important;
}

/* Selected option görünürlüğünü düzeltme */
.modal-body select[selected="selected"],
.gform_wrapper select[selected="selected"],
.ginput_container_select select[selected="selected"] {
    color: #333 !important;
    font-weight: 500 !important;
}

/* Seçilen değerlerin görünür olmasını sağla */
.chosen-container-single .chosen-single span {
    color: #333 !important;
}

/* Eğitim Kategori Slider - Boşluk Düzeltmeleri */
.egitim-kategori-slider-section {
    padding: 15px 0;
    margin-bottom: 20px !important;
}

.egitim-kategori-slider-section .owl-carousel {
    margin: 0 !important;
    padding: 0 !important;
}

.egitim-kategori-slider-section .item {
    padding: 5px;
}

.egitim-kategori-slider-section .course-card {
    margin-bottom: 10px;
}

.egitim-kategori-slider-section .course-content {
    padding: 15px;
}

.egitim-kategori-slider-section .course-content h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
}

.egitim-kategori-slider-section .course-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Kırmızı Badge için Stil */
.course-category.red-badge span {
    background-color: #d50013;
}

/* Owl Carousel Oklar Düzeltmesi */
.egitim-kategori-slider-section .owl-nav {
    margin-top: 0 !important;
}

.egitim-kategori-slider-section .owl-dots {
    margin-top: 15px !important;
}

/* Input elementleri için aynı yükseklik ve özellikleri tanımla */
.modal-body input,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.ginput_container input {
    height: 46px !important;
    padding: 12px 15px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Checkbox düzeltmeleri */
.gform_wrapper .gfield_checkbox input[type="checkbox"],
.gform_wrapper .gfield_radio input[type="radio"],
.gform_wrapper input[type="checkbox"],
.gform_wrapper input[type="radio"],
input[type="checkbox"],
input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

/* Checkbox label düzeltmesi */
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
    vertical-align: middle !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    line-height: 20px !important;
} 