/* styles.css */

/* Local Inter font - project assets içinden kullan */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Root tokens */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f0f7ff;
  --color-surface: #ffffff;
  --color-surface-soft: #fdfdfd;
  --color-surface-accent: #f0f7ff;
  --color-surface-hero: #f3f4f6;
  --color-border-subtle: #e2e7f0;
  --color-border-accent-soft: #fde9bf;
  --color-text-main: #171a1f;
  --color-text-body: #323743;
  --color-text-muted: #6b7280;
  --color-accent: #ffbf00;
  --color-accent-dark: #e6a900;
  --color-link: #1f8cf9;
  --color-link-soft: rgba(31, 140, 249, 0.1);
  --color-footer-bg: #020617;
  --color-footer-bg-soft: #0b1220;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-md: 8px;
  --radius-lg: 12px;

  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;
  --spacing-7: 28px;
  --spacing-8: 32px;
  --spacing-9: 36px;
  --spacing-10: 40px;
  --spacing-11: 44px;
  --spacing-12: 48px;

  --max-width: 1120px;

  /* Header measurements */
  --header-logo-height: 44px;
  --header-padding-block: var(--spacing-3);
  --header-height: calc(var(--header-logo-height) + (var(--header-padding-block) * 2));

  /* Sticky in-page nav offset (header height + safe gap) */
  --tm-sticky-offset: calc(var(--header-height) + 4px);
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-4);
}

.section {
  padding-block: 56px;
}

.section-header {
  margin-bottom: var(--spacing-7);
}

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-title {
  margin: 0 0 var(--spacing-3);
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 120ms ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #2e2300;
  border-color: var(--color-accent);
  box-shadow: 0 8px 16px rgba(255, 191, 0, 0.24);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 191, 0, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-main);
  border-color: var(--color-border-subtle);
}

.btn-secondary .btn-icon-lucide {
  width: 16px;
  height: 16px;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-chip {
  background-color: var(--color-surface-accent);
  color: var(--color-link);
  border-color: transparent;
  padding-inline: 12px;
  font-size: 0.9rem;
}

.btn-chip:hover {
  background-color: var(--color-link-soft);
}

.btn-cta {
  padding-inline: 28px;
}

.btn-icon-lucide {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--header-padding-block);
  gap: var(--spacing-4);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
}

.logo-img {
  height: var(--header-logo-height);
}

/* Navigation */
/* Navigation */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-cta {
  display: none;
}

/* Hem link hem Solutions butonu aynı stil */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-body);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text-main);
}

/* Aktif link rengi */
.nav-link-active {
  font-weight: 500;
  color: var(--color-text-main);
}

/* Underline sadece metnin altında */
.nav-link>span:first-child {
  position: relative;
  display: inline-block;
}

.nav-link>span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: #1f8cf9;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.nav-link:hover>span:first-child::after,
.nav-link:focus-visible>span:first-child::after {
  transform: scaleX(1);
}

/* Nav item wrapper */
.nav-item {
  position: relative;
}

/* Solutions için buton gibi çalışan link */
.nav-link-button {
  border: 0;
  background: transparent;
  padding-right: 0;
}

/* Küçük aşağı ok */
.nav-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23111827' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: transform 140ms ease, opacity 140ms ease;
}

.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

/* Desktop dropdown panel */

.nav-dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 6px);
  min-width: 420px;
  max-width: 560px;
  padding: 14px 18px 18px;
  border-radius: 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    visibility 140ms ease;
  z-index: 60;
}

/* Desktopta açıkken görünür hale gelsin */

.nav-item-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 10px);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}

/* Dropdown içindeki linkler */

.nav-dropdown-link {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #111827;
  text-decoration: none;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 120ms ease,
    box-shadow 140ms ease;
}

.nav-dropdown-link:hover {
  color: #111827;
  background-image: linear-gradient(135deg,
      rgba(191, 219, 254, 0.38),
      rgba(221, 239, 253, 0.98));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

/* Mobile nav toggle */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  /* iOS varsayılan stilini sıfırlar */
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: #111827;
}



/* Mobilde dropdown kutusu ekran dışına taşmasın */
@media (max-width: 767.98px) {
  .nav-dropdown {
    left: 0;
    right: 0;
    transform: none;
    min-width: 0;
  }

  .nav-dropdown-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* Hero */
/* Hero */
.hero {
  position: relative;
  background-color: var(--color-surface-hero);
  overflow: hidden;
}

/* Resim kutusu */
.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* <picture> ve içindeki img kutuyu tamamen doldursun */
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Asıl hero görseli */
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* desktopta resmin sağ tarafı görünür */
  object-position: right 42%;
}

/* Soldan gelen yumuşak gri zemin */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-surface-hero) 0%,
    var(--color-surface-hero) 50%,
    rgba(243, 244, 246, 0.7) 65%,
    rgba(243, 244, 246, 0) 80%
  );
}

/* Desktopta overlay kullanmıyoruz */
.hero-overlay {
  display: none;
}


.hero-inner {
  position: relative;
  padding-block: 72px 32px;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  margin: 0 0 var(--spacing-4);
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.hero-subtitle {
  margin: 0 0 var(--spacing-6);
  font-size: 0.98rem;
  color: var(--color-text-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}

/* KPI strip */
.kpi-strip {
  position: relative;
  margin-top: var(--spacing-8);
  background-color: rgba(240, 247, 255);
  border-top: 1px solid rgba(209, 213, 219, 0.8);
}

.kpi-inner {
  display: flex;
  align-items: center;
  padding-block: 20px;
}

.kpi-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.kpi-item:first-child {
  justify-content: flex-start;
}

.kpi-item:nth-of-type(2) {
  justify-content: center;
}

.kpi-item:last-child {
  justify-content: flex-end;
}

.kpi-item+.kpi-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background-color: #d1d5db;
}

.kpi-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kpi-number {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1;
}

.kpi-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 1.2;
}

.kpi-icon-lucide {
  width: 18px;
  height: 18px;
}

.tm-hero+.kpi-strip {
  margin-top: 0;
}

/* Integrations */
.section-integrations {
  background-color: #ffffff;
}

.integrations-logos {
  margin-top: var(--spacing-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
}

.integration-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.integration-logo-frontline {
  height: 88px;
}

/* Built for challenges */
.section-built {
  background-color: var(--color-bg-alt);
}

.feature-grid {
  display: grid;
  gap: var(--spacing-4);
}

.card,
.feature-card,
.module-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: var(--spacing-5);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.08);
}

.feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255, 191, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4);
}

.feature-icon {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.feature-title {
  margin: 0 0 var(--spacing-2);
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.feature-body {
  margin: 0;
  font-size: 0.94rem;
}

/* Modules */
.section-modules {
  background-color: #ffffff;
}

.module-grid {
  display: grid;
  gap: var(--spacing-4);
}

.module-card {
  border: 1px solid #bcddfd;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.module-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(31, 140, 249, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-icon {
  color: #1f8cf9;
  font-size: 1.2rem;
}

.module-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.module-body {
  margin: 0;
  font-size: 0.94rem;
  flex-grow: 1;
}

/* Why districts choose us */
.section-why {
  background-color: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  gap: var(--spacing-4);
}

.why-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-5);
  border: 1px solid #e5e7eb;
}

.why-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(250, 204, 21, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4);
}

.why-icon {
  color: #facc15;
  font-size: 1.2rem;
}

.why-title {
  margin: 0 0 var(--spacing-2);
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.why-body {
  margin: 0;
  font-size: 0.94rem;
}

/* Testimonials */
.section-testimonials {
  background-color: #ffffff;
}

.testimonial-carousel {
  margin-top: var(--spacing-4);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: var(--spacing-3);
}

.carousel-control {
  align-self: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    transform 120ms ease;
}

.carousel-control span {
  font-size: 1.3rem;
  line-height: 1;
}

.carousel-control:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.carousel-control:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.testimonial-viewport {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  max-width: 960px;
  margin-inline: auto;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  padding: 48px 72px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  text-align: center;

  @media (min-width: 768px) {
    padding-inline: 110px;
  }

  @media (max-width: 640px) {
    padding: 36px 28px;
  }
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(31, 140, 249, 0.1);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--spacing-4);
}

.testimonial-avatar-icon {
  color: #1f8cf9;
  font-size: 1.4rem;
}

.testimonial-quote {
  margin: 0 0 var(--spacing-4);
  font-size: 1rem;
  color: var(--color-text-main);
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-main);
  font-size: 0.96rem;
}

.testimonial-role {
  margin: var(--spacing-1) 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* CTA */
.section-cta {
  background-color: var(--color-bg-alt);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin-inline: auto;
}

.section-title-cta {
  font-size: 1.75rem;
}

.section-subtitle-cta {
  margin-top: var(--spacing-3);
  margin-bottom: var(--spacing-6);
}

/* Footer */
.site-footer {
  background: linear-gradient(to right, #020617 0%, #111827 100%);
  color: #e5e7eb;
  padding-top: 52px;
}

.footer-inner {
  display: grid;
  gap: var(--spacing-8);
  padding-bottom: 32px;
}

.footer-column {
  min-width: 0;
}

.footer-tagline {
  margin: 8px 0 var(--spacing-4);
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-contact {
  display: grid;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-4);
  font-size: 0.9rem;
}

.footer-contact a,
.footer-contact span {
  color: #e5e7eb;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.footer-badge {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
  border: none;
  background-color: rgba(86, 93, 109);
  color: #e5e7eb;
}

.footer-heading {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #f9fafb;
}

.footer-list {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  padding: 0;
  margin: 10px 10px 10px 3px;
}

.footer-list a {
  color: #d1d5db;
}

.footer-list a:hover {
  color: #f9fafb;
}

.footer-copy {
  margin: 0 0 var(--spacing-4);
  font-size: 0.88rem;
  color: #9ca3af;
}

/* Newsletter layout */
.newsletter-form {
  margin-top: var(--spacing-4);
  max-width: 520px;
  /* gerekirse 480 yapabilirsin */
}

/* Input + buton birleşik kapsayıcı */
.newsletter-control {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 44px;
  /* daha ince yükseklik */
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9fafb;
  border: none;
  /* beyaz çerçeve etkisini kaldırıyoruz */
}

/* Input alanı */
.newsletter-input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
  padding-left: 44px;
  /* ikon için boşluk */
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
}

.newsletter-input::placeholder {
  color: #6b7280;
}

/* Mail ikonu */
.newsletter-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  stroke-width: 1.6;
  pointer-events: none;
}

/* Sağdaki sarı buton - pill’in parçası */
.newsletter-submit {
  border-radius: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-inline: 24px;
  /* daha az genişlik */
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: none;
  /* global btn shadow’u iptal */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Güvenlik için, bu kontrol içindeki btn-primary shadow tamamen kapansın */
.newsletter-control .newsletter-submit.btn-primary {
  box-shadow: none;
}

/* Footer list bullets */
.footer-list li {
  position: relative;
  padding-left: 18px;
}

.footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #fbbf24;
  transform: translateY(-50%);
}

/* Contact icon rows */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #fbbf24;
  margin-top: 3px;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* taşmayı garanti kesmek için */
}

.iswiitLogoo {
  width: 70px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* taşmayı garanti kesmek için */
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  color: #e5e7eb;
}

.footer-social-link:hover {
  background-color: #fbbf24;
  border-color: #fbbf24;
}

.footer-social-link:hover svg {
  color: #111827;
}

.footer-social-link:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 1);
  padding-block: 16px 20px;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-links a {
  color: #d1d5db;
}

.footer-bottom-links a:hover {
  color: #f9fafb;
}

.footer-bottom-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.iswiitLogo-img {
  height: 20px;
  width: auto;
  display: block;
}

/* Responsive styles */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .kpi-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 2fr 1.4fr 2fr;
    align-items: flex-start;
  }

  /* Orta kolonun biraz sağa kayması için */
  .footer-links {
    padding-left: 32px;
    /* 24 de deneyebilirsin, tamamen zevk */
  }

  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-4);
  }
}

@media (min-width: 768px) {
  /* HEADER - logo yanında nav, sağda CTA */

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* logo + nav soldan başlasın */
  }

  .nav-links {
    position: static;
    /* absolute kullanma */
    transform: none;
    margin-left: 28px;
    /* logo ile nav arası boşluk */
    margin-right: auto;
    /* CTA butonu sağ uca gider */
  }

  .header-cta {
    display: inline-flex;
  }

  /* alttaki kısımlar eskisi gibi kalabilir */
  .hero-inner {
    min-height: 420px;
    display: flex;
    align-items: center;
  }

  .hero-media {
    opacity: 0.9;
    clip-path: inset(0 0 0 40%);
  }

  .hero-overlay {
    background: linear-gradient(to right,
        rgba(243, 244, 246, 0.98),
        rgba(243, 244, 246, 0.92),
        rgba(243, 244, 246, 0.15));
  }

  .section {
    padding-block: 72px;
  }

  .module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-carousel {
    gap: var(--spacing-4);
  }

  .nav-toggle {
    display: none;
  }
}



@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-cta {
    padding-block: 80px;
  }
}

@media (max-width: 640px) {
  .hero-media {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero-media picture,
  .hero-media .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px);
    opacity: 0.42;
  }

  /* Metnin arkasındaki beyaz panel için */
  .hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.45) 100%
    );
    pointer-events: none;
  }
  
  .integrations-logos {
    gap: var(--spacing-4);
  }

  .integration-logo {
    height: 48px;
  }

  .integration-logo-frontline {
    height: 72px;
  }

  .kpi-inner {
    flex-direction: column;
    gap: 16px;
  }

  .kpi-item+.kpi-item::before {
    display: none;
  }

  .kpi-item {
    justify-content: flex-start;
  }

  .kpi-item+.kpi-item {
    border-top: 1px solid rgba(226, 231, 240, 0.9);
    padding-top: 12px;
    margin-top: 4px;
  }
}

/* =========================================================
   Truancy Monitor solution page
   ====================================================== */

/* Hero */

.tm-hero {
  background-color: #fff7eb;
  padding-block: 64px 56px;
}

.tm-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tm-hero-copy {
  max-width: 540px;
}

.tm-eyebrow {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tm-hero-title {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.tm-hero-body {
  margin: 0 0 24px;
  font-size: 0.98rem;
  color: var(--color-text-body);
}

.tm-hero-bullets {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tm-hero-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
}

.tm-hero-bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.tm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}

.tm-hero-media-card {
  flex: 1;
  max-width: 520px;
  display: flex;
}

.tm-hero-media-frame {
  position: relative;
  width: 100%;
  /* Kart boyunu sabit ve uyumlu tutmak için oran */
  aspect-ratio: 6 / 5;
  /* çok yüksek gelirse 16 / 9 da deneyebilirsin */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  /* gölgeyi kaldırıyoruz */
  background-color: #111827;
  /* siyah kart zemini aynı kalıyor */
}

.tm-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* resmi kartın içine kırparak tam oturtur */
}

/* Sticky subnav */

/* Truancy Monitor - Subnav (daha sade ve net görünüm) */
.tm-subnav {
  position: sticky;
  top: var(--tm-sticky-offset);
  z-index: 40;
  margin-top: 80px;
  margin-bottom: 20px;
  background: transparent;
}

/* Ortalanmış subnav çubuğu */
.tm-subnav-inner {
  max-width: 920px;
  margin-inline: auto;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

/* Butonlar */
.tm-subnav-link {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tm-subnav-link:hover {
  background-color: #e2e8f0;
  color: #111827;
}

.tm-subnav-link.is-active {
  background-color: #111827;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  transform: none;
}

/* Sticky durumdayken hafif blur efekti */
.tm-subnav.sticky-active .tm-subnav-inner {
  backdrop-filter: blur(8px);
  background-color: rgba(248, 250, 252, 0.8);
}

/* Mobile */
@media (max-width: 768px) {
  .tm-subnav {
    top: var(--tm-sticky-offset);
    margin-top: 16px;
    margin-bottom: 32px;
    padding-inline: 12px;
  }

  .tm-subnav-inner {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 12px;

    /* scrollbar gizle */
    -ms-overflow-style: none;
    /* IE, eski Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .tm-subnav-inner::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, iOS */
  }


}


/* Shared layout for truancy sections */

.section-tm {
  scroll-margin-top: calc(var(--tm-sticky-offset) + 20px);
}

.section-tm-overview {
  background-color: #ffffff;
}

.section-tm-features {
  background-color: var(--color-bg-alt);
}

.section-tm-process {
  background-color: #ffffff;
}

.section-tm-team {
  background-color: var(--color-bg-alt);
}

.section-tm-faq {
  background-color: #ffffff;
}

/* Challenges grid */

.tm-challenges-layout {
  display: grid;
  gap: var(--spacing-6);
}

.tm-challenges-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm-column-heading {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.tm-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  font-size: 0.9rem;
}

.tm-pill-card p {
  margin: 0;
}

.tm-pill-card-negative {
  border-color: #fee2e2;
  background-color: #fef2f2;
}

.tm-pill-card-positive {
  border-color: #bbf7d0;
  background-color: #ecfdf3;
}

.tm-pill-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #f97373;
}

.tm-pill-card-positive .tm-pill-icon {
  color: #16a34a;
}

/* Features */

.tm-feature-grid {
  display: grid;
  gap: var(--spacing-4);
}

.tm-feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: var(--spacing-5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.tm-feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(250, 204, 21, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-3);
}

.tm-feature-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.tm-feature-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--color-text-main);
}

.tm-feature-body {
  margin: 0;
  font-size: 0.93rem;
}

/* Process section */

.tm-process-grid {
  display: grid;
  gap: var(--spacing-4);
}

.tm-process-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #bcddfd;
  padding: var(--spacing-5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.tm-process-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-3);
}

.tm-process-icon-blue {
  background-color: rgba(31, 140, 249, 0.1);
}

.tm-process-icon-indigo {
  background-color: rgba(31, 140, 249, 0.1);
}

.tm-process-icon-teal {
  background-color: rgba(31, 140, 249, 0.1);
}

.tm-process-icon {
  width: 22px;
  height: 22px;
  color: #1f8cf9;
}

.tm-process-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--color-text-main);
}

.tm-process-body {
  margin: 0;
  font-size: 0.93rem;
}

/* Team section */

.tm-team-grid {
  display: grid;
  gap: var(--spacing-4);
}

.tm-team-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: var(--spacing-5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.tm-team-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(250, 204, 21, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-3);
}

.tm-team-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.tm-team-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--color-text-main);
}

.tm-team-body {
  margin: 0;
  font-size: 0.93rem;
}

/* FAQ */

.tm-faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.tm-faq-item+.tm-faq-item {
  border-top: 1px solid #e5e7eb;
}

.tm-faq-question {
  width: 100%;
  padding: 16px 24px;
  background-color: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--color-text-main);
  cursor: pointer;
}

.tm-faq-answer {
  padding: 18px 24px 18px;
  font-size: 0.93rem;
  color: var(--color-text-body);
}

.tm-faq-answer p {
  margin: 0;
}

.tm-faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.tm-faq-item.is-open .tm-faq-question {
  background-color: #fff7eb;
}

.tm-faq-item.is-open .tm-faq-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
  /* Dönme animasyonu ekler */
}

/* Newsletter input with icon alignment fix */

.newsletter-input-group {
  position: relative;
  flex: 1 1 160px;
  min-width: 0;
}

.newsletter-input-icon {
  position: absolute;
  inset-block: 0;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  pointer-events: none;
  color: #e5e7eb;
}

.newsletter-input-group .newsletter-input {
  padding-left: 34px;
}

.newsletter-submit {
  transform: none;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.newsletter-submit.btn-primary:hover,
.newsletter-submit.btn-primary:active {
  transform: none;
  box-shadow: none;
}

/* Responsive tweaks */

@media (min-width: 768px) {
  .tm-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .tm-hero-media-card {
    max-width: 480px;
  }

  .tm-hero-title {
    font-size: 2.4rem;
  }

  .tm-challenges-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tm-subnav {
    top: var(--tm-sticky-offset);
  }
}

/* Tablet için: 2 li */
@media (min-width: 768px) {
  .tm-team-grid.tm-team-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop için: 4 lü */
@media (min-width: 1024px) {
  .tm-team-grid.tm-team-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Truancy Monitor - funding impact calculator */

.section-tm-calculator {
  background-color: #fffaf0;
}

.tm-calc-layout {
  display: grid;
  gap: var(--spacing-5);
  align-items: stretch;
}

.tm-calc-panel {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-border-accent-soft);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 20px 22px 22px;
}

.tm-calc-panel-form {
  position: relative;
}

.tm-calc-panel-results {
  position: relative;
  overflow: hidden;
}

.tm-calc-panel-title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.tm-calc-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.tm-calc-field-full {
  grid-column: 1 / -1;
}

.tm-calc-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
}

.tm-calc-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 8px 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
  font-family: inherit;
}

.tm-calc-input::placeholder {
  color: #9ca3af;
  /* hafif gri */
  opacity: 1;
}


.tm-calc-input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
  background-color: #ffffff;
}

.tm-calc-field-hint {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.tm-calc-helper {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: #6b7280;
}

.tm-calc-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: stretch;
  /* ya da space-between de olur */
  width: 100%;
  margin-top: 18px;
  margin-inline: 0;
  /* ortalamayı kaldır, padding kadar başlasın/bitsin */
}

/* İki buton da eşit genişlikte olsun */
.tm-calc-submit,
.tm-calc-reset {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  justify-content: center;
}


/* Calculate butonunun hafif sola kayma efekti */
.tm-calculator-has-results .tm-calc-submit {
  transform: translateX(-4px);
  transition: transform 180ms ease;
}

.tm-calc-results-eyebrow {
  margin: 0 0 10px;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Sonuçlar ilk etapta gizli, sonra açılıyor */

.tm-calc-results {
  display: grid;
  gap: 12px;
}


/* Kartların ilk hesaplamada hafif sallanma animasyonu */

.tm-calc-result-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}


.tm-calc-result-label {
  margin: 0 0 4px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.tm-calc-result-value {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
}

.tm-calc-result-caption {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.tm-calc-footnote {
  margin: 12px 2px 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Animasyon sadece ilk hesaplamada çalışsın */

/* Responsive */

@media (min-width: 768px) {
  .tm-calc-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tm-calc-panel {
    padding-inline: 18px;
  }

  .tm-calc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-calc-submit,
  .tm-calc-reset {
    width: 100%;
    justify-content: center;
  }
}

/* Truancy calculator – inputs alt alta */

/* Truancy calculator – inputs alt alta */

.tm-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* her şey tek sütun */
  gap: 14px;
  /* zaten vardı, tekrar yazmak sorun değil */
}

/* Masaüstünde de tek kolon kalsın – eski 2 kolon kuralını override eder */
@media (min-width: 768px) {
  .tm-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* Calculator – left panel: buttons stick to bottom */
.tm-calc-panel-form {
  display: flex;
  flex-direction: column;
}

.tm-calc-grid {
  margin-bottom: 16px;
  /* inputlar ile butonlar arasında nefes kalsın */
}

.tm-calc-actions {
  margin-top: auto;
  /* boş alanı yukarıya iter, butonları alta çeker */
  padding-top: 16px;
  /* inputlarla araya yumuşak boşluk */
}

/* Calculator – left panel buttons a little lower */
#tm-calculator .tm-calc-panel-form {
  display: flex;
  flex-direction: column;
  padding-bottom: 0px;
  /* önce 24px civarıdır; azaltıyoruz */
}

#tm-calculator .tm-calc-actions {
  margin-top: auto;
  /* alta iter */
  padding-top: 16px;
  /* inputlarla arası */
  margin-bottom: 0;
  /* alttaki boşluğu sıfırla */
}

/* İstersen daha da aşağı: padding-bottom: 6px; yapabilirsin */
.tm-calc-panel-subtitle {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.tm-calc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tm-calc-info {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.tm-calc-info-trigger {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tm-calc-info-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}

/* Tooltip kutusu */
.tm-calc-info-tooltip {
  position: absolute;
  top: 120%;
  right: 0;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 0.75rem;
  background: #111827;
  /* çok koyu gri */
  color: #f9fafb;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Hover / focus / JS ile açıldığında görünür olsun */
.tm-calc-info.is-open .tm-calc-info-tooltip,
.tm-calc-info:hover .tm-calc-info-tooltip,
.tm-calc-info:focus-within .tm-calc-info-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Üst başlık + ikon satırı */
.tm-calc-results-header {
  position: relative;
  display: inline-flex;
  /* sadece başlık genişliği kadar olsun */
  align-items: center;
  gap: 0.5rem;
  /* başlık ile ikon arası boşluk */
}

/* “Estimated results” başlığı */
.tm-calc-results-eyebrow {
  margin: 0;
}

/* Info butonu – başlığın sağında küçük chip gibi */
.tm-calc-info-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}

.tm-calc-info-trigger:hover,
.tm-calc-info-trigger:focus-visible {
  background: var(--color-surface-accent);
  color: var(--color-link);
  outline: none;
}

.tm-calc-info-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  /* ikonun sağ tarafına yasla */
  margin-top: 0.5rem;
  max-width: 260px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--color-surface);
  /* beyaza yakın */
  border: 1px solid var(--color-border-subtle);
  /* ince gri border */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  color: var(--color-text-body);
  font-size: 0.8125rem;
  line-height: 1.45;
  z-index: 10;
}

/* Küçük ok (isteğe bağlı) */
.tm-calc-info-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border-subtle);
  border-top: 1px solid var(--color-border-subtle);
  transform: rotate(45deg);
}

/* JS’in aç/kapa için kullandığı sınıf neyse (ör: is-visible) */
.tm-calc-info-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.tm-calc-info-tooltip:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
}



/* =========================================================
   Why Quatrain Analytics page
   ====================================================== */

/* Hero */

.why-hero {
  position: relative;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}

.why-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-images/why_hero.webp");
  /* kendi görsel yolunla değiştir */
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}

.why-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(248, 250, 252, 0.85),
      rgba(248, 250, 252, 0.92),
      rgba(248, 250, 252, 0.96));
}

.why-hero-inner {
  position: relative;
  padding-block: 96px 88px;
  text-align: center;
}

.why-hero-title {
  margin: 0 0 12px;
  font-size: 2.3rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.why-hero-subtitle {
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  font-size: 1rem;
  color: var(--color-text-body);
}

/* Why Quatrain - Our Vision icon blue variant */
.wq-icon-wrapper-blue {
  background-color: rgba(31, 140, 249, 0.1);
}

.wq-icon-wrapper-blue .tm-team-icon {
  color: #1f8cf9;
}


/* Section backgrounds */

.section-why-mission,
.section-why-drives {
  background-color: var(--color-bg-alt);
}

.section-why-approach {
  background-color: #ffffff;
}

.section-why-security {
  background-color: #ffffff;
}

/* Grids */

.why-grid-2 {
  display: grid;
  gap: var(--spacing-4);
}

.why-grid-3 {
  display: grid;
  gap: var(--spacing-4);
}

/* Bullet list used in approach and security cards */

.why-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--color-text-body);
}

.why-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.why-bullet-list li::before {
  content: "✓";
  font-size: 0.85rem;
  line-height: 1.4;
  color: #1f8cf9;
}

/* Breakpoints */

@media (min-width: 768px) {
  .why-hero-title {
    font-size: 2.6rem;
  }

  .why-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Why Quatrain - Our Team section */

/* .section-why-team {
  background-color: #ffffff;
}

.wq-team-grid {
  display: grid;
  gap: var(--spacing-4);
}

.wq-team-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: var(--spacing-5);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.wq-team-avatar-wrapper {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  overflow: hidden;
  margin-inline: auto;
  margin-bottom: var(--spacing-3);
  background-color: var(--color-surface-accent);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wq-team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wq-team-name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.wq-team-role {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.wq-team-bio {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-body);
}

@media (min-width: 640px) {
  .wq-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .wq-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .wq-team-card {
    padding: var(--spacing-4);
  }

  .wq-team-avatar-wrapper {
    width: 80px;
    height: 80px;
  }
} */

/* =========================================================
   Get in touch page
   ====================================================== */

/* Hero */

.contact-hero {
  background-color: #ffffff;
  padding-block: 64px 0;
}

.contact-hero-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.contact-hero-title {
  margin-bottom: 12px;
}

.contact-hero-subtitle {
  font-size: 1.0rem;
}

/* Layout */

.section-contact {
  background-color: #ffffff;
  padding-bottom: 80px;
}

.contact-layout {
  display: grid;
  gap: 32px;
  align-items: flex-start;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.9fr);
  }
}

/* Cards */

.contact-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.contact-card-form {
  padding: 24px 24px 4px;
}

.contact-card-side {
  padding: 24px 24px 22px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
}

.contact-label span {
  color: #ef4444;
  margin-left: 2px;
}

.contact-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Ortak alan stili: input + textarea */
.contact-input,
.contact-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 9px 11px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
  font-family: inherit;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #9ca3af;
}

.contact-input:focus-visible,
.contact-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
  background-color: #ffffff;
}

.contact-select {
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
}

.contact-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Optional etiketi */
.contact-optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: #6b7280;
  margin-left: 4px;
}

/* Meeting type grubu */

.contact-meeting-group {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.contact-radio-group {
  display: grid;
  gap: 8px;
}

.contact-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    box-shadow 120ms ease;
}

.contact-radio-option input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-radio-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-radio-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: #111827;
}

.contact-radio-help {
  font-size: 0.8rem;
  color: #6b7280;
}

.contact-radio-option:hover {
  border-color: #d1d5db;
  background-color: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

/* Meeting schedule bloğu */

.contact-meeting-schedule {
  margin-top: 4px;
}

.contact-schedule-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 720px) {
  .contact-schedule-row {
    flex-direction: row;
    align-items: center;
  }
}

.contact-date-picker {
  position: relative;
  flex: 1;
}

.contact-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.contact-date-trigger:disabled {
  cursor: not-allowed;
}

.contact-date-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #111827;
}

.contact-date-placeholder {
  color: #6b7280;
}

.contact-date-trigger .contact-date-value {
  display: none;
}

.contact-date-trigger.has-value .contact-date-placeholder {
  display: none;
}

.contact-date-trigger.has-value .contact-date-value {
  display: inline;
}

.contact-date-icon {
  width: 18px;
  height: 18px;
  color: #6b7280;
  flex-shrink: 0;
}

.contact-date-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: min(320px, 100vw - 30px);
  padding: 12px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  z-index: 10;
  display: none;
}

.contact-date-panel.is-open {
  display: block;
}

.contact-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-date-month {
  font-weight: 600;
  color: #111827;
  flex: 1;
  text-align: center;
}

.contact-date-nav {
  width: 36px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  color: #111827;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.contact-date-nav:hover {
  background-color: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.contact-date-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
}

.contact-date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.contact-date-day {
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  color: #111827;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.contact-date-day:hover {
  background-color: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.contact-date-day.is-weekend,
.contact-date-day.is-disabled {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

/* .contact-date-day.is-disabled:hover {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
} */

.contact-date-day.is-today {
  border-color: #2563eb;
  background-color: #e8f0fe;
  color: #0f172a;
  font-weight: 600;
}

.contact-date-day.is-today.is-disabled {
  background-color: rgba(31, 140, 249, 0.1);
  border-color: rgba(31, 140, 249, 0.1);
  color: #1f8cf9;
}

.contact-date-day.is-selected {
  background-color: rgba(255, 191, 0, 0.12);
  border-color: rgba(255, 191, 0, 0.12);
  color: #ffbf00;
}

.contact-date-day:focus-visible,
.contact-date-nav:focus-visible,
.contact-date-trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.contact-meeting-schedule .contact-select {
  flex: 1;
}

.contact-field-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}


/* Consent */

.contact-link {
  color: #2563eb;
  text-decoration: underline;
}

.contact-link:hover {
  text-decoration: none;
}

/* Submit */

.contact-submit {
  margin-top: 6px;
  width: 100%;
}

/* Side cards */

.contact-side-title {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
}

.contact-side-body {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Lists */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
}

.contact-list-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #22c55e;
  /* green for demo checks */
}

.contact-list-icon-blue {
  color: #2563eb;
}

.contact-list-points .contact-list-item span:last-child {
  line-height: 1.5;
}

/* Responsive tweaks */

@media (max-width: 767.98px) {
  .contact-card-form {
    padding-inline: 18px;
  }

  .contact-card-side {
    padding-inline: 18px;
  }

}

/* Work email hint wrapper */

.contact-input-wrapper {
  position: relative;
  width: 100%;
}

.contact-email-wrapper .contact-input {
  padding-right: 34px;
  /* info ikonuna yer aç */
}

/* Info icon */

.email-hint-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
  display: none;
  /* varsayılan gizli */
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.contact-email-wrapper.has-personal-domain .email-hint-icon {
  display: inline-flex;
}

.email-hint-icon:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Kişisel domain bulunduğunda input altına ince underline */

/* Tooltip */

.email-hint-tooltip {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  max-width: 280px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #4b5563;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  z-index: 20;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

/* Icon a tıklanınca gösterilecek sınıf */

.contact-email-wrapper.show-hint .email-hint-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop ta hover ile de açılması için küçük rahatlık */

@media (hover: hover) {
  .contact-email-wrapper.has-personal-domain:hover .email-hint-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Multi select - Solutions of interest */

.multi-select {
  position: relative;
  width: 100%;
}

/* Tetikleyici buton, normal input gibi görünmesi için */
.multi-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 9px 11px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.multi-select-trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
  background-color: #ffffff;
}

.multi-select-placeholder {
  flex: 1;
  color: #111827;
}

.multi-select-value {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sağdaki küçük ok */
.multi-select-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%239CA3AF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Açılan panel */
.multi-select-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  padding: 10px 0;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  z-index: 30;
  display: none;
}

.multi-select-panel.is-open {
  display: block;
}

/* Checkbox satırları */
.multi-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.multi-select-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.multi-select-option span {
  flex: 1;
}

.multi-select-option:hover {
  background-color: #f9fafb;
}

/* Küçük ekranlarda panel taşmasın */
@media (max-width: 640px) {
  .multi-select-panel {
    max-height: 260px;
    overflow-y: auto;
  }
}

/* Contact form - validation states */

.contact-form-field.has-error .contact-input,
.contact-form-field.has-error .contact-select,
.contact-form-field.has-error .contact-textarea {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

/* Global hata mesajı */
.contact-global-error {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
}

/* Contact form status text */
.contact-status {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #16a34a;
  /* success yeşil */
}

/* Hata durumunda renk değişsin */
.contact-status.error {
  color: #dc2626;
}

/* Hatalı input görünümü */
.contact-input-error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

/* Preferred date and time - tutarlı görünümler */

/* Preferred date and time - tutarlı görünümler */

/* Ortak temel stil - disabled ya da enabled fark etmez */
.contact-meeting-schedule .contact-input,
.contact-meeting-schedule .contact-select,
.contact-meeting-schedule .contact-date-trigger {
  background-color: #f9fafb;
  border-color: #e5e7eb;
  color: #111827;
  opacity: 1;
}

/* Enabled durumda placeholder, text ve ikon renkleri */
.contact-meeting-schedule:not(.is-disabled) .contact-input::placeholder,
.contact-meeting-schedule:not(.is-disabled) .contact-date-placeholder {
  color: #111827;
  opacity: 1;
}

.contact-meeting-schedule:not(.is-disabled) .contact-select,
.contact-meeting-schedule:not(.is-disabled) .contact-date-text {
  color: #111827;
}

.contact-meeting-schedule:not(.is-disabled) .contact-date-icon {
  color: #6b7280;
  /* Select your time ok ikonuna yakın ton */
}

/* Disabled durumda label, hint ve tarih metni soluk */
.contact-meeting-schedule.is-disabled .contact-label,
.contact-meeting-schedule.is-disabled .contact-field-hint,
.contact-meeting-schedule.is-disabled .contact-date-text {
  color: #9ca3af;
}

/* Disabled durumda kutular ve placeholderlar gri tonda */
.contact-meeting-schedule.is-disabled .contact-input,
.contact-meeting-schedule.is-disabled .contact-select,
.contact-meeting-schedule.is-disabled .contact-date-trigger {
  background-color: #f9fafb;
  border-color: #e5e7eb;
  color: #cbd5e1;
}

.contact-meeting-schedule.is-disabled .contact-input::placeholder,
.contact-meeting-schedule.is-disabled .contact-date-placeholder,
.contact-meeting-schedule.is-disabled .contact-date-icon {
  color: #cbd5e1;
}

/* Disabled olunca browserın ekstra şeffaflık vermesini engelle */
.contact-meeting-schedule .contact-input:disabled,
.contact-meeting-schedule .contact-select:disabled,
.contact-meeting-schedule .contact-date-trigger:disabled {
  opacity: 1;
}


/* Get in touch - direct contact block */

/* Get in touch - direct contact card */

.contact-card-direct {
  padding-bottom: 20px;
}

.contact-direct-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-direct-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-direct-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 2px;
}

.contact-direct-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-direct-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.contact-direct-detail {
  font-size: 0.85rem;
  color: #6b7280;
}

.contact-direct-link {
  font-size: 0.85rem;
  color: #2563eb;
  text-decoration: underline;
}

.contact-direct-link:hover {
  text-decoration: none;
}

.contact-card-divider {
  margin: 16px 0 10px;
  border-top: 1px solid #e5e7eb;
}

.contact-direct-integrations-title {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

/* Get in touch – logo strip */

/* Get in touch – logo strip */

.contact-logos-strip {
  margin-top: 10px;
  overflow: hidden;
}

/* İki grup yan yana, toplam genişlik 2x grup */
.contact-logos-track {
  display: flex;
  width: max-content;
  animation: contactLogosScroll 40s linear infinite;
  will-change: transform;
}

/* Her grup kendi içinde aralıklı */
.contact-logos-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.contact-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%);
}

.contact-logo-frontline {
  height: 42px;
  /* burada büyütmeye devam ediyoruz */
}

.contact-logo:hover {
  opacity: 1;
}

.contact-logos-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-right: 28px;
  /* EKLE: grup sonuna da aynı boşluk */
}

/* Track i kendi genişliğinin yarısı kadar kaydır
   Grup 1 tamamen dışarı çıkarken Grup 2 aynı yere geliyor */
@keyframes contactLogosScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Küçük ekranlarda animasyonu durdur, statik göster */
@media (max-width: 640px) {
  .contact-logos-track {
    animation: none;
  }
}

/* Mobile nav */
/* Mobile nav */
@media (max-width: 767.98px) {
  .header-inner {
    position: relative;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: #ffffff;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 16px;
    gap: 16px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding-block: 4px;
  }

  /* Solutions satırı full genişlik */
  .nav-item-has-dropdown {
    width: 100%;
  }

  /* Mobilde panel artık liste gibi davranacak */

  .nav-dropdown {
    position: static;
    transform: none;
    margin-top: 4px;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nav-item-has-dropdown:not(.is-open) .nav-dropdown {
    display: none;
  }

  .nav-item-has-dropdown.is-open .nav-dropdown {
    display: flex;
  }

  .nav-dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nav-dropdown-link {
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
    color: #111827;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Desktop için nav yerleşimi */
@media (min-width: 768px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-links {
    position: static;
    transform: none;
    margin-left: 28px;
    margin-right: auto;
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* =========================================================
   Resources listing page
   ====================================================== */

.resources-hero {
  background-color: var(--color-bg-alt);
  text-align: left;
}

.resources-hero-inner {
  max-width: 720px;
  padding-block: 72px 40px;
}

.resources-featured {
  background-color: #ffffff;
}

.resource-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.resource-card-featured {
  display: grid;
  gap: var(--spacing-5);
  padding: var(--spacing-5);
}

.resource-card-media {
  border-radius: 16px;
  overflow: hidden;
}

.resource-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.resource-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.resource-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgba(31, 140, 249, 0.1);
  color: #1f8cf9;
}

.resource-card-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--color-text-main);
}

.resource-card-excerpt {
  margin: 0 0 4px;
  font-size: 0.96rem;
  color: var(--color-text-body);
}

.resources-coming-soon {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Blog detail page */

.blog-hero {
  background-color: var(--color-bg-alt);
}

.blog-hero-inner {
  max-width: 800px;
  margin-inline: auto;
  padding-block: 0px 40px;
}

.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-link);
  text-decoration: none;
}

.blog-breadcrumb:hover {
  text-decoration: underline;
}

.blog-meta-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.blog-meta-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgba(31, 140, 249, 0.1);
  color: #1f8cf9;
}

.blog-hero-title {
  margin: 20px 0 12px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.blog-hero-subtitle {
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: var(--color-text-body);
}

.blog-author-row {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.blog-hero-media {
  border-radius: 16px;
  overflow: hidden;
}

.blog-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-content-section {
  background-color: #ffffff;
}

.blog-content {
  max-width: 800px;
  margin-inline: auto;
}

.blog-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 18px;
}

.blog-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--color-text-main);
}

.blog-content ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.blog-back-link {
  margin-top: 32px;
}

/* Responsive */

@media (min-width: 768px) {
  .resource-card-featured {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
    align-items: stretch;
  }

  .blog-hero-title {
    font-size: 2.3rem;
  }
}


















/* Blog detail page */

/* Hero genel arka plan */
.blog-hero {
  background-color: var(--color-bg-alt);
}

/* Hero içi genişlik */
.blog-hero-inner {
  width: 100%;
  max-width: var(--max-width);
  /* 1120 ile aynı, token kullan */
  margin-inline: auto;
  padding-block: 56px 60px;
  /* üst alt */
  padding-inline: var(--spacing-4);
  /* sağ sol 16px, container ile aynı */
  box-sizing: border-box;
}

/* Geri link */
.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-link);
  text-decoration: none;
  margin-bottom: 16px;
}

.blog-breadcrumb:hover {
  text-decoration: underline;
}

/* Kart görünümü: sol metin, sağ görsel */
.blog-hero-card {
  background-color: #ffffff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  padding: 28px 28px 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

/* Sol kolon */
.blog-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Meta satırı */
.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.blog-meta-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: rgba(31, 140, 249, 0.1);
  color: #1f8cf9;
}

/* Başlık ve alt başlık */
.blog-hero-title {
  margin: 4px 0 6px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.blog-hero-subtitle {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--color-text-body);
}

.blog-author-row {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Sağ kolon: sabit oranlı görsel alanı */
.blog-hero-media {
  border-radius: 18px;
  overflow: hidden;
  background-color: #0f172a;
  aspect-ratio: 4 / 3;
  /* tüm blog hero görselleri aynı oran */
}

/* Görselin yerleşimi: kırp, üst tarafı biraz öne al */
.blog-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.truancy-blog-hero-media img {
  object-position: center;
}

.blog-txedcon-2025-hero-media img {
  object-position: center 10%;
}

/* İçerik bölümü değişmeden kalsın */
.blog-content-section {
  background-color: #ffffff;
}

.blog-content {
  max-width: 800px;
  margin-inline: auto;
}

/* Responsive ayarlar */

@media (max-width: 960px) {
  .blog-hero-card {
    grid-template-columns: 1fr;
    padding: 20px 18px 22px;
    gap: 20px;
  }

  /* Mobilde görseli üstte görmek istersen bu order satırını açabilirsin */
  /* .blog-hero-media { order: -1; } */

  .blog-hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .blog-hero-inner {
    padding-block: 40px 28px;
  }

  .blog-hero-card {
    border-radius: 18px;
  }

  .blog-hero-media {
    aspect-ratio: 16 / 11;
    /* dar ekranda biraz daha yatay olsun istersen */
  }

  .blog-content-section.section {
    padding-block: 28px;
  }
}

/* Blog content section spacing override */
@media (min-width: 768px) {
  .blog-content-section.section {
    padding-block: 44px;
  }
}








/* BLOG İÇERİK MEDIALARI */
/* Ortak media kabı: figure ve .blog-media aynı davranır */
.blog-content>figure,
.blog-content .blog-media,
.blog-content>img,
.blog-content>video {
  width: 100%;
  max-width: 640px;
  /* resim ve video yüksekliğini de küçültür */
  margin: 28px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

/* Figure içindeki görsel tam alanı kullansın */
.blog-content>figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Video hem doğrudan hem .blog-media içinde olsa da çalışsın */
.blog-content>video,
.blog-content .blog-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  background-color: #000;
}

/* Caption stili */
.blog-content figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Küçük ekranlarda tam genişlik ve daha küçük radius */
@media (max-width: 640px) {

  .blog-content>figure,
  .blog-content .blog-media,
  .blog-content>img,
  .blog-content>video {
    max-width: 100%;
    margin-inline: auto;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  }
}







/* txEDCON 2025 blog – foto + video yan yana layout denem bi bakalım */
.blog-media-pair-txedcon {
  max-width: 960px;
  /* içerik sütunundan biraz geniş, yine ortalı */
  margin: 32px auto 36px;
  display: grid;
  gap: 24px;
}

/* Desktopta iki sütun, daha küçük ekranlarda zaten tek sütun */
@media (min-width: 900px) {
  .blog-media-pair-txedcon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Wrapper içindeki elemanların kendi marginlerini sıfırla */
.blog-media-pair-txedcon .blog-media {
  margin: 0;
}

/* Foto ve video boyutları ve radius */
.blog-media-pair-txedcon img,
.blog-media-pair-txedcon video {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

/* Caption tipi küçük gri yazı olarak kalsın */
.blog-media-pair-txedcon .blog-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Mobilde tam genişlik, aralık ve radius biraz küçülsün */
@media (max-width: 640px) {
  .blog-media-pair-txedcon {
    max-width: 100%;
    gap: 16px;
    margin-inline: auto;
  }

  .blog-media-pair-txedcon img,
  .blog-media-pair-txedcon video {
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  }
}







/* ============ Resources page ============ */

.page-resources {
  background-color: var(--color-bg-alt, #f3f4ff);
}

/* Hero */
.resources-hero {
  padding: 0 16px 40px;
  background: var(--color-bg-alt, #f3f4ff);
  border-bottom: 1px solid var(--color-border-subtle, #e2e7f0);
}

/* Kartların bulunduğu bölüm */
.resources-list {
  background-color: #ffffff;
  /* arkayı beyaz yap */
  padding: 40px 16px 64px;
}

.resources-list-inner {
  max-width: 1120px;
  margin: 0 auto;
}


.resources-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.resources-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 8px;
}

.resources-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--color-text-main, #171a1f);
  margin-bottom: 12px;
}

.resources-subtitle {
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--color-text-body, #323743);
}

/* Sections */
.resources-featured,
.resources-latest {
  padding: 40px 16px 48px;
}

.resources-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.resources-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text-main, #171a1f);
}

.resources-latest-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.resources-latest-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted, #6b7280);
}

/* Cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Latest posts – thumbnail boyutu */
.resources-latest .resource-card-media {
  padding: 16px 16px 0;
}

.resources-latest .resource-card-media img {
  width: 100%;
  height: 200px;
  /* istersen 180–220 arasında oynayabilirsin */
  object-fit: cover;
  /* görüntüyü kırpar, orantılı ve şık durur */
  border-radius: 14px;
}

/* Latest posts kartının iç boşlukları */
.resources-latest .resource-card-body {
  padding: 14px 16px 18px;
}


.resource-card {
  background: var(--color-surface, #ffffff);
  border-radius: 18px;
  border: 1px solid var(--color-border-subtle, #e2e7f0);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
}

.resource-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.resource-card-media {
  position: relative;
  padding: 16px 16px 0;
}

.resource-card-media img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* Featured card layout */
.resource-card-featured .resource-card-link {
  flex-direction: row;
  gap: 28px;
}

.resource-card-featured .resource-card-media {
  flex: 0 0 320px;
  padding: 20px;
}

.resource-card-featured .resource-card-body {
  padding: 24px 24px 24px 0;
}

@media (max-width: 768px) {
  .resource-card-featured .resource-card-link {
    flex-direction: column;
  }

  .resource-card-featured .resource-card-media {
    flex: none;
    padding: 16px 16px 0;
  }

  .resource-card-featured .resource-card-body {
    padding: 16px 16px 20px;
  }
}

/* Featured card text alignment */
.resource-card-featured .resource-card-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* dikeyde ortala */
}

/* Meta satırını biraz daha derli toplu yapalım */
.resource-card-featured .resource-card-meta {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

@media (min-width: 768px) {

  /* Masaüstünde mümkün olduğunca tek satırda kalsın */
  .resource-card-featured .resource-card-meta {
    flex-wrap: nowrap;
  }
}


.resource-card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted, #6b7280);
}

.resource-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-surface-accent, #f0f7ff);
  color: var(--color-link, #1f8cf9);
}

.resource-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-text-muted, #6b7280);
}

.resource-card-title {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-main, #171a1f);
}

.resource-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-body, #323743);
}

.resource-card-cta {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-link, #1f8cf9);
}

.resources-list {
  padding: 40px 16px 60px;
}

/* 3 kartlı grid görünümü zaten resource-grid ile geliyor */

/* Coming soon kartları – hover'ı biraz daha sakin olsun */
.resource-card-coming-soon {
  opacity: 0.96;
}

.resource-card-coming-soon:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

/* Placeholder görsel alanı – gerçek image yerine blok */
.resource-card-media-placeholder {
  padding: 0;
  height: 243px;
  border-radius: 14px;
  background: radial-gradient(circle at top left,
      rgba(191, 219, 254, 0.85),
      rgba(37, 99, 235, 0.12)),
    linear-gradient(135deg,
      rgba(241, 245, 249, 1),
      rgba(226, 232, 240, 1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-placeholder-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2937;
  opacity: 0.8;
}

/* Coming soon CTA'ları daha “pasif” görünsün */
.resource-card-cta-muted {
  color: var(--color-text-muted, #6b7280);
  cursor: default;
}

/* Ana blog kartındaki görseli biraz küçültmek için */
.resource-card-media-main {
  padding: 24px 24px 0;
  /* üstten/yanlardan biraz boşluk */
  display: flex;
  justify-content: center;
  /* ortala */
}

.resource-card-media-main img {
  max-width: 72%;
  /* kart genişliğinin ~%70'i kadar */
  height: auto;
  /* oranı koru, kırpma yok */
  display: block;
}

/* Resources grid içindeki kart görsellerini hizalamak için */
.resources-list .resource-card-media {
  padding: 16px 16px 0;
}

/* Tüm kartlarda görsel alanının yüksekliği sabit olsun */
.resources-list .resource-card-media-main,
.resources-list .resource-card-media-placeholder {
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
}

/* Resources grid için ana görsel davranışı */
.resources-list .resource-card-media-main img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: top center;
}


/* Blog içindeki listeler için bullet'ları geri aç */
.blog-content ul {
  margin: 0 0 18px 20px;
  /* istersen bu değerle oynayabilirsin */
  padding-left: 0;
  list-style: disc;
  list-style-position: outside;
}

.blog-content li {
  margin-bottom: 6px;
}

.policy-content ul {
  list-style: disc;
  margin-left: 1.25rem;
  padding-left: 0.5rem;
}

.policy-content li {
  margin-bottom: 6px;
}

.page-privacy .page-hero {
  /* Üst: 40px, Alt: 12px olsun (daha sıkı) */
  padding-block: 40px 12px;
}

.page-privacy .page-hero .hero-title {
  /* Başlık altındaki boşluğu da kaldır */
  margin-bottom: 0;
}

/* Diğer bölümlerin dikey boşluğunu da biraz azaltalım */
.page-privacy .section {
  padding-block: 32px;
}

/* =========================================================
   NIHAYİ ÇÖZÜM: MOBILE ACCORDION STİLİ
   Bu blok, Desktop'tan miras alınan hatalı pozisyonlamayı düzeltir.
   ========================================================= */

@media (max-width: 767.98px) {

  /* Hatalı pozisyonlamayı ve görünürlük geçişlerini mobilde sıfırla */
  .nav-dropdown {
    /* 1. KRİTİK DÜZELTME: Pozisyonu STATIC yap */
    position: static !important;

    /* 2. Görünürlük kontrolünü Display ile yönetmek için Opacity/Visibility'i sıfırla */
    opacity: 1 !important;
    visibility: visible !important;

    /* 3. Dropdown'ı kapatmak için Display: none kullan */
    display: none;

    /* 4. Görsel düzenlemeler */
    box-shadow: none !important;
    border: none !important;
    background-color: #f9fafb !important;
    /* Hafif gri zemin ver */
    padding: 10px 0 10px 20px !important;
    /* İçeriyi sağdan indent yap */
    margin-top: 5px;
    width: 100%;
    transform: none !important;
  }

  /* .is-open sınıfı eklendiğinde (JS tarafından) göster */
  .nav-item-has-dropdown.is-open .nav-dropdown {
    display: block !important;
  }

  /* Dropdown içindeki linklerin görünürlüğünü garantiye al */
  .nav-dropdown-link {
    color: var(--color-text-main) !important;
    /* Koyu renk kullan */
    font-size: 0.95rem !important;
    padding: 10px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* =========================================
   GET IN TOUCH - MOBILE FIXES
   (Add to bottom of styles.css)
   ========================================= */

@media (max-width: 768px) {

  /* 1. Sayfa genelinde yatay taşmayı engelle (Güvenlik önlemi) */
  body {
    max-width: 100vw;
    margin: 0;
    position: relative;
    /* overflow-x: hidden;  => BUNU KALDIR */
  }

  /* 2. Layout'u tek kolona düşür */
  .contact-layout {
    display: flex;
    flex-direction: column;
    padding-inline: 16px;
    /* Mobilde kenar boşluğunu garantiye al */
    gap: 32px;
  }

  /* 3. Form Kartı ve Sidebar genişliklerini sabitle */
  .contact-card,
  .contact-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Flexbox/Grid içinde taşmayı önleyen sihirli kod */
  }

  /* 4. Yan yana duran inputları alt alta al (Name: John Doe) */
  .contact-name-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .contact-name-row .contact-input {
    width: 100%;
  }

  /* 5. Meeting Type (Video/In Person) Radyo butonlarını alt alta al */
  .contact-radio-group {
    display: flex;
    flex-direction: column;
    /* Yan yana değil alt alta */
    gap: 12px;
  }

  .contact-radio-option {
    width: 100%;
  }

  /* 7. EN ÖNEMLİSİ: Logo Slider Taşmasını Engelle */
  /* Logo track çok geniş olduğu için, kapsayıcının kesinlikle taşmayı gizlemesi lazım */
  .contact-logos-strip {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Dışarı taşan logoları kes */
    position: relative;
    border-radius: 8px;
    /* İsteğe bağlı estetik */
  }

  .contact-logos-track {
    /* Track genişliği animasyon için geniş kalabilir ama parent onu kesecek */
    max-width: none;
  }

  /* 8. Inputların mobilde taşmamasını garanti et */
  .contact-input,
  .contact-select,
  .contact-textarea,
  .multi-select-trigger {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Padding dahil hesaplama */
  }

  /* =========================================
   LOGO ANIMATION FIX (Desktop & Mobile)
   ========================================= */

  /* 1. Önce animasyonun kendisini tanımlayalım (Keyframes) */
  @keyframes scroll-infinite {
    0% {
      transform: translateX(0);
    }

    100% {
      /* İki grup var, tam yarıya kadar kaydırıp başa saracak */
      transform: translateX(-50%);
    }
  }

  /* 2. Track (Kayan Şerit) Ayarları */
  .contact-logos-track {
    display: flex;
    align-items: center;
    /* İçerik kadar geniş ol (max-content). 
     Böylece mobilde ekran genişliğine sıkışmaz, taşar ve kayar. */
    width: max-content;
    gap: 0;
    /* Gruplar arası boşluk (gerekirse artırılabilir) */

    /* Animasyonu uygula: 40s sürede, lineer hızda, sonsuz döngü */
    animation: scroll-infinite 40s linear infinite;

    /* GPU hızlandırması ile mobilde takılmayı önle */
    will-change: transform;
  }

  /* 3. Logo Grupları */
  .contact-logos-group {
    display: flex;
    align-items: center;
    gap: 56px;
    /* Logolar arası boşluk */
    padding-right: 56px;
    /* Grup sonu boşluğu (akışın kesintisiz durması için) */
  }

  /* 4. Mobil İçin Özel Hız ve Boyut Ayarı */
  @media (max-width: 768px) {
    .contact-logos-track {
      /* Mobilde biraz daha hızlı aksın */
      animation-duration: 35s;
    }

    .contact-logos-group {
      /* Mobilde logolar arası boşluğu biraz azaltalım */
      gap: 32px;
      padding-right: 32px;
    }

    /* Logoların boyutu mobilde çok büyük kalmasın */
    .contact-logo {
      height: 40px;
      /* Desktopta 56px idi, mobilde 40px iyidir */
      width: auto;
    }

    /* Frontline logosu genelde daha uzun/büyük olur, onu ayrı ayarla */
    .contact-logo-frontline {
      height: 60px;
    }
  }

  /* (İsteğe Bağlı) Kullanıcı üzerine gelince dursun */
  .contact-logos-track:hover {
    animation-play-state: paused;
  }
}

/* Why Quatrain hero – mobile background treatment */
@media (max-width: 640px) {
  .why-hero {
    position: relative;
    overflow: hidden;
  }

  .why-hero-media {
    /* Aynı ana sayfadaki gibi: blur + düşük opacity */
    background: url("assets/hero-images/why_hero.webp") center / cover no-repeat;
    position: absolute;
    inset: 0;
    opacity: 0.42;
    /* daha açık istersen 0.35–0.4 deneyebilirsin */
    filter: blur(2px);
    z-index: 0;
  }

  /* Ana sayfadaki .hero-overlay'in benzeri */
  .why-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .why-hero-inner {
    position: relative;
    z-index: 2;
    /* yazılar her şeyin üstünde kalsın */
  }
}











/* === MODULES SECTION – Premium subtle light motion === */

/* Kartın ana yapısı */
.module-card {
  position: relative;
  background: linear-gradient(120deg, #ffffff, #f9fbff, #ffffff);
  background-size: 200% 200%;
  /* border: 1px solid var(--color-border-soft); */
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-position 10s ease-in-out;
  animation: moduleLightSweep 18s ease-in-out infinite;
}

/* Yavaş hareket eden arka plan ışığı */
@keyframes moduleLightSweep {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hover & focus durumunda hafif yükselme + glow efekti */
.module-card:hover,
.module-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 255, 0.12);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(0, 102, 255, 0.08) inset;
  background-position: 100% 50%;
}

/* İkon hareketi – hover’da parlayan mikro animasyon */
.module-icon-wrapper {
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.module-card:hover .module-icon-wrapper {
  transform: translateY(-2px);
  background-color: rgba(0, 102, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.1);
}

/* “Learn more” butonuna hareketli ışık çizgisi efekti */
.btn-chip {
  position: relative;
  overflow: hidden;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.btn-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-chip:hover::after {
  transform: translateX(100%);
}

.module-card .btn-chip span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 200ms ease;
}

.module-card .btn-chip:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}






/* Modules – turuncu hover teması */

.module-card:hover,
.module-card:focus-within {
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 191, 0, 0.16) inset;
}

/* Kart hover iken ikon alanı ve ikon rengi turuncuya çekilsin */
.module-card:hover .module-icon-wrapper {
  background-color: rgba(255, 191, 0, 0.16);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.module-card:hover .module-icon {
  color: var(--color-accent);
}

/* Kart hover iken Learn more chip rengi yumuşak turuncu olsun */
.module-card:hover .btn-chip {
  background-color: rgba(255, 191, 0, 0.12);
  border-color: rgba(251, 191, 36, 0.7);
  color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}
















/* === DARK FOOTER (4-column refined) === */

.footer-dark {
  background: linear-gradient(to right, #020617 0%, #111827 100%);
  color: #e5e7eb;
  padding: 60px 0 0px;
  font-size: 0.95rem;
}

.footer-dark .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  color: #a1a1aa;
  margin-bottom: 20px;
  max-width: 260px;
  line-height: 1.5;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-icon {
  color: #ffbf00;
  flex-shrink: 0;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-badges span {
  background: #363a42;
  color: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Links */
.footer-heading {
  color: #f9fafb;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #ffbf00;
}

/* Newsletter */
.footer-newsletter {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.newsletter-input {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #4b5563;
  background: #f9fafb;
  color: #111827;
  font-size: 0.9rem;
}

.btn-accent {
  background: #ffbf00;
  border: none;
  color: #2e2300;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-accent:hover {
  background: #e6a900;
}

/* Bottom */
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-meta {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a.linkedinbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2f333a;
  color: #d1d5db;
  transition: background 0.2s ease;
}

.footer-social a.linkedinbox:hover {
  background: #ffbf00;
  color: #111;
}

.footer-social a.linkedinbox svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  color: #e5e7eb;
}

.footer-iswiit-logo {
  height: 20px;
  width: auto;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-dark .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
}

@media (max-width: 640px) {
  .footer-dark {
    padding: 56px 0 32px;
  }

  .footer-dark .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-newsletter {
    max-width: 100%;
  }
}

.iswiitLogobox {
  width: 70px;
  height: 36px;
  border-radius: 8px;
  background-color: #2f333a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* taşmayı garanti kesmek için */
}





/* === FOOTER GRID BALANCE ADJUSTMENT === */

/* Desktop: 1. ve 4. kolonlar biraz geniş, ortadakiler biraz dar */
.footer-dark .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1.25fr;
  gap: 40px 48px;
  /* dikey ve yatay boşluk dengesi */
}

/* Ortadaki iki kolon birbirine biraz daha yakın */
.footer-dark .footer-links:nth-of-type(2) {
  margin-right: -12px;
  /* Solutions */
}

.footer-dark .footer-links:nth-of-type(3) {
  margin-left: -12px;
  /* Company */
}

/* 1. ve 4. kolonlara görsel nefes alanı */
.footer-dark .footer-brand {
  padding-right: 16px;
}

.footer-dark .footer-newsletter {
  padding-left: 16px;
}

/* 1024px altı için biraz daha sıkı grid */
@media (max-width: 1024px) {
  .footer-dark .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px 32px;
  }

  .footer-dark .footer-brand,
  .footer-dark .footer-newsletter {
    padding: 0;
  }

  .footer-dark .footer-links:nth-of-type(2),
  .footer-dark .footer-links:nth-of-type(3) {
    margin: 0;
  }
}





.newsletter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffbf00;
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  pointer-events: none;
  opacity: 0.95;
}

/* Input padding ayarı ikonla tam hizalı olacak şekilde */
.newsletter-input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  /* soldan 40px */
  border-radius: 6px;
  border: 1px solid #4b5563;
  background: #f9fafb;
  color: #111827;
  font-size: 0.9rem;
  line-height: 1.4;
  box-sizing: border-box;
}

.newsletter-input::placeholder {
  color: #6b7280;
}







/* === RESPONSIVE FIX: footer grid mobile layout === */

/* Tablet ve mobil görünümde her sütun alt alta dizilir */
@media (max-width: 1024px) {
  .footer-dark .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

@media (max-width: 640px) {
  .footer-dark .footer-grid {
    grid-template-columns: 1fr;
    /* Tek sütun */
    gap: 40px;
  }

  /* Grid den kaynaklı hizalama sapmasını önle */
  .footer-column {
    width: 100%;
    padding: 0;
  }

  /* Icon, badges, newsletter alanları tek kolon düzenine uygun hizada olsun */
  .footer-brand,
  .footer-links,
  .footer-newsletter {
    margin: 0 auto;
    width: 100%;
  }

  /* Newsletter input alt alta düzgün görünsün */
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    width: 100%;
  }

  /* Sosyal medya ikonları ortalansın */
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* Header & footer aynı boy: sadece header’daki kural geçerli olacak */
.logo-img {
  height: var(--header-logo-height);
}

.footer-logo-img {
  /* Sadece footer a özel ufak ayarlar, boyuta dokunmuyoruz */
  display: block;
}








.blog-note {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 1.75rem 2rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, #fef3c7 0, #f9fafb 55%, #f3f4f6 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.blog-note-icon-wrap {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.blog-note-icon {
  width: 20px;
  height: 20px;
  color: #ea580c;
}

.blog-note-content {
  flex: 1 1 auto;
}

.blog-note-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 0.75rem;
}

.blog-note p {
  margin: 0 0 0.75rem;
  color: #374151;
}

.blog-note p:last-child {
  margin-bottom: 0;
}

/* Dar ekranlarda dikey hizala */
@media (max-width: 640px) {
  .blog-note {
    flex-direction: column;
    padding: 1.5rem 1.25rem;
  }

  .blog-note-icon-wrap {
    margin-top: 0;
  }
}


/* Top notification bar */

/* --- Dark notification bar --- */

.site-announcement {
  background-color: #1e293b;
  /* Dark slate blue - footer uyumlu */
  color: #f8fafc;
  /* Çok açık gri, kontrastlı */
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: siteAnnouncementFadeIn 0.35s ease-out;
}

.site-announcement-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.site-announcement-text {
  margin: 0;
  text-align: center;
  max-width: 950px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* Accent renkler */
.site-announcement a {
  color: #facc15;
  /* iSwiit sarısı */
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.site-announcement a:hover {
  color: #fde68a;
  text-decoration-thickness: 2px;
}

.site-announcement strong {
  color: #facc15;
  font-weight: 600;
}

/* Emoji minimal */
.site-announcement-emoji {
  font-size: 1.05rem;
}

/* Close buton */
.site-announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem;
  transition: color 0.2s ease;
}

.site-announcement-close:hover {
  color: #f8fafc;
}

/* Responsive tweak */
@media (max-width: 640px) {
  .site-announcement-inner {
    padding: 0.75rem 0.75rem;
  }

  .site-announcement-text {
    text-align: left;
    justify-content: flex-start;
    margin-right: 2.2rem;
  }

  .site-announcement-close {
    top: 0.8rem;
    transform: none;
  }
}

/* Fade in animasyonu */
@keyframes siteAnnouncementFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MOBILE FIX --- */
@media (max-width: 640px) {
  .site-announcement-inner {
    flex-direction: column;
    /* yatay hizayı dikeye çevir */
    gap: 0.4rem;
    /* text ile çarpı arasında boşluk */
  }

  .site-announcement-close {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-top: 0.25rem;
  }
}

@media (max-width: 640px) {
  .site-announcement-inner {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    padding: 0.95rem 1rem;
  }

  .site-announcement-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .site-announcement-text {
    text-align: left;
    font-size: 0.93rem;
    max-width: 90%;
    display: block;
  }

  /* ✅ Close icon sağ üstte sabit */
  .site-announcement-close {
    position: absolute;
    top: 10px;
    right: 12px;
    transform: none;
  }
}


/* DAEP Monitor – mini UI gallery section */

.section-tm-gallery {
  background-color: #ffffff;
}

.tm-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.tm-gallery-item {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: var(--spacing-5);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-5);
}

/* Copy tarafı */

.tm-gallery-copy {
  max-width: 520px;
}

.tm-gallery-eyebrow {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tm-gallery-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.tm-gallery-body {
  margin: 0 0 10px;
  font-size: 0.93rem;
  color: var(--color-text-body);
}

.tm-gallery-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--color-text-body);
}

.tm-gallery-list li {
  position: relative;
  padding-left: 1rem;   /* metni noktadan biraz sağa it */
  font-size: 0.88rem;
  color: var(--color-text-body);
}

/* küçük turuncu yuvarlak bullet */
.tm-gallery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-dark)
  );
  transform: translateY(-10%);
}

/* Görsel tarafı */

.tm-gallery-media {
  flex: 1;
}

.tm-gallery-media-frame {
  position: relative;
  border-radius: 18px;

}

.tm-gallery-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

/* Masaüstünde 2 kolon ve “zigzag” layout */

@media (min-width: 768px) {
  .tm-gallery-item {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    align-items: center;
    gap: var(--spacing-6);
  }

  .tm-gallery-item-reverse .tm-gallery-copy {
    order: 2;
  }

  .tm-gallery-item-reverse .tm-gallery-media {
    order: 1;
  }

  .tm-gallery-copy {
    max-width: none;
  }
}

/* Daha sıkı boşluklar – küçük ekran */

@media (max-width: 640px) {
  .tm-gallery-item {
    padding: var(--spacing-4);
    border-radius: 14px;
  }

  .tm-gallery-media-frame {
    margin-top: 4px;
  }
}







/* Gallery CTA buttons */

.tm-gallery-cta-row {
  margin-top: 10px;
}

.tm-gallery-cta {
  background-color: var(--color-link-soft);
  color: var(--color-link);
  border-color: rgba(31, 140, 249, 0.2);
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.tm-gallery-cta:hover {
  background-color: rgba(31, 140, 249, 0.16);
  color: #0f172a;
  border-color: rgba(31, 140, 249, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.tm-gallery-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}






/* DAEP Calculator: optional estimator block */
.tm-calc-estimate-toggle,
.tm-calc-apply-estimate {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--color-link);
  cursor: pointer;
  text-decoration: underline;
}

.tm-calc-estimate-toggle:focus-visible,
.tm-calc-apply-estimate:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 6px;
}

.tm-calc-estimator {
  display: none;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-alt);
  gap: 12px;
}

.tm-calc-estimator.is-visible {
  display: grid;
}


.tm-calc-sustainability {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280; /* truancy subtext tonuna yakın tut */
  margin-top: 0px;
  margin-bottom: 0px;
}

.tm-calc-sustainability span {
  white-space: nowrap; /* sayılar ile birimlerin ayrılmamasını sağlar */
}

.esti-plac{
  margin-top: 4px;
}











/* Input + Search districts buton satırı */
.tm-calc-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tm-calc-input-row .tm-calc-input {
  flex: 1 1 auto;
}

/* Search districts butonu ghost stilinde */
.tm-calc-lookup-btn {
  flex: 0 0 auto;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: #ffffff;
  color: #0f172a;
  font-size: 0.850rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.tm-calc-lookup-btn:hover {
  background-color: #f9fafb;
}

/* Mobile: buton input'un altına düşebilsin */
@media (max-width: 640px) {
  .tm-calc-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-calc-lookup-btn {
    width: 100%;
    text-align: center;
  }
}

/* District lookup paneli */
.tm-calc-lookup-panel {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background-color: #f0f7ff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: none; /* JS ile .is-open gelince açılacak */
}

.tm-calc-lookup-panel.is-open {
  display: block;
}

.tm-calc-lookup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tm-calc-lookup-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  margin-inline-start: 2px;
}

.tm-calc-lookup-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  color: #6b7280;
}

.tm-calc-lookup-input {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  background-color: #ffffff;
}

.tm-calc-lookup-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 0.5rem;
}

.tm-calc-lookup-item {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tm-calc-lookup-item:hover {
  background-color: #ffffff;
}

.tm-calc-lookup-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
}

.tm-calc-lookup-item-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.tm-calc-lookup-footnote {
  margin-top: 0.8rem;
  margin-bottom: 0px;
  margin-inline-start: 2px;
  font-size: 0.75rem;
  color: #9ca3af;
}













/* DAEP calculator – environmental chips under "Pages saved" */

.tm-calc-env {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.tm-calc-env-heading {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.tm-calc-env-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tm-calc-env-chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-lg); /* buton kadar yuvarlak değil */
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tm-calc-env-chip-label {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tm-calc-env-chip-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-strong);
}

/* Mobile için: chip’leri alt alta göster */
@media (max-width: 767px) {
  .tm-calc-env-chips {
    flex-direction: column;
  }

  .tm-calc-env-chip {
    width: 100%;
  }
}












/* 1. Input ve Kutu Renkleri */
:root {
  --primary-yellow: #ffde59;
  --primary-blue: #2563eb; /* Daha profesyonel bir mavi */
  --text-main: #0f172a;
  --text-muted: #64748b; /* Placeholder ve yardımcı metinler için ideal */
  --input-bg: #ffffff;
  --input-border: #e2e8f0;
}

/* 2. Input Revizesi */
.tm-calc-input {
  background-color: var(--input-bg);
  border: 1.5px solid var(--input-border);
  transition: all 0.2s ease;
  color: var(--text-main);
}

.tm-calc-input::placeholder {
  color: #94a3b8; /* Kontrastı artırılmış gri */
}

/* Psikolojik Focus Etkisi: Kullanıcıya 'buradasın' mesajı verir */
.tm-calc-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background-color: #fff;
}

/* 3. Search by District Butonu (🔍) */
/* Kullanıcının en çok ihtiyaç duyacağı yardımcı araç olduğu için 'Ghost Button' tarzı */
.tm-calc-lookup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;

}

.tm-calc-lookup-btn:hover {
  background: #f0f7ff;
}

/* 4. Sonuç Paneli (Result) */
.tm-calc-result-caption {
  background: #f8fafc; /* Hafif bir zemin ayırıcı */
  padding: 8px;
  border-radius: 6px;
  margin-top: 8px;
  border-left: 4px solid var(--primary-yellow); /* Önem vurgusu */
}

.contact-input, .tm-calc-lookup-input {
  background-color: var(--input-bg);
  border: 1.5px solid var(--input-border);
  transition: all 0.2s ease;
  color: var(--text-main);
}

.contact-input::placeholder, .tm-calc-lookup-input::placeholder {
  color: #94a3b8; /* Kontrastı artırılmış gri */
}

.contact-input:focus, .tm-calc-lookup-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background-color: #fff;
}

/* Hatalı input görünümü */
.contact-input-error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}










/* Truancy mock previews (safe skeleton UI) */
.tm-mock {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  overflow: hidden;
}

.tm-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tm-mock-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tm-chip {
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: rgba(15, 23, 42, 0.72);
  background: rgba(15, 23, 42, 0.02);
}

.tm-chip-on {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: rgba(37, 99, 235, 0.95);
}

.tm-mock-table,
.tm-doclist {
  display: grid;
  gap: 8px;
}

.tm-mock-row,
.tm-docrow {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.45fr 0.45fr 0.65fr;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
}

.tm-docrow {
  grid-template-columns: 1.25fr 0.5fr 0.6fr 0.55fr;
}

.tm-mock-head {
  background: transparent;
  padding: 0 10px 6px 10px;
  color: rgba(15, 23, 42, 0.55);
  font-size: 12px;
}

.tm-mock-head span {
  white-space: nowrap;
}

.tm-mock-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tm-panel {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.01);
}

.tm-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tm-timeline {
  display: grid;
  gap: 10px;
}

.tm-step {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.tm-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(37, 99, 235, 0.35);
  margin-top: 6px;
  background: #fff;
}

.tm-activity {
  display: grid;
  gap: 10px;
}

.tm-activity-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.skel {
  background: rgba(15, 23, 42, 0.10);
  border-radius: 10px;
}

.skel-line {
  height: 12px;
  width: 100%;
}

.skel-line.sm {
  height: 10px;
  width: 70%;
  opacity: 0.8;
}

.skel-line.md {
  height: 12px;
  width: 55%;
}

.skel-pill {
  height: 14px;
  width: 96px;
  border-radius: 999px;
  opacity: 0.8;
}

.skel-pill.xs {
  width: 54px;
  height: 12px;
}

@media (max-width: 860px) {
  .tm-mock-split {
    grid-template-columns: 1fr;
  }
}

.tm-calc-resultss {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Desktop: 2 kolon, bazı kartlar tam genişlik */
@media (min-width: 768px) {
  .tm-calc-resultss {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-calc-result-card-wide {
    grid-column: 1 / -1;
  }
}


/* CTA: başlık genişlesin, paragraf aynı kalsın (desktop) */
@media (min-width: 1024px) {
  #cta .cta-inner {
    max-width: none; /* 640 kısıtını kaldır, container (1120) içinde kalsın */
  }

  #cta .section-title-cta {
    max-width: 920px;       /* başlık için daha geniş alan */
    margin-inline: auto;    /* ortala */
  }

  #cta .section-subtitle-cta {
    max-width: 640px;       /* paragrafı eski dar genişlikte tut */
    margin-inline: auto;    /* ortala */
  }

  .section-header-centered {
    max-width: 960px;
  }

  .section-header-centered .section-subtitle {
    max-width: 72ch;
    margin-inline: auto;
  }
}
