/* Equal-size blog cards (Son Blog Yazılarımız) */

/* Brand palette override (ensures win over theme defaults) */
:root {
  --base-color: #1E9F4F;
  --green: #54AB77;
  --crusoe-green: #8DC9A5;
  --dark-gray: #252525;
  --medium-gray: #4F4F4F;
  --light-gray: #A0A1A1;
  --very-light-gray: #F3F3F3;
  --mint: #8DC9A5;
  --mint-light: #BFE0CC;
  --sage: #54AB77;
  --charcoal: #4F4F4F;
}
.blog-grid.blog-cards-equal .grid-item > .card {
  display: flex;
  flex-direction: column;
  height: 455px;
  max-height: 455px;
  overflow: hidden;
}

.blog-grid.blog-cards-equal .blog-image {
  flex: 0 0 200px;
  width: 100%;
  height: 200px !important;
  max-height: 200px;
  overflow: hidden;
}

.blog-grid.blog-cards-equal .blog-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-grid.blog-cards-equal .blog-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Grafik blog kapakları — çizgi / ızgara, metin üstte */
.blog-grid.blog-cards-equal .blog-image a.ke-blog-cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
  height: 100%;
  padding: 22px 20px;
  text-decoration: none !important;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 90% 10%, rgba(30, 159, 79, 0.35) 0%, transparent 55%),
    linear-gradient(155deg, #141a22 0%, #1a2433 48%, #0e1218 100%);
}

.ke-blog-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.55;
  pointer-events: none;
}

.ke-blog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(141, 201, 165, 0.18) 42.5%, transparent 43%),
    linear-gradient(115deg, transparent 0%, transparent 58%, rgba(30, 159, 79, 0.22) 58.5%, transparent 59%),
    linear-gradient(115deg, transparent 0%, transparent 72%, rgba(255, 255, 255, 0.08) 72.5%, transparent 73%);
  pointer-events: none;
}

.ke-blog-cover__kicker,
.ke-blog-cover__title {
  position: relative;
  z-index: 1;
}

.ke-blog-cover__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8DC9A5;
  border-bottom: 2px solid rgba(30, 159, 79, 0.7);
  padding-bottom: 2px;
  margin-bottom: 2px;
}

.ke-blog-cover__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  max-width: 95%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.ke-blog-cover--mint {
  background:
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(141, 201, 165, 0.3) 0%, transparent 50%),
    linear-gradient(160deg, #122018 0%, #1a2a24 50%, #0e1412 100%);
}

.ke-blog-cover--sage {
  background:
    radial-gradient(ellipse 65% 55% at 80% 80%, rgba(84, 171, 119, 0.32) 0%, transparent 55%),
    linear-gradient(145deg, #151c20 0%, #1c2830 50%, #10151a 100%);
}

.ke-blog-cover--deep {
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(30, 159, 79, 0.28) 0%, transparent 50%),
    linear-gradient(170deg, #10141c 0%, #182230 55%, #0c1016 100%);
}

/* Sayfa / yazı üst yatay banner — grafiksel çizgiler */
.ke-graphic-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 30%, rgba(30, 159, 79, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(141, 201, 165, 0.14) 0%, transparent 50%),
    linear-gradient(160deg, #12161f 0%, #1a2233 48%, #0e1218 100%) !important;
}

.ke-graphic-banner.cover-background,
.ke-graphic-banner.one-fourth-screen {
  background-size: auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.ke-graphic-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(0, 0, 0, 0.85) 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(0, 0, 0, 0.85) 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.ke-graphic-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0%, transparent 28%, rgba(30, 159, 79, 0.2) 28.4%, transparent 29%),
    linear-gradient(105deg, transparent 0%, transparent 46%, rgba(141, 201, 165, 0.16) 46.4%, transparent 47%),
    linear-gradient(105deg, transparent 0%, transparent 64%, rgba(255, 255, 255, 0.07) 64.4%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.ke-graphic-banner > .container {
  position: relative;
  z-index: 1;
}

.page-title-big-typography.ke-graphic-banner {
  min-height: 280px;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .page-title-big-typography.ke-graphic-banner {
    min-height: 220px;
  }
}

.blog-grid.blog-cards-equal .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 255px;
  max-height: 255px;
  min-height: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

.blog-grid.blog-cards-equal .card-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: 2.6em;
  min-height: 2.6em;
  max-height: 2.6em;
  margin-bottom: 12px !important;
  line-height: 1.3;
  font-size: 1.125rem !important;
}

.blog-grid.blog-cards-equal .card-body > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  height: 4.65em;
  min-height: 4.65em;
  max-height: 4.65em;
  margin-bottom: 12px !important;
  flex: 0 0 auto;
  line-height: 1.55;
}

.blog-grid.blog-cards-equal .card-body .author {
  margin-top: auto;
  flex: 0 0 44px;
  max-height: 44px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .blog-grid.blog-cards-equal .grid-item > .card {
    height: 440px;
    max-height: 440px;
  }

  .blog-grid.blog-cards-equal .blog-image {
    flex-basis: 190px;
    height: 190px !important;
    max-height: 190px;
  }

  .blog-grid.blog-cards-equal .card-body {
    height: 250px;
    max-height: 250px;
  }
}

@media (max-width: 575px) {
  .blog-grid.blog-cards-equal .grid-item > .card {
    height: 430px;
    max-height: 430px;
  }

  .blog-grid.blog-cards-equal .blog-image {
    flex-basis: 180px;
    height: 180px !important;
    max-height: 180px;
  }

  .blog-grid.blog-cards-equal .card-body {
    height: 250px;
    max-height: 250px;
  }
}

/* Müşteri Yorumları — clean dark brand background */
.testimonials-section {
  background:
    radial-gradient(ellipse 70% 80% at 85% 40%, rgba(30, 159, 79, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(30, 159, 79, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #12161f 0%, #1a2233 48%, #0e1218 100%);
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(0, 0, 0, 0.5) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(0, 0, 0, 0.5) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.testimonials-section .ke-testimonial-panel,
.testimonials-section .ke-store-reviews {
  height: 100%;
}

.ke-testimonial-panel__label,
.ke-store-reviews__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ke-testimonial-panel__label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ke-store-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ke-store-rating-pill:hover {
  background: rgba(30, 159, 79, 0.22);
  border-color: rgba(30, 159, 79, 0.45);
  color: #fff;
}

.ke-store-rating-pill > i {
  font-size: 22px;
  line-height: 1;
  color: #8DC9A5;
}

.ke-store-rating-pill__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ke-store-rating-pill__meta strong {
  font-size: 18px;
  font-weight: 700;
}

.ke-store-rating-pill__meta small {
  font-size: 12px;
  opacity: 0.7;
}

.ke-store-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 201, 165, 0.55) transparent;
}

.ke-store-review-card {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ke-store-review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ke-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.ke-store-badge--apple i {
  color: #fff;
}

.ke-store-review-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.ke-store-review-card__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.ke-store-review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: #8DC9A5;
}

@media (max-width: 991px) {
  .ke-store-reviews__list {
    max-height: none;
    overflow: visible;
  }
}

/* Ana sayfa — ürün görselleri dengeli stack */
.about-media-stack {
  position: relative;
  min-height: 480px;
}

.about-media-stack .about-media-main {
  width: 78%;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}

.about-media-stack .about-media-main img,
.about-media-stack .about-media-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-stack .about-media-float {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 46%;
  aspect-ratio: 1 / 1;
  border: 6px solid #fff;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Tablet / mobil: üst üste bindirme korunur (alt alta dizilmez) */
@media (max-width: 991px) {
  .about-media-stack {
    min-height: 0;
    margin-top: 12px;
    margin-bottom: 8px;
    padding-bottom: 0;
  }

  .about-media-stack .about-media-main {
    width: 82%;
    margin-left: auto;
    margin-right: 0;
  }

  .about-media-stack .about-media-float {
    width: 48%;
    left: 0;
    bottom: 10%;
    border-width: 4px;
  }
}

@media (max-width: 575px) {
  .about-media-stack .about-media-main {
    width: 86%;
  }

  .about-media-stack .about-media-float {
    width: 52%;
    bottom: 8%;
    border-width: 3px;
  }
}

.home-stats-equal > [class*="col"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 110px;
}

.home-stats-equal .fw-600 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
}

/* Hakkımızda — eşit özellik kutuları */
.about-feature-equal .feature-box {
  display: flex;
  min-height: 100%;
}

.about-feature-equal .feature-box-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.5em;
}

.about-feature-equal .feature-box-icon {
  flex: 0 0 auto;
  margin-top: 20px;
}

.about-feature-equal .feature-box-icon img {
  width: 82px;
  height: 72px;
  object-fit: contain;
}

/* Uzmanlık Alanlarımız — arka plan */
.expertise-section {
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(30, 159, 79, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(84, 171, 119, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #F3F3F3 0%, #E8F5EE 55%, #F7F8FC 100%);
}

.expertise-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 159, 79, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 159, 79, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.expertise-cards-equal .feature-box {
  display: flex;
  flex-direction: column;
}

.expertise-cards-equal .feature-box-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.expertise-cards-equal .feature-box-content span {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-cards-equal .feature-box-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.5em;
  margin: 0 auto;
}

.expertise-cards-equal .feature-box-icon img {
  width: 82px;
  height: 72px;
  object-fit: contain;
}

/* Breadcrumb */
.ke-breadcrumb {
  padding: 18px 0 0;
  background: transparent;
}
.ke-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  font-size: 14px;
  color: #6a6f7a;
}
.ke-breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #b0b5c0;
}
.ke-breadcrumb-item a {
  color: var(--base-color);
  text-decoration: none;
  font-weight: 500;
}
.ke-breadcrumb-item a:hover {
  text-decoration: underline;
}
.ke-breadcrumb-item.is-current span {
  color: #232323;
  font-weight: 600;
}

/* Landing */
.ke-landing-hero {
  padding-top: 60px;
  padding-bottom: 40px;
}
.ke-landing-media img {
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.ke-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ke-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.ke-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--base-color);
}
.ke-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ke-related-list a {
  color: var(--base-color);
  font-weight: 600;
  text-decoration: none;
}
.ke-related-list a:hover {
  text-decoration: underline;
}
.ke-compare-table {
  background: #fff;
  border: 1px solid #e8ebf2;
}
.ke-compare-table th {
  background: #f4f6fb;
  font-weight: 700;
}
.ke-article-body h2 {
  margin-top: 1.5rem;
}
.ke-article-body ul {
  margin-bottom: 1.25rem;
}

/* Process flow */
.ke-flow {
  background: #f4f6fb;
  border-radius: 12px;
  padding: 28px 20px;
  margin: 20px 0 10px;
}
.ke-flow-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ke-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  max-width: 140px;
  position: relative;
  padding: 0 8px;
}
.ke-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -10px;
  width: 16px;
  height: 2px;
  background: #c5cbe0;
}
.ke-flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--base-color);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 14px;
}
.ke-flow-label {
  font-size: 13px;
  font-weight: 600;
  color: #232323;
  line-height: 1.35;
}

/* CTA band */
.ke-cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(30, 159, 79, 0.35), transparent 55%),
    linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
  padding: 70px 0;
}
.ke-faq-section {
  padding-bottom: 70px;
}

@media (max-width: 767px) {
  .ke-flow-step:not(:last-child)::after {
    display: none;
  }
  .ke-landing-hero {
    padding-top: 40px;
  }
}

/* Hero CTA — desktop yatay tam genişlik, mobil dikey */
.ke-hero-cta {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ke-hero-cta-main {
  flex: 1 1 auto;
}

.ke-hero-cta-action {
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .ke-hero-cta {
    flex-direction: row;
    align-items: stretch;
  }

  .ke-hero-cta-main {
    flex: 1 1 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ke-hero-cta-action {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
  }
}

/* Footer logo — header ile aynı logo, beyaz zemin */
.ke-footer-logo {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 0;
}

.ke-footer-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

/* Mağaza rozetleri — Play asset daha fazla padding içerir, görsel boyutu eşitle */
.ke-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ke-store-badges a {
  line-height: 0;
}

.ke-store-badges .ke-badge-apple {
  display: block;
  height: 40px;
  width: auto;
}

.ke-store-badges .ke-badge-play {
  display: block;
  height: 54px;
  width: auto;
}

/* Bootstrap primary → brand green */
:root {
  --bs-primary: #1E9F4F;
  --bs-link-color: #1E9F4F;
  --bs-link-hover-color: #167a3c;
}
.btn-primary {
  --bs-btn-bg: #1E9F4F;
  --bs-btn-border-color: #1E9F4F;
  --bs-btn-hover-bg: #167a3c;
  --bs-btn-hover-border-color: #167a3c;
  --bs-btn-active-bg: #146b35;
  --bs-btn-active-border-color: #146b35;
  --bs-btn-disabled-bg: #1E9F4F;
  --bs-btn-disabled-border-color: #1E9F4F;
}
.text-base-color,
a.text-base-color {
  color: var(--base-color) !important;
}
.border-color-base-color {
  border-color: var(--base-color) !important;
}
.bg-base-color {
  background-color: var(--base-color) !important;
}

/* Header logo — biraz büyüt */
header .navbar-brand img {
  max-height: 58px;
}

@media (max-width: 991px) {
  header .navbar-brand img {
    max-height: 52px;
  }
}

/* Sisteme Giriş — yeşil buton (masaüstü + mobil) */
.ke-login-btn {
  background-color: var(--base-color) !important;
  border-color: var(--base-color) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 16px !important;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: none;
}

.ke-login-btn:hover,
.ke-login-btn:focus {
  background-color: #167a3c !important;
  border-color: #167a3c !important;
  color: #fff !important;
}

/* İletişim — form üstüne binmesin */
.ke-contact-form-section {
  padding-top: 20px !important;
  position: relative;
  z-index: 1;
}

.ke-contact-info {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .ke-contact-form-section {
    padding-top: 10px !important;
  }
}

/* Mobil tipografi — daha kompakt */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }

  h1, .h1 {
    font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }

  h2, .h2 {
    font-size: clamp(1.25rem, 4.4vw, 1.55rem) !important;
    line-height: 1.3 !important;
  }

  h3, .h3 {
    font-size: clamp(1.1rem, 3.8vw, 1.3rem) !important;
    line-height: 1.35 !important;
  }

  p, .fs-18, .fs-19 {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .fs-20, .fs-22, .fs-24 {
    font-size: 1.05rem !important;
  }

  section {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  section.p-0,
  section.top-space-margin {
    padding-top: 0 !important;
  }

  .btn-extra-large {
    padding: 12px 22px !important;
    font-size: 0.9rem !important;
  }

  .btn-large {
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
  }

  .ke-hero-cta-main,
  .ke-hero-cta-action {
    padding: 22px 20px !important;
  }

  .ke-hero-cta-main h3 {
    font-size: 1.15rem !important;
  }

  .page-title-big-typography h1 {
    font-size: 1.5rem !important;
  }

  .page-title-big-typography h2 {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 14px;
  }

  section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .mb-25px, .mb-30px, .mb-35px {
    margin-bottom: 16px !important;
  }

  .mb-50px, .md-mb-50px, .sm-mb-50px {
    margin-bottom: 28px !important;
  }
}

.ke-contact-form-section #keContactModal .modal-content {
  border-radius: 12px;
}

.ke-contact-form-section #keContactModalTitle.text-red {
  color: #dc3131 !important;
}



/* ================================
   HEADER — 2026 yenileme (teknolojik, sade, marka rengiyle uyumlu)
   ================================ */

/* Üst bilgi çubuğu: markanın koyu tonuyla uyumlu, ince yeşil alt kenarlık */
.header-with-topbar .header-top-bar.bg-dark {
  background: #14181d !important;
  border-bottom: 1px solid rgba(30, 159, 79, 0.22);
}

.header-with-topbar .header-top-bar .text-light-gray {
  color: rgba(255, 255, 255, 0.72) !important;
}

.header-with-topbar .header-top-bar a.widget:hover {
  color: #ffffff !important;
}

/* Üst çubuk sosyal ikonlar — footer'daki bileşenin kompakt hâli */
.header-top-bar .elements-social.social-icon-style-02 ul.small-icon {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.header-top-bar .elements-social.small-icon a,
.header-top-bar .elements-social ul.small-icon a {
  width: 28px;
  height: 28px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-top-bar .elements-social.small-icon li,
.header-top-bar .elements-social ul.small-icon li {
  margin: 0 0 0 8px;
}

.header-top-bar .elements-social.small-icon a:hover,
.header-top-bar .elements-social ul.small-icon a:hover {
  background: rgba(30, 159, 79, 0.28);
  border-color: rgba(30, 159, 79, 0.55);
  color: #ffffff;
}

/* Ana navigasyon — net alt çizgi (sticky gölgesi temada zaten mevcut) */
.header-with-topbar .navbar.header-reverse {
  border-bottom: 1px solid rgba(20, 24, 29, 0.06);
}

/* Menü linkleri — hover'da ince marka rengi alt çizgi */
.header-with-topbar .navbar-nav > .nav-item > .nav-link {
  position: relative;
}

.header-with-topbar .navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--base-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.header-with-topbar .navbar-nav > .nav-item > .nav-link:hover::after {
  transform: scaleX(1);
}

/* Mağaza rozetleri — hafif hover kalkışı */
.header-with-topbar .navbar-nav .nav-link img[src*="badge"] {
  transition: transform 0.2s ease;
}
.header-with-topbar .navbar-nav .nav-link:hover img[src*="badge"] {
  transform: translateY(-2px);
}

/* Sisteme Giriş — ikonla hizalama */
.ke-login-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.ke-login-btn i {
  font-size: 15px;
  line-height: 1;
}


/* ================================
   HEADER — düzeltmeler (buton yüksekliği, rozet boşluğu)
   ================================ */

/* Sisteme Giriş — satırın tam yüksekliğine yayılmasın, kompakt kalsın */
.header-with-topbar .navbar-nav .nav-item .ke-login-btn {
  height: auto !important;
  align-self: center !important;
  padding: 10px 22px !important;
  font-size: 14px;
  line-height: 1.2;
}

/* Mağaza rozetleri satırı — eşit hizalanan görsellerle sıkı boşluk */
.header-with-topbar li.nav-item.d-flex.align-items-center.gap-2 {
  gap: 10px !important;
}


/* ================================
   HEADER — sıkışıklığı azalt, geniş ekranda telefon için yer aç
   ================================ */
.header-with-topbar .navbar-nav > .nav-item > .nav-link {
  padding-left: 14px !important;
  padding-right: 14px !important;
}
.header-with-topbar .navbar .container-fluid {
  padding-left: 28px !important;
  padding-right: 28px !important;
}
.header-with-topbar .navbar-nav .nav-item .ke-login-btn {
  padding: 10px 16px !important;
}

/* İkinci telefon numarası (menü sırası) — taşma olmayacak kadar geniş ekranlarda göster */
.header-with-topbar .header-icon .ke-nav-phone {
  display: none;
}
@media (min-width: 1480px) {
  .header-with-topbar .header-icon .ke-nav-phone {
    display: inline-block;
  }
}


/* ================================
   HEADER — mobilde "Sisteme Giriş" butonu küçültme
   ================================ */
@media (max-width: 991px) {
  .header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn {
    padding: 6px 14px !important;
    font-size: 13px !important;
    border-radius: 5px;
  }
  .header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn i {
    font-size: 13px !important;
  }
}

@media (max-width: 400px) {
  .header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}


/* Mobil hızlı giriş butonu — satır yüksekliğine yayılmasın */
.header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn {
  height: auto !important;
  align-self: center !important;
}


/* ================================
   HEADER — buton rengini logodaki yeşille tam eşleştir
   ================================ */
.ke-login-btn {
  background-color: #20A050 !important;
  border-color: #20A050 !important;
}
.ke-login-btn:hover,
.ke-login-btn:focus {
  background-color: #1A8040 !important;
  border-color: #1A8040 !important;
}

/* ================================
   HEADER — mobilde "Sisteme Giriş" alt sabit çubuğa taşı
   ================================ */
@media (max-width: 991px) {
  .header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: auto;
    justify-content: center;
    z-index: 1050;
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  .header-with-topbar .col-auto.ms-auto.d-inline-flex.d-lg-none .ke-login-btn i {
    font-size: 17px !important;
  }

  body {
    padding-bottom: 76px;
  }

  .whatsapp-icon {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* ================================
   HEADER — mobil giriş butonu artık <body> sonunda (id ile hedefleniyor)
   ================================ */
#keMobileLoginBtn {
  display: none;
}

@media (max-width: 991px) {
  #keMobileLoginBtn {
    display: inline-flex !important;
    align-items: center;
    position: fixed !important;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    top: auto !important;
    width: auto;
    justify-content: center;
    z-index: 1050;
    height: auto !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  #keMobileLoginBtn i {
    font-size: 17px !important;
  }
}


/* ================================
   HEADER — mobilde logoyu kenara yaklaştır
   ================================ */
@media (max-width: 991px) {
  .header-with-topbar .navbar .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* ================================
   HEADER — Google Play rozeti: PNG içindeki boşluğu kırp (Apple ile eşit görünsün)
   ================================ */
.ke-badge-crop-play {
  display: block;
  width: 115px;
  height: 34px;
  overflow: hidden;
  position: relative;
}
.ke-badge-crop-play img {
  display: block;
  width: 115px;
  height: 44px;
  max-width: none;
  margin-top: -5px;
}


/* ================================
   HEADER — mobilde logoyu daha da sola al
   ================================ */
@media (max-width: 991px) {
  .header-with-topbar .navbar .container-fluid {
    padding-left: 8px !important;
  }
}


/* ================================
   HEADER — Play/Apple rozetleri arasını iyice azalt
   ================================ */
.header-with-topbar li.nav-item.d-flex.align-items-center.gap-2 {
  gap: 4px !important;
}

/* ================================
   FOOTER — Play/Apple rozetlerini eşit boyuta getir
   ================================ */
.ke-footer-badges {
  gap: 6px;
}


/* ================================
   MÜŞTERİLERİMİZ NE DİYOR — Google Play / App Store yorumları
   ================================ */
.ke-store-reviews__label i {
  font-size: 20px;
  color: #8DC9A5;
}
.ke-store-review-card__top .ke-store-badge .bi-star-fill {
  color: #f4b400;
  font-size: 11px;
}
.ke-store-review-card__top .ke-store-badge .bi-star-fill + .bi-star-fill {
  margin-left: 1px;
}
.ke-store-rating-pill {
  text-decoration: none;
}
.ke-store-review-card__title {
  margin: 0 0 6px;
}


/* ===== Kolay e-Arşiv CTA Strip (Portal band) ===== */
.ke-cta-strip {
    background: linear-gradient(90deg, #163A2E 0%, #1F5C44 100%);
    border-radius: 16px;
    padding: 36px 40px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.ke-cta-strip__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}
.ke-cta-strip__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.ke-cta-strip__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #7FD9AE;
}
.ke-cta-strip__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
}
.ke-cta-strip__btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding-left: 28px;
    padding-right: 28px;
}

@media (max-width: 991px) {
    .ke-cta-strip {
        margin-top: -40px;
        padding: 26px 24px;
        border-radius: 14px;
    }
    .ke-cta-strip__title {
        font-size: 18px;
    }
    .ke-cta-strip__btn {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .ke-cta-strip {
        margin-top: -28px;
        padding: 18px 16px;
        border-radius: 12px;
    }
    .ke-cta-strip__row {
        gap: 14px;
    }
    .ke-cta-strip__eyebrow {
        font-size: 11px;
    }
    .ke-cta-strip__title {
        font-size: 14px;
        line-height: 1.3;
    }
    .ke-cta-strip__btn {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 12px;
    }
    .ke-cta-strip__btn i {
        display: none;
    }
}

@media (max-width: 380px) {
    .ke-cta-strip__title {
        font-size: 12.5px;
    }
    .ke-cta-strip__btn span {
        display: none;
    }
    .ke-cta-strip__btn {
        padding-left: 12px;
        padding-right: 12px;
    }
    .ke-cta-strip__btn i {
        display: inline-block;
        margin: 0 !important;
    }
}


/* ===== Hero slide CTA row: fix vertical misalignment from sm-mb-20px + align-items:center ===== */
@media (max-width: 767px) and (min-width: 451px) {
    .swiper-slide .d-flex.flex-wrap.align-items-center > .btn.sm-mb-20px {
        margin-bottom: 0 !important;
    }
}


/* ===== Fix 1: Hero slider - reduce excess top/bottom empty space ===== */
.ke-hero-slider.full-screen {
    height: 78vh !important;
}
@media (max-width: 991px) {
    .ke-hero-slider.full-screen {
        height: 600px !important;
    }
}
@media (max-width: 575px) {
    .ke-hero-slider.full-screen {
        height: 650px !important;
    }
}

/* ===== Fix 2: CTA strip - separate from slider, no overlap ===== */
.ke-cta-strip {
    margin-top: 30px !important;
}
@media (max-width: 991px) {
    .ke-cta-strip {
        margin-top: 24px !important;
    }
}
@media (max-width: 575px) {
    .ke-cta-strip {
        margin-top: 18px !important;
    }
}

/* ===== Fix 3: Hero CTA buttons - restore gap at <=767px so they don't touch ===== */
@media (max-width: 767px) {
    .swiper-slide .d-flex.flex-wrap.align-items-center > a.btn.sm-me-0 {
        margin-right: 12px !important;
    }
    .swiper-slide .d-flex.flex-wrap.align-items-center > a.btn.sm-mb-20px {
        margin-bottom: 0 !important;
    }
}
@media (max-width: 450px) {
    .swiper-slide .d-flex.flex-wrap.align-items-center > a.btn.sm-me-0 {
        margin-right: 0 !important;
    }
    .swiper-slide .d-flex.flex-wrap.align-items-center > a.btn.sm-mb-20px {
        margin-bottom: 15px !important;
    }
}

/* ===== Fix 4: Hizmetlerimiz services boxes - fixed size regardless of content ===== */
.services-box-style-02 {
    min-height: 380px;
}
.services-box-style-02 .services-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
}
.services-box-style-02 .services-box-img {
    min-height: 380px;
}
.services-box-style-02 .services-box-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 575px) {
    .services-box-style-02 {
        min-height: 0;
    }
    .services-box-style-02 .services-box {
        min-height: 0;
    }
    .services-box-style-02 .services-box-img {
        min-height: 300px;
    }
}


/* ===== Trust section: "Güvenilir Dijital Çözüm Ortağınız" - green redesign ===== */
.ke-trust-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #F4FAF6;
}
.ke-trust-eyebrow {
    color: #1F5C44;
    border-bottom: 2px solid #1F5C44;
}
.ke-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.ke-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.ke-trust-list__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #1F5C44;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ke-trust-list__title {
    display: block;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}
.ke-trust-list__desc {
    display: block;
    color: #5A6B63;
    font-size: 15px;
    line-height: 1.55;
}
.ke-trust-btn {
    background-color: #1F5C44 !important;
    border-color: #1F5C44 !important;
    color: #ffffff !important;
}
.ke-trust-visual {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(31, 92, 68, 0.18);
}
@media (max-width: 991px) {
    .ke-trust-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}


/* ===== Hakkımızda: Uzmanlık Alanlarımız - eşit boyutlu kutular ===== */
.ke-about-expertise {
    padding-top: 90px;
    padding-bottom: 90px;
    background: linear-gradient(180deg, #F4FAF6 0%, #FFFFFF 100%);
}
.ke-expertise-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.ke-expertise-col {
    display: flex;
}
.ke-expertise-box {
    width: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.ke-expertise-box .feature-box-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #EAF6EF;
    margin-left: auto;
    margin-right: auto;
}
.ke-expertise-box .feature-box-icon i {
    font-size: 28px;
    margin: 0;
}
.ke-expertise-box .feature-box-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ke-expertise-box .feature-box-content p {
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .ke-about-expertise {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .ke-expertise-box {
        min-height: 220px;
    }
}
@media (max-width: 575px) {
    .ke-expertise-box {
        min-height: 0;
    }
}

/* Hizmetlerimiz sayfasi - servis kutulari gorsel/kart hizalama duzeltmesi */
.services-box-style-03 .position-relative {
    height: 220px;
    overflow: hidden;
}
.services-box-style-03 .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.services-box-style-03 {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.services-box-style-03 > div:last-child {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.services-box-style-03 > div:last-child > div:first-child {
    flex-grow: 1;
}


/* Blog detay sayfalari - okunabilir baslik boyutlari (SEO icin H1-H4 hiyerarsisi korunuyor, sadece gorsel boyut kucultuluyor) */
.col-lg-10.overlap-section.text-center h1 {
    font-size: 38px;
    line-height: 1.3;
}
.col-lg-9.last-paragraph-no-margin h1 {
    font-size: 32px;
    line-height: 1.3;
}
.col-lg-9.last-paragraph-no-margin h2 {
    font-size: 26px;
    line-height: 1.35;
    margin-top: 10px;
}
.col-lg-9.last-paragraph-no-margin h3 {
    font-size: 21px;
    line-height: 1.4;
}
.col-lg-9.last-paragraph-no-margin h4 {
    font-size: 18px;
    line-height: 1.45;
}
.col-lg-9.last-paragraph-no-margin h5,
.col-lg-9.last-paragraph-no-margin h6 {
    font-size: 16px;
    line-height: 1.5;
}
.col-lg-9.last-paragraph-no-margin p,
.col-lg-9.last-paragraph-no-margin li {
    font-size: 16px;
    line-height: 1.75;
}
@media (max-width: 767px) {
    .col-lg-10.overlap-section.text-center h1 {
        font-size: 28px;
    }
    .col-lg-9.last-paragraph-no-margin h1 {
        font-size: 24px;
    }
    .col-lg-9.last-paragraph-no-margin h2 {
        font-size: 21px;
    }
    .col-lg-9.last-paragraph-no-margin h3 {
        font-size: 18px;
    }
    .col-lg-9.last-paragraph-no-margin h4 {
        font-size: 16px;
    }
}


/* Blog CTA kutulari - sistem tanitimi ve donusum icin */
.blog-cta-inline {
    background: linear-gradient(135deg, #eef8f1 0%, #e2f3e7 100%);
    border: 1px solid #cdeada;
    border-radius: 10px;
    padding: 28px 30px;
    margin: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.blog-cta-inline .blog-cta-text {
    flex: 1;
    min-width: 240px;
}
.blog-cta-inline .blog-cta-text strong {
    display: block;
    font-size: 18px;
    color: #1c2b22;
    margin-bottom: 4px;
}
.blog-cta-inline .blog-cta-text span {
    font-size: 15px;
    color: #4b5d54;
}
.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1e9f4f;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
.blog-cta-btn:hover {
    background-color: #17803f;
    color: #ffffff !important;
}
.blog-cta-btn.blog-cta-btn-outline {
    background-color: transparent;
    color: #1e9f4f !important;
    border: 1.5px solid #1e9f4f;
}
.blog-cta-btn.blog-cta-btn-outline:hover {
    background-color: #1e9f4f;
    color: #ffffff !important;
}

.blog-cta-final {
    background-color: #17331f;
    border-radius: 12px;
    padding: 42px 40px;
    margin: 40px 0 10px;
    text-align: center;
}
.blog-cta-final h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-cta-final p {
    color: #c9dccf;
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.blog-cta-final .blog-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.blog-cta-final .blog-cta-btn.blog-cta-btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5);
}
.blog-cta-final .blog-cta-btn.blog-cta-btn-outline:hover {
    background-color: rgba(255,255,255,0.12);
    color: #ffffff !important;
}
@media (max-width: 575px) {
    .blog-cta-inline {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 22px 20px;
    }
    .blog-cta-btn {
        justify-content: center;
    }
    .blog-cta-final {
        padding: 32px 20px;
    }
    .blog-cta-final h3 {
        font-size: 21px;
    }
}


/* İletişim sayfası: form kartı üstteki iletişim bilgilerinin üzerine biniyordu (aşırı negatif margin-top) */
.contact-overlap-fix.overlap-section-three-fourth {
    margin-top: 30px !important;
}
@media (max-width: 991px) {
    .contact-overlap-fix.overlap-section-three-fourth {
        margin-top: 20px !important;
    }
}

/* Sayfa başlıklarındaki (Hakkımızda, İletişim, Hizmetlerimiz, Fiyatlarımız, e-Arşiv Portalı, Pazaryeri Entegrasyonu)
   H1 başlığı marka yeşili (.text-base-color) rengindeydi; koyu yeşil overlay'li hero arka planlarında
   metin neredeyse tamamen görünmez oluyordu. Başlığı beyaza çevirip hafif gölge ekleyerek her arka planda okunur hale getiriyoruz. */
section.page-title-big-typography h1.text-base-color {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}