:root {
    --primary-color: #0d6efd;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --text-color: #555;
    --gray-bg: #f8f9fa;
    --font-family: 'Poppins', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-color); line-height: 1.7; background-color: var(--light-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--dark-color); line-height: 1.3; font-weight: 600; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 20px; }
.section-title-left { text-align: left; font-size: 2.5rem; margin-bottom: 15px; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 60px auto; font-size: 1.1rem; }
.btn { display: inline-block; padding: 12px 32px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; text-align: center; }
.btn-primary { background-color: var(--primary-color); color: #fff; border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: #0b5ed7; border-color: #0b5ed7; transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: #fff; }

.main-header {
    background: rgba(255,255,255,0.98);
    height: 105px;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
}
.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    padding: 0 15px;
}
.logo-img { 
    height: 110px; 
    width: auto;
    aspect-ratio: 247 / 214;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-right: 40px;
}
.logo-img:hover { transform: scale(1.05); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 20px; }
.main-nav ul li { position: relative; }
.main-nav ul li a { text-decoration: none; color: var(--dark-color); font-weight: 600; padding: 10px 5px; font-size: 0.95rem; }
.main-nav > ul > li > a:not(.btn-nav-final)::after { content: ''; position: absolute; bottom: 0px; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { width: 100%; }
.main-nav ul li.dropdown { position: relative; }
.main-nav .dropdown-menu {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff;
    min-width: 240px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
    padding: 15px 0; 
    border-radius: 8px;
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }
.main-nav .dropdown-menu li { width: 100%; }
.main-nav .dropdown-menu li a { display: block; padding: 10px 20px; font-weight: 500; }
.main-nav .dropdown-menu li a { display: block; padding: 10px 20px; color: var(--dark-color); font-weight: 500; transition: all 0.2s ease; border-radius: 5px; margin: 0 5px; }
.main-nav .dropdown-menu li a:hover { background-color: var(--gray-bg); color: var(--primary-color); }
.main-nav .dropdown > a i { font-size: 0.7rem; margin-left: 5px; transition: transform 0.3s ease; }
.main-nav .dropdown:hover > a i { transform: rotate(180deg); }
.btn-nav-final {
    padding: 10px 25px; background-color: var(--primary-color); border: none; color: #fff;
    font-weight: 600; font-size: 0.95rem; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; margin-left: 20px;
}
.btn-nav-final:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4); background-color: #0b5ed7; }

.slider { position: relative; height: 90vh; overflow: hidden; background-color: #eee; }
.slides { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center;
    display: flex; align-items: center; padding: 0 5%; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.slide-content { position: relative; z-index: 3; color: var(--light-color); max-width: 700px; text-align: left; }
.slide-content h1 { font-size: 3.5rem; color: var(--light-color); margin-bottom: 20px; font-weight: 700; }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.2); border: none; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: background 0.3s; }
.slider-btn:hover { background: rgba(255,255,255,0.4); }
.prev { left: 20px; }
.next { right: 20px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--light-color); }

.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 60px; }
.about-image { height: 450px; background-size: cover; background-position: center; border-radius: 10px; }
.about-content h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-color); }
.about-content p { margin-bottom: 20px; }
.services-section { padding: 100px 0; background: var(--gray-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--light-color); padding: 40px; text-align: center; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.faq-section { padding: 100px 0; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0e0e0; transition: opacity 0.5s; }
.faq-item.hidden { display: none; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px; font-family: var(--font-family); font-size: 1.2rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--dark-color); }
.faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 20px 20px 20px; }
.faq-load-more { text-align: center; margin-top: 40px; }
.contact-section { padding: 100px 0; background-color: var(--dark-color); color: #f4f4f4; }
.contact-section h2 { color: #fff; }
.contact-section p { max-width: 600px; margin: 0 auto 40px auto; text-align: center; }
.contact-form { max-width: 600px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #555; border-radius: 5px; background: #333; color: #fff; font-family: var(--font-family); font-size: 1rem; }
.contact-form button { align-self: center; width: auto; }
.main-footer { background-color: #111; color: #ccc; padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-logo { height: 60px; margin-bottom: 20px; filter: invert(0.8); }
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { text-decoration: none; color: #ccc; transition: color 0.3s ease; display: inline-block; margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }
.social-icons a { color: #ccc; font-size: 1.4rem; margin-right: 15px; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--primary-color); }

.page-header { padding: 80px 0; background-size: cover; background-position: center; position: relative; text-align: center; color: #fff; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 3.5rem; color: #fff; margin-bottom: 10px; }
.page-header p { font-size: 1.2rem; opacity: 0.9; }
.page-content { padding: 80px 0; }
.content-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 50px; }
.main-content h2, .main-content h3 { margin-top: 30px; margin-bottom: 15px; }
.main-content h2:first-child, .main-content h3:first-child { margin-top: 0; }
.main-content p { margin-bottom: 15px; line-height: 1.8; }
.main-content ul { list-style-position: inside; padding-left: 10px; margin-bottom: 20px; }
.main-content ul li { margin-bottom: 10px; }
.feature-box { display: flex; gap: 20px; align-items: flex-start; background-color: var(--gray-bg); padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.feature-box .icon-wrapper { font-size: 1.8rem; color: var(--primary-color); background-color: #e7f1ff; padding: 15px; border-radius: 50%; display: inline-flex; }
.feature-box h3 { margin-top: 0; font-size: 1.4rem; }
.sidebar .widget { background-color: var(--gray-bg); padding: 25px; border-radius: 8px; margin-bottom: 30px; }
.sidebar .widget h4 { font-size: 1.3rem; margin-bottom: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
.sidebar .widget ul { list-style: none; padding: 0; }
.sidebar .widget ul li a { display: block; text-decoration: none; color: var(--text-color); padding: 10px 15px; border-radius: 5px; margin-bottom: 5px; font-weight: 500; transition: all 0.2s ease; }
.sidebar .widget ul li a:hover { background-color: #e0e0e0; color: var(--dark-color); }
.sidebar .widget ul li a.current { background-color: var(--primary-color); color: #fff; }
.feature-box .icon-wrapper strong { font-size: 1.5rem; line-height: 1; color: var(--primary-color); }

.blog-post-card { display: flex; flex-direction: column; background-color: #fff; border: 1px solid #e9ecef; border-radius: 8px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.blog-post-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.blog-post-card .post-image-link img { width: 100%; height: 400px; object-fit: cover; display: block; }
.blog-post-card .post-content { padding: 30px; }
.blog-post-card .post-meta { display: flex; gap: 20px; font-size: 0.9rem; color: #6c757d; margin-bottom: 15px; }
.blog-post-card .post-meta i { margin-right: 5px; color: var(--primary-color); }
.blog-post-card .post-title { margin: 0 0 15px 0; font-size: 1.8rem; }
.blog-post-card .post-title a { text-decoration: none; color: var(--dark-color); transition: color 0.2s ease; }
.blog-post-card .post-title a:hover { color: var(--primary-color); }
.blog-post-card .post-excerpt { font-size: 1rem; color: #495057; line-height: 1.7; }
.btn-read-more { display: inline-block; margin-top: 20px; color: var(--primary-color); font-weight: 600; text-decoration: none; }
.btn-read-more i { margin-left: 5px; transition: transform 0.2s ease; }
.btn-read-more:hover i { transform: translateX(5px); }
.sidebar .widget ul.popular-posts li a { padding: 5px 0; font-weight: 400; border-bottom: 1px dashed #ddd; }

.post-detail { padding: 20px 0; }
.post-title-detail { font-size: 2.8rem; line-height: 1.3; margin-bottom: 20px; }
.post-meta-detail { display: flex; flex-wrap: wrap; gap: 25px; padding-bottom: 20px; margin-bottom: 30px; border-bottom: 1px solid #eee; font-size: 0.9rem; color: #6c757d; }
.post-meta-detail i { margin-right: 8px; color: var(--primary-color); }
.post-meta-detail a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.post-featured-image { margin-bottom: 30px; }
.post-featured-image img { width: 100%; height: auto; border-radius: 8px; }
.post-body p, .post-body ul, .post-body blockquote { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.8; }
.post-body h3 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 15px; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin-top: 10px; margin-bottom: 10px; }
.post-body blockquote { border-left: 4px solid var(--primary-color); padding-left: 20px; font-style: italic; color: #495057; background-color: var(--gray-bg); padding-top: 20px; padding-bottom: 1px; padding-right: 20px; border-radius: 0 8px 8px 0; }

.mevzuat-list { margin-top: 40px; }
.mevzuat-item { display: flex; gap: 25px; align-items: flex-start; padding: 25px; border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 20px; transition: all 0.3s ease; }
.mevzuat-item:hover { border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.mevzuat-icon { font-size: 2.5rem; color: var(--primary-color); flex-shrink: 0; }
.mevzuat-content h4 { margin-top: 0; margin-bottom: 10px; font-size: 1.4rem; }
.mevzuat-content p { margin-bottom: 15px; font-size: 1rem; color: #495057; }

/* =============================================== */
/* İLETİŞİM SAYFA STİLLERİ (EKLENDİ)
/* =============================================== */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 60px;
    align-items: flex-start;
}
.contact-details h3, .contact-form-wrapper h3 { font-size: 1.8rem; margin-bottom: 25px; }
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 25px; }
.contact-info-item .icon-wrapper { font-size: 1.5rem; color: var(--primary-color); margin-top: 5px; }
.contact-info-item h4 { font-size: 1.1rem; margin-bottom: 5px; margin-top: 0; }
.contact-info-item p { margin: 0; color: #495057; }
.contact-form-page .form-group { margin-bottom: 20px; }
.contact-form-page label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.contact-form-page input,
.contact-form-page textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 8px;
    font-family: var(--font-family); font-size: 1rem; transition: all 0.3s;
}
.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.contact-form-page button { width: 100%; padding: 15px; font-size: 1.1rem; border-radius: 8px; }
.map-section { width: 100%; height: 450px; margin-top: 80px; }
.map-section iframe { border-radius: 8px; }


/* RESPONSIVE (Mobil Uyum) */
@media (max-width: 1100px) {
    .main-nav > ul > li { margin-left: 15px; }
    .btn-nav-final { padding: 10px 20px; }
}
@media (max-width: 992px) { 
    .about-grid, .content-grid, .contact-page-grid { grid-template-columns: 1fr; } 
    .about-image { height: 300px; }
    .main-nav, .btn-nav-final { display: none; } 
}
@media (min-width: 768px) {
    .blog-post-card { flex-direction: row; }
    .blog-post-card .post-image-link { flex: 0 0 300px; }
    .blog-post-card .post-image-link img { height: 100%; }
}
@media(max-width: 768px) { 
    .slide-content h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; } 
}
/* =============================================== */
/* AÇILIR MENÜ Z-INDEX GARANTİSİ
/* =============================================== */

/* Bir menü açıldığında, header'ın z-index'ini geçici olarak artırarak
   diğer tüm içeriklerin üzerinde kalmasını garanti eder. */
.main-header.menu-open {
    z-index: 10000; /* Çok yüksek bir değer */
}
/* =============================================== */
/* REFERANSLAR SAYFASI STİLLERİ
/* =============================================== */

/* Başarı Hikayesi Bölümü */
.case-study-image-final-wrapper {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9; /* 16:9 görünüm — daha yatay ve kurumsal */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image-final {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-study-image-final:hover {
    transform: scale(1.03);
}



.case-study-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-study-content h3 {
    font-size: 2rem;
    margin-top: 0;
}

.case-study-services {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.case-study-services li { margin-bottom: 8px; color: #495057; }
.case-study-services li i { color: #28a745; margin-right: 10px; }


/* Logo Duvarı Bölümü */
.logo-wall {
    padding: 80px 0;
    background-color: var(--gray-bg);
    margin-bottom: 80px;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* DÜZENLİ 4 sütun */
    gap: 40px;
    align-items: center;
    justify-items: center; /* logoları hücre içinde ortala */
}

.logo-item {
    text-align: center;
}
.logo-item img {
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Müşteri Yorumları Bölümü */
.testimonials-section-inner {
    padding-bottom: 80px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonial-card {
    background: var(--gray-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding-left: 35px;
}
.testimonial-card p::before {
    content: '\f10d'; /* Font Awesome sol tırnak işareti */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}
.testimonial-author span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .case-study, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* =============================================== */
/* İSTATİSTİKLER BÖLÜMÜ STİLLERİ (DÜZELTİLMİŞ)
/* =============================================== */

.stats-section {
    padding: 80px 0;
    background-color: #111; /* Daha koyu ve modern bir siyah */
    color: #fff;
}

.stats-grid {
    display: grid;
    /* Ekran genişliğine göre otomatik olarak 2 veya 4 sütuna ayarlar */
    /* Her eleman en az 220px olur, yer varsa eşit paylaşır */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px; /* Elemanlar arası boşluk */
    text-align: center;
}

.stat-item {
    /* Her bir istatistik kutusuna biraz derinlik katalım */
    padding: 20px;
    border-left: 3px solid var(--primary-color);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7); /* Yazıyı biraz daha okunur yaptık */
}
/* =============================================== */
/* ANA SAYFA BLOG BÖLÜMÜ STİLLERİ
/* =============================================== */

.latest-posts-section {
    padding: 100px 0;
    background-color: var(--gray-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Başlık altındaki mavi çizgi */
.section-header p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.post-card-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.post-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card-title a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.2s;
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.post-card-readmore {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    align-self: flex-start;
}
/* =============================================== */
/* ANA SAYFA MÜŞTERİ YORUMLARI BÖLÜMÜ STİLLERİ
/* =============================================== */

.testimonials-section {
    padding: 100px 0;
    background-color: #fff; /* Temiz bir arka plan */
}

.testimonials-grid-main {
    display: grid;
    /* Ekran genişliğine göre 1 veya 2 sütun olacak şekilde ayarlar */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card-main {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
}

.testimonial-content .fa-quote-left {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author-main {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.testimonial-author-main img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-author-main .author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.testimonial-author-main .author-info span {
    font-size: 0.9rem;
    color: #6c757d;
}
/* Başlangıçta mobil kapatma butonunu gizle */
.nav-close-btn {
    display: none;
}
/* Masaüstünde hamburger butonu görünmesin */
@media (min-width: 768px) {
    .nav-open-btn {
        display: none;
    }
}
.main-nav ul {
  padding-left: 80px; /
}
/* Başlangıçta mobil menüyü gizle */
.main-nav {
  display: none;
}

/* Menü açıkken göster */
.main-nav.menu-open {
  display: block;
}

/* Hamburger ve kapatma butonları */
.nav-open-btn, .nav-close-btn {
  cursor: pointer;
  position: relative;
  z-index: 11000;
}

/* Başlangıçta kapatma butonunu gizle */
.nav-close-btn {
  display: none;
}

/* Mobilde sadece hamburger butonu görünür */
@media (max-width: 767px) {
  .nav-open-btn {
    display: block;
  }
}
.main-nav {
  display: flex !important; /* Masaüstünde hep görünür */
}

@media (max-width: 992px) { 
    .main-nav {
        display: none !important; /* Küçük ekranlarda gizle */
    } 
}
.nav-open-btn {
  display: none;
  cursor: pointer;
  z-index: 11000;
}

.nav-close-btn {
  display: none;
  cursor: pointer;
  z-index: 11000;
}

@media (max-width: 992px) {
  .nav-open-btn {
    display: block;
  }
}
.main-nav.menu-open {
  display: block !important;
  flex-direction: column; /* Mobilde dikey menü */
  background-color: var(--light-color);
  position: absolute;
  top: 60px; /* Header yüksekliğine göre ayarla */
  right: 0;
  width: 250px; /* veya ihtiyacına göre */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 11000;
}
/* Masaüstünde normal yatay menü */
@media (min-width: 993px) {
  .main-nav {
    display: flex !important;  /* Menüyü yatay yap */
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    box-shadow: none !important;
    background-color: transparent !important;
  }
}

/* Mobilde menü açıkken dikey ve kutulu görünüm */
@media (max-width: 992px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px 0 0 8px;
    z-index: 9999;
    padding: 1rem;
  }

  .main-nav.menu-open {
    display: flex !important;
  }

  .main-nav ul {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .main-nav li {
    margin-bottom: 10px;
  }

  .main-nav a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .main-nav .dropdown ul {
    display: none;
    flex-direction: column;
    padding-left: 10px;
  }

  .main-nav .dropdown.active ul {
    display: flex;
  }

  .nav-close-btn {
    display: none;
  }
  .nav-open-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    padding: 10px;
    cursor: pointer;
    display: none;
}

.nav-open-btn:hover {
    color: #007bff;
}

@media (max-width: 992px) {
    .nav-open-btn {
        display: block !important;
    }
}
.fas.fa-times {
  font-size: 28px;
  color: #333;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.fas.fa-times:hover {
  background-color: #f0f0f0;
  color: #e60000;
}
.nav-close-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  display: block;
  cursor: pointer;
}

.nav-close-btn i {
  font-size: 28px;
  color: #333;
  border-radius: 50%;
  transition: 0.3s ease;
}

.nav-close-btn i:hover {
  background-color: #f0f0f0;
  color: #e60000;
}
/* Genel taşma ve hizalama temizliği */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Kutulama hatalarını önler */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Görsellerin taşmasını engeller */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Genişliği aşabilecek bölümleri sınırlar */
section, div, .container, .row {
  overflow-x: hidden;
}

/* Uzun kelimeler satıra sığmazsa taşmayı engeller */
p, h1, h2, h3, h4, h5, h6, a, li {
  word-wrap: break-word;
  word-break: break-word;
}
/* =============================================== */
/* WHATSAPP FLOAT BUTTON STYLES (FİNAL DÜZELTME)
/* =============================================== */

.whatsapp-float {
    position: fixed; /* Ekrana sabitler */
    width: 60px;
    height: 60px;
    bottom: 40px; /* Alttan boşluk */
    right: 40px; /* Sağdan boşluk */
    background-color: #25d366; /* WhatsApp yeşili */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100; /* Diğer elemanların üzerinde kalması için */
    display: flex; /* İkonu tam ortalamak için */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Üzerine gelince hafifçe büyür */
    background-color: #128C7E; /* Koyu WhatsApp yeşili */
}

/* Mobil cihazlarda biraz daha aşağıda durması için küçük bir ayar */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;

.sidebar li {
    order: unset !important;
}
.sidebar ul,
.sidebar li {
    display: block !important;
    order: unset !important;
}