/********** Template CSS **********/
:root {
    --primary: #015FC9;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 80px;

	
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;

}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}





@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}


       
	   /* --- menü ayarları Mobil Düzenleme --- */

        .navbar-brand span { color: var(--dark); }

 
        @media (max-width: 991.98px) {
            .navbar .container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                position: relative;
                min-height: 50px;
            }

            .navbar-brand {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                z-index: 1001;
            }

            .menu-toggle-btn {
                background: none;
                border: none;
                color: var(--dark);
                font-size: 22px;
                z-index: 1002;
                padding: 0;
            }

            .mobile-widget-btn {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-decoration: none;
                color: var(--dark);
                z-index: 1002;
                background: none;
                border: none;
            }

            .mobile-widget-btn i { font-size: 18px; color: var(--primary); }
            .mobile-widget-btn span { font-size: 10px; font-weight: 700; text-transform: uppercase; margin-top: 2px; }
        }

        /* --- Sol Menü Widget (Offcanvas) --- */
        .offcanvas-start { width: 280px !important; }
        .offcanvas-start .nav-link {
            font-size: 18px;
            padding: 15px 20px !important;
            border-bottom: 1px solid #f1f1f1;
        }

        /* --- Sağ Giriş Widget (Offcanvas) --- */
        .offcanvas-end { color: #fff; width: 320px !important; }
        .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
        .btn-close-white { filter: invert(1) brightness(200%); }

        /* Giriş Formu Tasarımı */
        .login-form input {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            color: #fff;
            padding: 12px;
            margin-bottom: 15px;
        }
        .btn-login {
            background: var(--primary);
            color: #fff;
            width: 100%;
            padding: 12px;
            font-weight: 600;
            border: none;
        }
		
		   :root {
            --primary-color: #8300ad; /* Kariyer.net'in karakteristik moru */
            --text-dark: #333;
            --bg-light: #f4f7f9;
        }

    


        .close-btn { 
            font-size: 28px; 
            cursor: pointer; 
            color: #999; 
            transition: 0.3s;
        }
        .close-btn:hover { color: var(--text-dark); }

        .panel-body {
            padding: 30px 25px;
            overflow-y: auto;
        }

        /* Giriş Seçenekleri Butonları */
        .auth-option {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border: 1px solid #ddd;
            border-radius: 10px;
            text-decoration: none;
            color: var(--text-dark);
            margin-bottom: 15px;
            font-weight: 600;
            transition: 0.3s;
        }

        .auth-option:hover {
            border-color: var(--primary-color);
            background-color: #fcf6ff;
        }

        .auth-option i {
            font-size: 20px;
            margin-right: 15px;
            width: 25px;
            text-align: center;
        }

        .auth-option.candidate i { color: var(--primary-color); }
        .auth-option.employer i { color: #2ecc71; }

        .divider {
            text-align: center;
            margin: 25px 0;
            position: relative;
            color: #999;
            font-size: 12px;
        }
        .divider::before, .divider::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background: #eee;
        }
      
		
		
        /* --- Son Eklenen Kurslar --- */

.section2{
    padding:60px 0;
    background:#fff;
}

.container2{
    width:90%;
    margin:auto;
    position:relative;
}

.section-title{
    font-size:26px;
    font-weight:600;
    color:#1a2c4e;
    margin-bottom:30px;
}

.slider{
    position:relative;
    overflow:hidden;
}

.slider-track{
    display:flex;
    transition:transform 0.5s ease;
}

.course-card{
    flex:0 0 33.333%;
    padding:10px;
    box-sizing:border-box;
}

.card-inner{
    background:#fff;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    overflow:hidden;
    height:100%;
}

.card-inner img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card-content{
    padding:18px;
}

.card-date{
    font-size:13px;
    color:#6c757d;
    margin-bottom:6px;
}

.card-title{
    font-size:16px;
    font-weight:600;
    color:#1a2c4e;
    margin-bottom:8px;
}

.card-desc{
    font-size:14px;
    color:#555;
    margin-bottom:15px;
}

.card-btn{
    display:inline-block;
    padding:7px 14px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    border-radius:4px;
}

/* OK BUTONLARI */
.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border-radius:50%;
    border:none;
    background:#fff;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    cursor:pointer;
    font-size:18px;
    z-index:5;
}

.arrow:hover{
    background:#0d6efd;
    color:#fff;
}

.arrow-left{ left:-20px; }
.arrow-right{ right:-20px; }

@media(max-width:992px){
    .course-card{ flex:0 0 50%; }
}

@media(max-width:600px){
    .course-card{ flex:0 0 100%; }
}

   /* --- Sektöre Göre Kurslar --- */

.kurs-wrapper{
    width:90%;
    margin:auto;
    overflow:hidden;
    position:relative;
}

.kurs-slider{
    display:flex;
    transition:transform 0.6s ease;
}

.kurs-card{
    min-width:220px;
    background:#fff;
    border-radius:8px;
    margin:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    text-align:center;
    padding:20px;
}

.kurs-card img{
    width:60px;
    margin-bottom:10px;
}

.kurs-card h4{
    font-size:16px;
    margin:5px 0;
}

.kurs-card span{
    font-size:13px;
    color:#777;
}

/* ok butonları */

.ok{
 position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border-radius:50%;
    border:none;
    background:#fff;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    cursor:pointer;
    font-size:18px;
    z-index:5;
}
.ok:hover{
    background:#0d6efd;
    color:#fff;
}

.sol{
    left:0;
}

.sag{
    right:0;
}



/* Açık Kurslar */

      :root {
            --primary-color: #004a99;
            --bg-color: #f8f9fa;
            --border-color: #e0e0e0;
            --text-dark: #333;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-color);
            margin: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            background: white;
            padding: 15px 5%;
            border-bottom: 1px solid var(--border-color);
            text-align: center;
            font-weight: bold;
            font-size: 1.2rem;
            color: var(--primary-color);
        }

        /* Ana İçerik Düzeni */
        .main-wrapper {
            display: flex;
            max-width: 1400px;
            margin: 20px auto;
            width: 95%;
            gap: 20px;
        }

        /* SOL TARAF: Filtreleme / Alanlar */
        .sidebar {
            width: 280px;
            flex-shrink: 0;
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 20px;
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .sidebar h3 {
            font-size: 1.1rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }

        .category-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .category-item {
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #555;
            font-size: 0.95rem;
        }

        .category-item:hover {
            background-color: #f0f7ff;
            color: var(--primary-color);
        }

        .category-item.active {
            background-color: var(--primary-color);
            color: white;
        }

        .count-badge {
            background: #eee;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            color: #666;
        }

        .active .count-badge {
            background: rgba(255,255,255,0.2);
            color: white;
        }

        /* SAĞ TARAF: Kartlar ve Arama */
        .content-area {
            flex-grow: 1;
        }

        .search-bar {
            margin-bottom: 20px;
            display: flex;
            gap: 10px;
        }

        .search-bar input {
            flex-grow: 1;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            outline: none;
        }

        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        /* Kart Tasarımı */
        .card3 {
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: box-shadow 0.3s;
        }

        .card3:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .card3-img {
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
        }

        .card3-body {
            padding: 15px;
        }

        .card3-tag {
            font-size: 0.7rem;
            background: #e1ecf7;
            color: var(--primary-color);
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: bold;
        }

        .card3-title {
            font-size: 1rem;
            margin: 10px 0;
            font-weight: 600;
            color: var(--text-dark);
            min-height: 40px;
        }

        .card3-footer {
            padding: 10px 15px;
            border-top: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .btn-view {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: bold;
            font-size: 0.9rem;
        }

        /* Mobil Uyumluluk */
        @media (max-width: 900px) {
            .main-wrapper {
                flex-direction: column;
            }
            .sidebar {
                width: auto;
                position: static;
            }
        }
		
		/* Sayfalama Alanı */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-bottom: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f0f7ff;
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.disabled {
    color: #ccc;
    pointer-events: none;
    background-color: #fafafa;
}

.page-dots {
    color: #999;
    padding: 0 5px;
}


/* kurs detay     */

 :root {
            --meb-blue: #004a99;
            --light-bg: #f8f9fa;
            --border-color: #dee2e6;
            --text-gray: #6c757d;
        }

        body {
            font-family: 'Segoe UI', Roboto, Arial, sans-serif;
            margin: 0;
            background-color: var(--light-bg);
            color: #333;
            line-height: 1.6;
        }

        header {
            background: white;
            border-bottom: 1px solid var(--border-color);
            padding: 10px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-section { display: flex; align-items: center; gap: 10px; font-weight: bold; color: var(--meb-blue); }
        .nav-links { display: none; } /* Mobil öncelikli tasarımda gizli */

        /* ANA KONTEYNER: Mobilde sütun, masaüstünde satır */
        .container4 {
            display: flex;
            flex-direction: column; /* Mobilde alt alta */
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 15px;
            gap: 20px;
        }

        /* MOBİL SIRALAMA AYARI */
        .sidebar-card { order: 1; } /* Mobilde ilk sırada */
        .course-main-info { order: 2; } /* Mobilde ikinci sırada */

        /* Masaüstü Görünümü (992px üzeri) */
        @media (min-width: 992px) {
            .container4 {
                flex-direction: row; /* Yan yana dizilim */
                align-items: flex-start;
            }
            .course-main-info { order: 1; flex: 2; }
            .sidebar-card { order: 2; flex: 1; position: sticky; top: 120px; }
            .nav-links { display: flex; gap: 20px; }
        }

        /* Kart ve İçerik Stilleri */
        .course-header-box, .sidebar-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .course-header-box h1 { margin: 0 0 5px 0; color: var(--meb-blue); font-size: 22px; }
        .meta-info { font-size: 13px; color: var(--text-gray); margin-bottom: 15px; }

        .section-title4 { font-weight: bold; background: #f0f0f0; padding: 10px; border-radius: 4px; margin: 15px 0; font-size: 14px; }
        .curriculum-item { padding: 8px 10px; border-bottom: 1px solid #f9f9f9; display: flex; justify-content: space-between; font-size: 13px; }

        .course-img { width: 100%; border-radius: 6px; margin-bottom: 15px; }
        .stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dotted #ccc; font-size: 14px; }
        
        .btn-login {
            display: block;
            background: var(--meb-blue);
            color: white;
            text-align: center;
            padding: 12px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 15px;
        }

        .alert-box {
            background: #fff3cd;
            border: 1px solid #ffeeba;
            padding: 12px;
            border-radius: 5px;
            font-size: 12px;
            margin-top: 15px;
        }

        footer { background: #333; color: white; text-align: center; padding: 20px; margin-top: 40px; font-size: 11px; }