body {
    /*    background-color: #f7f8fa;*/
    background-color: #F5F5F5;
    padding-top: 70px; /* topbar (40px) + navbar (80px) kadar boşluk bırak */
    margin: 0;
    overflow-x: hidden;
}
/*TOPBAR GENEL...*/
.topbar {
    background: #f8f9fa;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #ddd;
    height: 50px; /* daha yüksek görünmesi için */
    line-height: 50px; /* metinleri dikey ortala */
}

    .topbar .contact-info i {
        margin-right: 5px;
        color: #007bff;
    }

    .topbar .social-links a {
        color: #333;
        margin-left: 15px;
        font-size: 18px; /* ikonlar biraz daha büyük */
        transition: color 0.3s ease;
    }

        .topbar .social-links a:hover {
            color: #007bff;
        }


.footer {
    background-color: #4f6b88 !important;
}
.footer-link{
    color:aliceblue;
    text-decoration:none;

}
.footer-link:hover {
    color:darkgoldenrod;
    text-decoration: none;
}
/* NAVBAR GENEL */
.navbar {
    background-color: #4f6b88 !important;
    padding: 15px 5px; /* iç boşluk */
    transition: all 0.4s ease; /* geçiş efekti */
}

    /* Scroll olunca küçülsün */
    .navbar.shrink {
        padding: 8px 30px;
        background-color: #1a252f !important;
        opacity: 0.9 !important;
    }

/* MARKA (LOGO) */
.navbar-brand {
    /*color: #f1c40f !important;*/ /* logo rengi */
    color: #3C7EEA;
    font-weight: bold;
    font-size: 22px;
    transition: color 0.3s ease;
    /* font-family: "Arial Black", "Impact", "Helvetica Neue", "Montserrat ExtraBold", sans-serif;*/
    font-family: 'Georgia', sans-serif;
}
.logo-icon {
    font-size: 1.8rem; /* ikon büyüklüğü */
    color: #3C7EEA; /* ikon rengi, markana uyacak şekilde */
}
    .navbar-brand:hover {
        /*        color: #e67e22 !important;*/
        color: #2C5CB5 !important;
    }

/* NAV ITEM */
.navbar-nav .nav-link {
       color: #ddd !important;
/*    color: #3C7EEA !important;*/
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
}
.navbar-nav .nav-link.shirink {
    color: #f1c40f !important;
    /*    color: #3C7EEA !important;*/
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
}
    .navbar-nav .nav-link:hover {
        color: #3C7EEA !important;
        transform: translateY(-2px); /* hover animasyonu */
    }

/* Dropdown genel */
.dropdown-menu {
/*    background-color: #4f6b88;*/
    background-color: #2c3e50;
    border: none;
    transition: all 0.3s ease;
    width: 300px !important; /* Mobilde ekran dışına çıkmayı engeller */
    white-space: normal; /* Gerekirse satır sonundan alta geçmesini sağlar */
    word-wrap: break-word; /* Uzun kelimeleri kırar */
}

/* Dropdown öğeleri */
.dropdown-item {
    color: #ecf0f1 !important;
    white-space: normal; /* Mobilde satır kırılması */
}

    .dropdown-item:hover {
        background-color: #4a87e2;
        color: #ddd !important;
    }

/* Sadece mobil için */
@media (max-width: 768px) {
    .dropdown-menu {
        width: 100% !important; /* Mobilde ekran genişliğini kaplasın */
        position: static; /* Sağ kaymayı önler */
        float: none;
    }

    .dropdown-item {
        display: block;
        text-align: left;
    }
}

/* ARAMA FORMU */
.form-control {
    border-radius: 30px;
    transition: box-shadow 0.3s ease;
}

    .form-control:focus {
        box-shadow: 0 0 10px rgba(241,196,15,0.6);
        border-color: #f1c40f;
    }

.btn-outline-success {
    border-color: #3C7EEA;
        color: #f1c40f;
    transition: all 0.3s ease;
}

    .btn-outline-success:hover {
        background-color: #f39c12;
        color: #2c3e50;
    }

/* TOGGLER (Mobil Menü Butonu) */
.navbar-toggler {
    border: none;
}

.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(241,196,15, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}





/* SLIDER GENEL */
.carousel {
    position: relative;
    overflow: hidden;
}


/* SLIDE RESİMLERİ */
.carousel-item img {
    height: 600px; /* slider yüksekliği */
    object-fit: cover; /* resmi kırpıp sığdırır */
    transition: transform 1s ease-in-out; /* resim geçişi */
}

.carousel-item {
    position: relative;
}

    .carousel-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black !important;
        opacity: 0.3 !important;
        z-index: 1 !important;
    }




/* CAPTION (başlık ve yazılar) */
.carousel-caption {
    bottom: 100px; /* yukarı kaydırma */
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease; /* yazılar animasyonlu gelsin */
    position: absolute;
    z-index: 2; /* yazılar overlay üstünde */
  
}

    .carousel-caption h5 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #fcfcfc;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        color: #fcfcfc;
    }
    .carousel-caption a {
        background-color: #3C7EEA;
        color: #fff;
    }
        .carousel-caption a:hover {
            background-color: #2C5CB5;
            color: #fff;
        }

@media (max-width: 767px) {
    .carousel-caption h5 {
        font-size: 1.7rem; /* başlığı küçült */
    }

    .carousel-caption p {
        font-size: 1rem; /* açıklamayı küçült */
    }

    .carousel-caption {
        bottom: 150px; /* yazıyı biraz yukarı al */
        padding: 1px 2px;
        
    }
}
/* CAPTION ANİMASYONU */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* İNDİKATÖRLER (altındaki noktalar) */
.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.carousel-indicators .active {
    background-color: #f1c40f;
}

/* OK BUTONLARI */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 2rem 2rem;
    filter: invert(1) drop-shadow(0 0 5px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.2); /* hover ile büyüsün */
}



/* Index deki slider alanının hemen altıdaki yan yana 4 kutunun css leri. */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 20px;
}

.service-box {
    background: #96caf3;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

    .service-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .service-box .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .service-box h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #333;
    }
    .service-box button {
        background-color: #3C7EEA;
    }
    .service-box button:hover {
        background-color: #3067c2;
    }
    .service-box p {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
    }

/* Mobil uyum */
@media (max-width: 991px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
      
    }
    
}

@media (max-width: 576px) {
    .services {
        grid-template-columns: 1fr;
      
    }
 
}


/*Hakkımızda vizyon...*/
.about {
    max-width:90%;
    margin-left:auto;
    margin-right:auto;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); /* Hafif pastel gradient */
    color: #333;
    border-radius:10px;
    margin-bottom: 50px;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.about-left, .about-right {
    flex: 0 0 30%;
}

    .about-left h2 {
        font-size: 32px;
        margin-bottom: 30px;
        color: #444;
    }

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

    .about-point span {
        font-size: 28px;
    }

    .about-point p {
        font-size: 15px;
        line-height: 1.6;
        color: #555;
    }

.about-center {
    flex: 0 0 35%;
    text-align: center;
}

    .about-center img {
        width: 100%;
        max-width: 400px;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0,0,0,0.2);
        transition: transform 0.4s ease;
    }

        .about-center img:hover {
            transform: scale(1.05);
        }

.about-right p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Fade-in animasyonu */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil uyumlu */
@media (max-width: 992px) {
    .about-left, .about-center, .about-right {
        flex: 0 0 100%;
        text-align: center;
    }

    .about-left {
        margin-bottom: 30px;
    }

    .about-right p {
        margin-bottom: 15px;
    }
}


/* Derslerimiz alanı temsil eder.*/
/* Dersler alanı */
.courses {
    position: relative; /* çok önemli */
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #3C7EEA 0%, #6BCB77 100%);
    overflow: hidden; /* ::before taşmasın */
}
.courses h2{
    color:aliceblue;
    text-align: center;
/*    background: linear-gradient(135deg, #3C7EEA 0%, #6BCB77 100%);*/
   
}

.read-more-btn {
   /* display: inline-block;*/
   /* padding: 8px 14px;
    font-size: 0.85rem;*/
    /*background-color: #007bff;*/
    color: #fff;
   
    text-decoration: none;
    /*transition: background-color 0.3s ease;*/
   /* position: absolute;*/
    /*bottom: 16px;
    right: 16px;
    border-radius:30px;*/
}

    .read-more-btn:hover {
        /*background-color: #3067c2;*/
        color: #3C7EEA;
    }

    .courses::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/umd/img/arkaplan.png'); /* kökten yol verildi */
        background-size: cover;
        background-position: center;
        opacity: 0.2; /* çok koyu olmasın */
        pointer-events: none;
    }
.course-box a {
    text-decoration: none; /* alt çizgiyi kaldırır */
    color: inherit; /* başlık rengini korur */
}
.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
}

/* Grid düzeni */
.course-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC’de 4 */
    gap: 25px;
  
}
.course-rowSearch {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC’de 4 */
    gap: 5px;
}
/*.course-box1 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}*/
/* Kartlar */
.course-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index:1;
}

    .course-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    /* Görseller */
    /*.course-box img {
        width: 90%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
        border:solid;
    }*/
    .course-box img {
        width: 90%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
        border: 1px solid rgba(0, 0, 0, 0.1); /* ince, yumuşak gri ton */
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

        /* Hover efekti (isteğe bağlı, hoş bir dokunuş katar) */
        .course-box img:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: scale(1.02);
        }

    /* Başlık & açıklama */
    .course-box h3 {
        text-decoration: none; /* alt çizgiyi kaldırır */
        font-size: 20px;
        margin-bottom: 10px;
        color: #444;
        font-weight: bold;
    }

.course-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
    .course-box h3:hover {
        color: #3C7EEA;
    }

/* Tablet ve mobil için */
@media (max-width: 992px) {
    .course-row {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        
    }

    .course-box img {
        height: 160px;
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .course-row {
        grid-template-columns: repeat(1, 1fr); /* 2 sütun */
    }

    .course-box img {
        height: auto;
        width: 100%;
        padding:0;
    }
    .course-box h3 {
        font-size: 18px;
        margin-bottom: 5px;
        color: #444;
        font-weight: bold;
        
 


    }
}
/*Hero-Banner-Split yani video solda yazı sağda alanı. neW*/
.hero-banner-split {
    display: flex;
    width: 100%;
    height: 70vh; /* PC için daha küçük height */
    background-color: #e0f7fa; /* sağ taraf için farklı arkaplan rengi */
}

/* Sol taraf video */
.hero-left-split {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-split {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-split {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

/* Ortadaki içerik (video üzerinde) */
.hero-center-content {
    position: absolute;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 20px;
}

    .hero-center-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-center-content p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

/* Sağ taraf içerik */
.hero-right-split {
    flex: 1;
    padding: 50px;
    background-color: #f1f8e9; /* farklı arka plan */
}

    .hero-right-split h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-right-split ul {
        padding-left: 20px;
    }

        .hero-right-split ul li {
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

/* Responsive: mobilde alt alta */
@media (max-width: 992px) {
    .hero-banner-split {
        flex-direction: column;
        height: auto;
    }

    .hero-left-split,
    .hero-right-split {
        flex: unset;
        width: 100%;
        height: auto;
    }

    .hero-video-split {
        height: 300px; /* mobilde video yüksekliği */
    }

    .hero-center-content h1 {
        font-size: 1.5rem;
    }

    .hero-center-content p {
        font-size: 1rem;
    }
}



/*Hero banner video alanı bölgesi css leri*/
.hero-banner {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
   /* margin-top: 30px;*/
   
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Şeffaf overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* %40 şeffaf siyah */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: 48px;
        font-weight: bold;
        margin-bottom: 20px;
        text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }

    .hero-content p {
        font-size: 20px;
        margin-bottom: 30px;
        text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    }

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

    .hero-btn:hover {
        background: #2980b9;
    }

/* Mobil uyumlu */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}


/*Başarı Hikayeleri*/
.testimonials {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%); /* Canlı gradient */
   
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff; /* Beyaz başlık gradient üzerinde daha okunaklı */
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
    padding-top: 15px;
    max-width:90%;
    margin:0 auto;
}

/*.testimonial-item {
    flex: 0 0 30%;
    background: #b8b5b5;*/ /* yumuşak gri ton */
    /*border-radius: 12px;
    padding-top: 18px;*/ /* azaltılmış padding */
    /*box-shadow: 0 3px 10px rgba(0,0,0,0.1);*/ /* gölgeyi de biraz hafifleterek dengeli görünüm */
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}*/

.testimonial-item {
    position: relative; /* köşeye ikon yerleştirmek için gerekli */
    flex: 0 0 30%;
    background: #b8b5b5;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Sol üst köşedeki ikon grubu */
.review-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
}

/* Hover efekti */
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


    .testimonial-item:hover {
        transform: translateY(-6px);
    }

    .testimonial-item img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
        border: 3px solid #f1f1f1;
    }

    .testimonial-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #444;
    }

    .testimonial-item p {
        font-size: 14px;
        color: #03132d;
        padding: 20px;
    }

/* Mobil uyumlu */
@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 45%; /* mobilde 2 yan yana */
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        flex: 0 0 80%; /* çok küçük ekranlarda tek kutu */
    }
    .testimonial-slider {
      
        max-width: 100%;
      
    }
}

/*NEDEN BİZ ALANI...*/
.features {
    padding: 60px 20px;
    text-align: center;
    background: #f0f8ff; /* Hafif canlı arka plan */
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-box {
    background: #D8EEFF;
    flex: 0 0 22%; /* PC’de 4 yan yana */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .feature-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #444;
}

.feature-box p {
    font-size: 14px;
    color: #666;
}

/* Tablet ve mobil */
@media (max-width: 992px) {
    .feature-box {
        flex: 0 0 45%; /* 2 yan yana */
    }
}

@media (max-width: 576px) {
    .feature-box {
        flex: 0 0 80%; /* tek kutu */
    }
}
/*BLOGLAR. PAGE.*/
.blog-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* eşit yükseklik */
    color: inherit; /* link mavi görünmesin */
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
   
}

.blog-content {
    padding: 20px;
}

    .blog-content h5 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #007bff;
    }

    .blog-content p {
        font-size: 16px;
        color: #555;
        line-height: 1.5;
    }


/*Eğitmenler Bölümü*/
.teacher-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .teacher-img {
        width: 100px;
        height: 100px;
    }
    .blog-content p {
        font-size: 14px;
    }
}

.blog-content {
    position: relative;
    padding-bottom: 25px; /* altta boşluk kalsın */
}
.blog-content h2 {
   font-size:1.5rem;
    
}
  

.read-more {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #007bff; /* link mavisi */
    cursor: pointer;
    transition: color 0.2s ease;
}

    .read-more:hover {
        color: #0056b3;
    }

/*Blog DeTAY*/
.blog-header {
    margin-bottom: 30px;
}

    .blog-header img {
        width: 70%;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.blog-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #198754;
}

.blog-content p {
    margin-bottom: 20px;
    color: #444;
}

.other-blogs {
    margin-top: 60px;
}

    .other-blogs .card img {
        height: 150px;
        object-fit: cover;
    }



    /*KURUCU ÖZEL SAYFASI TASARIM*/
/* Body genel ayarları */


/* Founder Hero */
.founder-hero {
    position: relative;
    color: #fff;
    padding: 100px 0;
 /*   border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;*/
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    overflow: hidden;
}

    /* Arka plan görsel */
    .founder-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("/umd/img/umudum7.png") center/cover no-repeat;
        z-index: 0;
    }

    /* Koyu overlay katmanı */
    .founder-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.65); /* buradaki 0.45 ile koyuluğu ayarlayabilirsin */
        z-index: 1;
    }

    /* İçerik önde ve net */
    .founder-hero h1,
    .founder-hero p,
    .founder-hero img {
        position: relative;
        z-index: 2;
    }

/*
    .founder-hero h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .founder-hero p {
        font-size: 1.2rem;
        max-width: 750px;
        margin: 15px auto 0 auto;
        line-height: 1.8;
    }*/
.contact-section {
    background-color: #2a79e7 !important; /* !important ile diğer stil çakışmalarını engeller */
    color: #fff;
    border-radius: 20px;
    padding: 40px 15px;
    text-align: center;
}

    .founder-hero .founder-img {
        width: 600px; /* daha geniş */
        height: auto; /* daha kısa, oval etkisi için */
        border-radius: 30px; /* oval köşe */
        border: 5px solid #fff;
        object-fit: cover;
        margin-top: 25px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        /* Hover efekti */
        .founder-hero .founder-img:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.5);
        }

/* Responsive */
@media (max-width: 768px) {
    .founder-hero h1 {
        font-size: 2.4rem;
    }

    .founder-hero .founder-img {
        width: 300px;
        height: auto;
    }

    .bio-section {
        width: 80%;
        margin: 0 auto;
        background: linear-gradient(135deg, #b5d7fa, #85bbf0, #4a90e2);
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        padding: 3rem 2rem;
        color: #333;
        line-height: 1.7;
        font-family: "Cormorant Garamond", serif;
        transition: all 0.3s ease;
    }


        .bio-section h2 {
            text-align: center;
            font-family: "Cormorant Garamond", serif;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #1f4e79;
        }

        .bio-section p {
            font-family: "Libre Baskerville", serif;
            font-size: 1.6rem;
            margin-bottom: 1rem;
            text-align: justify;
        }

    /* Mobil görünüm (tam genişlikte) */
    @media (max-width: 768px) {
        .bio-section {
            width: 100%;
            padding: 2rem 1.2rem;
            border-radius: 0;
        }

            .bio-section h2 {
                font-size: 1.6rem;
            }

            .bio-section p {
                font-size: 1.4rem;
                text-align: left; /* Justify’ı devre dışı bırakıyoruz */
                hyphens: auto; /* Kelimeleri doğal biçimde böl */
                word-break: break-word; /* Satır taşmalarını engelle */
                line-height: 1.8; /* Okunabilirliği artır */
                text-align-last: left;
            }
    }

    /* Arka plan görsel */
    .founder-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("/umd/img/umudum5.png") center/cover no-repeat;
        z-index: 0;
    }

}


/*Education alanı.*/

.ders-detay-page {
    max-width: 900px;
    margin: 50px auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: #333;
    padding: 0 20px;
   /* background: #D8EEFF;*/
}

.ders-header h1 {
    font-size: 2.5em;
    color: #198754;
    margin-bottom: 10px;
}

.ders-alt-baslik {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

.ders-banner {
    width: 100%;
    height:450px;
    border-radius: 15px;
    margin-bottom: 30px;
    object-fit: cover;
}
/* Mobil için tam ekran */
@media (max-width: 768px) {
    .ders-banner {
        width: 100%;
        height: 350px;
     
    }
}

.ders-section {
    margin-bottom: 40px;
}

    .ders-section h2 {
        font-size: 1.8em;
        color: #0d6efd;
        margin-bottom: 15px;
        border-bottom: 2px solid #0d6efd;
        display: inline-block;
        padding-bottom: 5px;
    }
    .ders-section p {
        color: #666;
    }

    .ders-section ul {
        list-style: disc;
        padding-left: 20px;
    }

        .ders-section ul li {
            margin-bottom: 10px;
            color: #666;
        }

.ders-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

    .ders-images img {
        width: calc(50% - 7.5px);
        border-radius: 10px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

        .ders-images img:hover {
            transform: scale(1.05);
        }


        /*İnstagram iframe*/
.instagram-grid .ratio {
    border-radius: 20px;
    overflow: hidden; /* iframe taşmasını engeller */
    border: 3px solid #3C7EEA; /* mavi çerçeve */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* isteğe bağlı gölge */
}


/*Sık Sorulan Sorular*/
#faq .accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

    #faq .accordion-button:not(.collapsed) {
        color: #fff;
        background-color: #3C7EEA;
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }

#faq .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}


/* Google Maps */
.map-section {
    background: #f9f9f9;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

    .map-section h2 {
        font-weight: 700;
        color: #3C7EEA;
    }

.map-wrapper iframe {
    border: none;
}

/* Mobil için tam ekran */
@media (max-width: 768px) {
    .map-section {
        max-width: 100%;
        padding: 0 10px; /* kenarlardan biraz boşluk */
    }
}


/*eğitmenler sayfası.*/
.trainer-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Her 4 karttan sonra çizgi ve boşluk */
/*.col-12.col-md-3:nth-of-type(4n)::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: #e0e0e0;
    margin: 40px 0;
}*/

/* Mobil görünümde her 2 kartta bir çizgi */
/*@media (max-width: 768px) {
    .col-12.col-md-3:nth-of-type(2n)::after {
        content: "";
        display: block;
        height: 1px;
        width: 100%;
        background-color: #e0e0e0;
        margin: 30px 0;
    }
}*/

    .trainer-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .trainer-card h4,
    .trainer-card h3 {
        font-family: 'Unna', serif;
        margin-bottom: 5px;
        color: #3C7EEA;
        font-size: 20px;
        position: relative;
        padding-bottom: 10px; /* Yazı altına biraz boşluk */
    }

        /* Altına zarif bir divider çizgisi */
        .trainer-card h4::after,
        .trainer-card h3::after {
            content: "";
            display: block;
            width: 100%; /* Çizgi uzunluğu */
            height: 1px; /* Çizgi kalınlığı */
            background-color: rgba(60, 126, 234, 0.35); /* Maviyi %35 opaklıkla yumuşattık */
            margin-top: 12px; /* Başlık ile çizgi arası mesafe */
            border-radius: 2px; /* Uçları yumuşat */
            opacity: 0.7; /* Hafif solgunluk, zarif görünüm */
        }

    .trainer-card p {
        color: #666; /* Yumuşak gri tonu */
        font-weight: 500;
        font-family: 'Cormorant Garamond', serif;
        font-size:1.4rem;
    }

    /* Hover efekti */
    .trainer-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
/* Responsive: Tablet */
@media (max-width: 768px) {
    .trainer-card p {
 
        font-size: 1.3rem;
    }
}
/* Kurucu / Sahibi kartını öne çıkar */
.founder-card {
    width: 300px;
    border: 2px solid #3C7EEA;
}




/*Header özel*/
.page-header {
    background-color: #3C7EEA;
    color: #fff;
    height: 150px; /* sabit yükseklik */
    display: flex; /* ortalamak için flex */
    flex-direction: column;
    justify-content: center; /* dikey ortalama */
    align-items: center; /* yatay ortalama */
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

    .page-header h1 {
        font-size: 2rem; /* yükseklik azaldığı için daha küçük */
        font-weight: 700;
        margin: 0;
    }

    .page-header p {
        font-size: 1rem;
        color: #f0f0f0;
        margin: 0;
    }

    /* Alt dalga efekti */
    .page-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 20px;
        background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="0.3" d="M0,128L1440,32L1440,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
    }

.mini-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
     /* Köşe köşe farklı */
    border-radius: 10px 30px 5px 20px;
    margin-left: 3px; /* yazı ile img arası boşluk */
    margin-right: 2px; /* img ile sonraki L harfi arası boşluk */
}


/*Eğitim Detay sayfaları içinnnn.*/
/* Genel Ders Sayfası Stilleri */
.ders-detay-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
   
}

/* Başlıklar */
.ders-header h1 {
    font-size: 2.5rem; /* Masaüstü büyük başlık */
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;

}

.ders-header .ders-alt-baslik {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.ders-section h2 {
    font-size: 1.8rem; /* Alt başlık */
    font-weight: 600;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0d6efd; /* Navbar link rengi ile uyumlu */
}

/* Paragraflar ve listeler */
.ders-section p,
.ders-section ul {
    font-size: 1rem;
    color: #333;
}

    .ders-section ul li {
        margin-bottom: 8px;
    }

/* Görseller */
.ders-images img {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 15px;
    border-radius: 8px;
}

    .ders-images img:last-child {
        margin-right: 0;
    }

/* Responsive: Tablet */
@media (max-width: 768px) {
    .ders-header h1 {
        font-size: 2rem;
    }

    .ders-section h2 {
        font-size: 1.5rem;
    }

    .ders-images img {
        width: 100%;
        margin-right: 0;
    }
}

/* Responsive: Mobil */
@media (max-width: 480px) {
    .ders-header h1 {
        font-size: 1.6rem;
    }

    .ders-header .ders-alt-baslik {
        font-size: 0.95rem;
    }

    .ders-section h2 {
        font-size: 1.3rem;
    }

    .ders-section p,
    .ders-section ul li {
        font-size: 0.95rem;
    }
}



/*GALERY*/
.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 40px;
}

.gallery-category {
    margin-bottom: 50px;
}

    .gallery-category h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #333;
    }

/* Genel Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütunlu düzen (Hem PC hem mobil) */
    gap: 15px;
}

    .gallery-grid img {
        width: 100%;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .gallery-grid img:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav span {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
    transform: translateY(-50%);
}

.lightbox-nav .prev {
    left: 10px;
}

.lightbox-nav .next {
    right: 10px;
}
/* Responsive: Tablet */
@media (max-width: 768px) {
    .gallery-title {
        text-align: center;
        font-size: 1.5rem;
        color: #0d6efd;
        margin-bottom: 40px;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 4 sütunlu düzen (Tablet ve Mobil) */
    }
    .gallery-category h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: #333;
    }
}

/* Responsive: Mobil */
@media (max-width: 480px) {
    .gallery-title {
        text-align: center;
        font-size: 1rem;
        color: #0d6efd;
        margin-bottom: 40px;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 4 sütunlu düzen (Mobil) */
    }
    .gallery-category h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: #333;
    }
}





/*ana sayfada slider resim görsel geçişleri..*/
.slider-container{
width:60%;

}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .slider-container {
        width: 80%;
    }
}

/* Responsive: Mobil */
@media (max-width: 480px) {
    .slider-container {
        width: 90%;
    }
}

/*BASARİ HİKAYELERİ ALANI*/
.success-hero {
    text-align: center;
    background: #57c2fd;
    padding: 2rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    max-width:80%;
    margin-right:auto;
    margin-left:auto;
}
.success-hero h1 {
    color:azure
  
}
    .success-hero h4 {
        color: azure
    }

    .success-hero h3 {
        color: azure
    }
    .success-hero p{
        color: azure
    }

.success-filters .form-select,
.success-filters .form-control {
    min-width: 150px;
}

.success-grid .testi-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform .2s, box-shadow .2s;
}

    .success-grid .testi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    }

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.submit-story {
    background: #fefefe;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

@media(max-width:767px) {
    .success-filters {
        flex-direction: column;
        gap: .5rem;
    }
    .success-hero {
      
        margin-bottom: 1.5rem;
        margin-top: 2.5rem;
        max-width: 100%;
      
    }

}


/*KARİYER ALANI*/
.career-section {
    padding: 60px 20px;
    background: #f9fcff;
}

.career-container {
    max-width: 1100px;
    margin: 0 auto;
}

.career-header {
    text-align: center;
    margin-bottom: 40px;
}

.career-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b3757;
}

.career-subtitle {
    font-size: 17px;
    color: #555;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.career-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.career-text {
    flex: 1 1 450px;
}

    .career-text h3 {
        margin-top: 0;
        color: #0b3757;
    }

.career-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .career-list li {
        margin-bottom: 12px;
        font-size: 16px;
    }

.career-subhead {
    margin-top: 30px;
}

.career-contact {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.career-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.career-call {
    background: #0077cc;
    color: #fff;
}

.career-whatsapp {
    background: #25D366;
    color: #fff;
}

.career-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.career-image {
    flex: 1 1 450px;
    text-align: center;
}

    .career-image img {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    }

@media (max-width: 768px) {
    .career-title {
        font-size: 26px;
    }

    .career-subtitle {
        font-size: 15px;
    }

    .career-content {
        flex-direction: column;
    }
}


/*Hakkımızda*/
.about-section {
    position: relative;
    background: #f8f9fa; /* Açık gri */
    overflow: hidden;
}

    .about-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50%; /* üst yarısı */
        background: #e3f2fd; /* Açık mavi */
        z-index: 0;
        clip-path: polygon(0 0%, 100% 0, 100% 80%, 0 100%);
    }

    .about-section .container {
        position: relative;
        z-index: 1;
    }



    /*BLOG YENİ DETAY*/
/* Genel yapı */
.blog-hero,
.blog-content1 {
    width: 80%;
    margin: 0 auto;
}

.blog-hero {
    background: linear-gradient(135deg, #e6f2ff, #f9fbff);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

    .blog-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        color: #0f172a;
    }

    .blog-hero p {
        color: #555;
        font-size: 1rem;
        max-width: 700px;
        margin: 0 auto;
    }

/* İçerik alanı */
.blog-content1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kartlar */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    .card h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #0f6cff;
    }

    .card p {
        color: #444;
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* Liste öğeleri */
.list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

    .list-item .icon {
        font-size: 1.3rem;
        line-height: 1.2;
    }

/* Öneriler */
.tips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tip {
    flex: 1 1 30%;
    background: linear-gradient(135deg, #0f6cff, #06b6d4);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero,
    .blog-content1 {
        width: 100%;
    }

        .blog-hero h1 {
            font-size: 1.4rem;
        }

    .tips {
        flex-direction: column;
    }
}
/*OKULUMUZ HAKKINDA SAYFASI*/
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('/umd/img/umudumolhome.jpg') center/cover no-repeat;
    height: 70vh; /* Varsayılan (orta ekranlar için) */
    color: #fff;
}

.oklmz {
    font-size: 45px;
    color: white;
}
/* Büyük ekranlarda (PC - desktop) biraz daha kısa */
@media (min-width: 992px) {
    .about-hero {
        height: 55vh;
    }
}

/* Tabletlerde */
@media (max-width: 991px) and (min-width: 576px) {
    .about-hero {
        height: 40vh;
    }
    .oklmz {
        font-size: 36px;
    }
}

/* Küçük ekranlarda (mobil) daha da kısa */
@media (max-width: 575px) {
    .about-hero {
        height: 30vh;
    }
    .oklmz {
        font-size: 32px;
    }
}


.timeline-item {
    background: #f8f9fa;
    border-left: 5px solid #4f6b88;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.card {
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.team-member img {
    border-radius: 50%;
    max-width: 150px;
}

.gallery img {
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

    .gallery img:hover {
        transform: scale(1.05);
    }

.cta {
    background: #4f6b88;
    color: #fff;
    max-width:80%;
    margin:auto;
    margin-bottom:40px;
    border-radius:10px;
}


.school-history h4 {
    color: #4f6b88; /* Başlık rengi */
    border-left: 4px solid #4f6b88;
    padding-left: 10px;
}

.school-history p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.history-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}


/*TÜM Resimlere logo basma, marka tescili*/
.watermark-container {
    position: relative;
    display: inline-block;
}

    .watermark-container img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Watermark yazısı */
.watermark-text {
    position: absolute;
    bottom: 15px; /* Dilersen konumu değiştirebilirsin */
    right: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5); /* Şeffaf beyaz */
    font-weight: bold;
    pointer-events: none; /* Tıklamayı engellemez */
    user-select: none; /* Seçilemez */
    font-family: cooper;
}

/*İNSTAGRAM*/
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC: 4 sütun */
    gap: 16px;
    max-width:80%;
    margin:auto;
}

.instagram-item {
    width: 100%;
    box-sizing: border-box;
}

.instagram-media {
    width: 100% !important;
    max-width: 100% !important; /* Taşmayı engelle */
    min-width: 0 !important; /* Küçük ekranlarda sıkışmayı engelle */
    margin: 0 !important;
}

/* Tablet ve Mobil */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun mobil */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun mobil */
        max-width: 100%;
    }
}


/*İNSTAGRAM ALANI EN SONNNN*/


.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 90%;
    margin: auto;
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 20px;
    max-width: 100%;
}

    .gallery::-webkit-scrollbar {
        display: none;
    }

    .gallery img {
        width: 200px;
        height: 300px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
        margin: 5px;
        border: 3px solid #E4405F;
    }

/* Genel buton */
button.nav {
    background: #0d6efd;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

    button.nav:hover {
        background: rgb(23, 21, 170);
    }

    /* Sol ok */
    button.nav.left::before {
        content: "";
        display: inline-block;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 12px solid white; /* beyaz ok */
    }

    /* Sağ ok */
    button.nav.right::before {
        content: "";
        display: inline-block;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid white;
    }

    button.nav:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

/* Instagram üst başlık ve buton */
.instagram-follow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    text-align: center;
}

    .instagram-follow h3 {
        font-size: 22px;
        color: #333;
        font-weight: bold;
    }

.insta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* Instagram gradyan */
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

    .insta-btn:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

.insta-icon {
    flex-shrink: 0;
}



/* Tablet ve Mobil */
@media (max-width: 768px) {

    button.nav {
     display:none;
    }
    .slider-wrapper {
      
        max-width: 100%;
       
    }
    .gallery img {
        width: 150px;
        height: 250px;
   
    }
}

@media (max-width: 480px) {

    button.nav {
        display: none;
    }
    .slider-wrapper {
        max-width: 100%;
    }
    .gallery img {
        width: 100px;
        height: 180px;
    }
}





/*Eğitmenler detay sayfası için nEw*/


.trainer-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #F5F5F5;
}

    .trainer-detail .trainer-card {
        background: #D8EEFF;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        overflow: hidden;
        padding: 30px;
    }

    .trainer-detail img {
        width: 100%;
        max-width: 420px;
        height: 500px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        display: block;
        margin-bottom: 20px;
    }

    .trainer-detail h2 {
        font-size: 30px;
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .trainer-detail p.role {
        font-size: 22px;
        color: #777;
        margin-bottom: 15px;
    }

    /* Başlık altına divider çizgi */
    .trainer-detail h4 {
        position: relative;
        margin-top: 25px;
        margin-bottom: 18px;
        padding-bottom: 6px;
        font-size: 20px;
        font-weight: 600;
        color: #1e90ff;
    }

        /* Divider çizgi efekti */
        .trainer-detail h4::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            margin:0 auto;
            width: 100%; /* Çizgi uzunluğu */
            height: 1px;
            background: linear-gradient(90deg, #1e90ff, #6fb1fc);
            border-radius: 2px;
        }

        /* Hover efekti (isteğe bağlı animasyon) */
     /*   .trainer-detail h4:hover::after {
            width: 100px;
            transition: width 0.3s ease;
        }*/

    /* Liste stilleri */
    .trainer-detail ul {
        padding-left: 20px;
        list-style-type: disc;
        color: #444;
        text-align: left;
    }

        .trainer-detail ul li {
            padding: 3px 0;
            border-bottom: 1px solid #eee;
            font-size: 18px;
            text-align: left;
        }


@media (max-width: 768px) {
    .trainer-detail {
        padding: 10px;
    }

        .trainer-detail .trainer-card {
            padding: 15px;
            border-radius: 10px;
        }

        .trainer-detail img {
            width: 100%; /* Tam genişlik */
            height: auto; /* Oran koruyarak yükseklik ayarı */
            max-width: 100%; /* Kısıtlamayı kaldır */
            border-radius: 10px;
            box-shadow: none;
        }

        .trainer-detail h2 {
            font-size: 27px;
            text-align: center;
        }

        .trainer-detail p.role {
            font-size: 17px;
            text-align: center;
        }

        .trainer-detail ul {
            padding-left: 15px;
        }

            .trainer-detail ul li {
                font-size: 17px;
            }

        /* Resim ve yazılar dikey hizalansın */
        .trainer-detail .row {
            flex-direction: column;
            align-items: center;
        }

        .trainer-detail .col-md-5,
        .trainer-detail .col-md-7 {
            width: 100%;
        }
}


.page-header {
    padding: 60px 0; /* mobilde daha kısa */
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 0; /* mobilde daha kısa */
        height:90px;
    }

        .page-header h1 {
            font-size: 26px; /* başlığı da biraz küçültelim */
        }

        .page-header p {
            font-size: 17px;
        }
}
/*.egtmn{
    font-size:20px;
}

@media (max-width: 768px) {
    .egtmn {
        font-size: 14px;
    }
}*/
