/* ==========================================================================
   Universalis Ecza Deposu — Design System
   Brand palette derived from logo Pantone codes:
   P119-7C #0093B2 / P128-4C #58B0A9 / P154-7C #84B753 / P144-12C #5F8E64
   ========================================================================== */

:root {
  /* Brand colors */
  --c-primary: #0093b2;
  --c-primary-dark: #007190;
  --c-primary-light: #e5f5f8;
  --c-secondary: #58b0a9;
  --c-accent: #84b753;
  --c-accent-dark: #5f8e64;

  /* Neutrals */
  --c-ink: #12262b;
  --c-body: #4d5e62;
  --c-muted: #7d8c8f;
  --c-white: #ffffff;
  --c-bg-alt: #f3f9f8;
  --c-bg-alt-2: #eef6f4;
  --c-border: #e1eae8;

  /* Feedback */
  --c-danger: #c0392b;
  --c-success: #2f8f5b;

  /* Gradient */
  --grad-brand: linear-gradient(120deg, var(--c-primary) 0%, var(--c-secondary) 55%, var(--c-accent) 120%);
  --grad-brand-soft: linear-gradient(135deg, rgba(0, 147, 178, 0.08), rgba(132, 183, 83, 0.10));

  /* Type */
  --font-heading: "Plus Jakarta Sans", "Inter", -apple-system, Segoe UI, sans-serif;
  --font-body: "Inter", -apple-system, Segoe UI, sans-serif;

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(18, 38, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 38, 43, 0.10);
  --shadow-lg: 0 24px 56px rgba(18, 38, 43, 0.16);

  --container-w: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-primary-dark); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1, .display-3 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.5rem); }
p { margin: 0 0 1.1em; }
small { color: var(--c-muted); }
iframe { border: 0; }
::selection { background: var(--c-primary); color: #fff; }

/* ---------- Layout / grid utilities ---------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.row > [class*="col-"] { padding: 0 14px; }
.col-12, .col-10, .col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-8,
.col-sm-6, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-10, .col-lg-12,
.col-xl-3, .col-xl-6 { width: 100%; }
.row.no-gutters { margin: 0; }
.row.no-gutters > [class*="col-"] { padding: 0; }
.row.gy-4 { row-gap: 1.5rem; }
@media (min-width: 576px) {
  .col-sm-6 { width: 50%; }
}
@media (min-width: 768px) {
  .col-md-2 { width: 16.6667%; }
  .col-md-3 { width: 25%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-4 { width: 33.3333%; }
  .text-md-left { text-align: left; }
}
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.align-items-stretch { align-items: stretch; }
.d-block { display: block; }
.d-flex { display: flex; }
.w-100 { width: 100%; }
.w-50 { width: 50%; }
.h-100 { height: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .6rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: .6rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.ml-3 { margin-left: 1rem !important; }
.p-4 { padding: 1.5rem; }
.px-4 { padding-left: 1.4rem; padding-right: 1.4rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pb-0 { padding-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.shadow { box-shadow: var(--shadow-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.rounded-lg { border-radius: var(--r-lg); }
.rounded-1 { border-radius: var(--r-sm); }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.border-0 { border: 0; }
.bg-light { background: var(--c-bg-alt); }
.bg-white { background: var(--c-white); }
.bg-primary { background: var(--c-primary); color: #fff; }
.bg-transparent { background: transparent; }
.border-top { border-top: 1px solid var(--c-border); }
.border-default { border-color: var(--c-border) !important; }
.list-unstyled { list-style: none; }
.list-inline { list-style: none; display: flex; margin: 0; padding: 0; }
.list-inline-item { display: inline-flex; }
.stretched-link { position: absolute; inset: 0; z-index: 2; }

@media (min-width: 768px) {
  .order-md-1 { order: 1; }
  .order-md-2 { order: 2; }
  .mb-md-0 { margin-bottom: 0 !important; }
}
@media (min-width: 992px) {
  .col-lg-4 { width: 33.3333%; }
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
  .col-lg-10 { width: 83.3333%; }
  .col-lg-12 { width: 100%; }
  .mb-lg-0 { margin-bottom: 0 !important; }
}
@media (min-width: 1200px) {
  .col-xl-3 { width: 25%; }
  .col-xl-6 { width: 50%; }
}
.order-1 { order: 1; }
.order-2 { order: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  padding: .85em 1.7em;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  padding: calc(.85em - 2px) calc(1.7em - 2px);
}
.btn-outline-primary:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .55em 1.3em; font-size: .88rem; }
.btn-sm.btn-outline-primary { padding: calc(.55em - 2px) calc(1.3em - 2px); }
.btn-link { background: none; border: 0; padding: 0; color: var(--c-primary); font-weight: 600; }
.btn-link:hover { color: var(--c-primary-dark); text-decoration: underline; }

/* ---------- Header / navigation ---------- */
.navigation {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
}
.navbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.navbar-brand img { width: 168px; }
.navbar-toggler {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 1.1rem;
  color: var(--c-ink);
  cursor: pointer;
  display: none;
}
.navbar-collapse { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.navbar-nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-item .nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-weight: 600;
  font-size: .96rem;
}
.nav-item .nav-link:hover { background: var(--c-primary-light); color: var(--c-primary-dark); }
.nav-social { margin-top: 6px; }
.social-icons { gap: 8px; justify-content: center; }
.social-icons a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-muted);
  font-size: .9rem;
}
.social-icons a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

@media (max-width: 991px) {
  .navbar-toggler { display: inline-flex; align-items: center; }
  .navbar-collapse {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding-top: 14px;
  }
  .navbar-collapse.show { display: flex; }
  .navbar-nav { flex-direction: column; align-items: center; }
  .nav-social { display: flex; justify-content: center; }
}

/* ---------- Section rhythm ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-title { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); margin-bottom: .5em; }
main > .section:nth-of-type(even) { background: var(--c-bg-alt); }

/* ---------- Hero / banner ---------- */
.banner {
  background: var(--grad-brand);
  padding: 84px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner h1 { color: #fff; margin-bottom: .5em; }
.banner p { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 640px; margin-left: auto; margin-right: auto; }
/* Solid fill instead of the shared gradient: a gradient-on-gradient button here
   recomputes its own stops over a tiny box, so it visibly seams against the banner. */
.banner .btn-primary {
  background: #fff;
  color: var(--c-primary-dark);
  box-shadow: var(--shadow-md);
}
.banner .btn-primary:hover { background: var(--c-primary-light); color: var(--c-primary-dark); }

/* ---------- IQVIA highlight ---------- */
.iqvia-highlight-card {
  padding: 36px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
}
.iqvia-highlight-rank {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  color: var(--c-primary);
  line-height: 1;
}
.iqvia-highlight-title { margin-bottom: .35em; }
.iqvia-highlight-description { color: var(--c-body); }
.iqvia-highlight-logo { max-height: 56px; width: auto; margin-left: auto; margin-right: auto; }

/* ---------- Video embed ---------- */
.video-container { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.embed-responsive { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; }
.embed-responsive-16by9 { padding-top: 56.25%; }
.embed-responsive-item { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Decorative auto-rotating illustration slider ---------- */
.slider:not(.blog-slider .slider) > img:not(:first-child) { display: none; }

/* ---------- Feature cards (Ürünlerimiz grid) ---------- */
.feature-card {
  display: block;
  height: 100%;
  padding: 30px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card i, .feature-card .fa, .feature-card svg { color: var(--c-primary); font-size: 1.8rem; margin-bottom: .5em; }

/* ---------- News ticker (homepage "blog-slider") ---------- */
.blog-slider { position: relative; }
.blog-slider .slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-primary) transparent;
}
.blog-slider .slider::-webkit-scrollbar { height: 6px; }
.blog-slider .slider::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: var(--r-pill); }
.blog-slide {
  flex: 0 0 auto;
  width: min(320px, 82vw);
  scroll-snap-align: start;
}
.blog-slide-content, .blog-slide {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-slide:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-slide img { aspect-ratio: 16/10; object-fit: cover; }
/* The card itself already clips corners via overflow:hidden; an inner .rounded-lg
   on the <img> used a bigger radius than the card's, leaving mismatched notches. */
.blog-slide img.rounded-lg { border-radius: 0; }
.blog-slide-content { padding: 16px 18px; }
.blog-slide-content h3 { font-size: 1rem; margin-bottom: .3em; }
.blog-slide-content p { font-size: .88rem; color: var(--c-muted); margin: 0; }

/* ---------- Blog cards / listing ---------- */
.blog-card, .blog-featured {
  display: block;
  height: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover, .blog-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__media, .blog-featured__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--c-bg-alt); }
.blog-card__image, .blog-featured__image, .card-img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body, .blog-featured__body { padding: 22px; }
.blog-card__title { font-size: 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-featured__title { font-size: 1.5rem; }
.blog-card__excerpt, .blog-featured__excerpt { color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__meta, .blog-card__meta small { color: var(--c-muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.blog-card__cta, .blog-featured__cta { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--c-primary); }
.blog-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--c-accent); color: #fff;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.blog-featured { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .blog-featured { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .blog-featured__media { height: 100%; aspect-ratio: auto; }
}
.blog-list-intro { color: var(--c-muted); max-width: 680px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; list-style: none; gap: 6px; padding: 0; margin: 40px 0 0; justify-content: center; }
.page-item .page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  color: var(--c-ink); font-weight: 600;
}
.page-item .page-link:hover, .page-item .page-link:focus { background: var(--c-primary-light); border-color: var(--c-primary); color: var(--c-primary-dark); }
.page-item.active .page-link { background: var(--grad-brand); border: none; color: #fff; }
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ---------- Rich text content (blog posts / product pages) ---------- */
.content { color: var(--c-body); font-size: 1.05rem; }
.content h1, .content h2, .content h3, .content h4 { margin-top: 1.4em; }
.content img { border-radius: var(--r-md); margin: 1.2em 0; box-shadow: var(--shadow-sm); }
.content strong { color: var(--c-ink); }
.content a:hover { text-decoration: underline; }
.content ol, .content ul { margin: 1.1em 0; padding-left: 1.4em; }
.content ul { list-style: none; padding-left: 0; }
.content ul li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.content ul li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
}
.content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.content th, .content td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; }
.content thead { background: var(--c-bg-alt); }
.content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--c-primary); background: var(--c-bg-alt); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--c-ink); }
.content pre, .content code { background: var(--c-bg-alt); border-radius: var(--r-sm); }
.content code { padding: .15em .4em; font-size: .92em; }
.content pre { padding: 16px; overflow-x: auto; }
.content .notices { border-radius: var(--r-sm); padding: 14px 18px; margin: 1.2em 0; border-left: 4px solid var(--c-primary); background: var(--c-bg-alt); }
.content .notices.warning { border-color: var(--c-danger); }
.content .notices.tip, .content .notices.info { border-color: var(--c-secondary); }

/* ---------- Forms ---------- */
.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .85em 1.1em;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  margin-bottom: 14px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-light); }
.form-control::placeholder { color: var(--c-muted); }
textarea.form-control { min-height: 140px; resize: vertical; }
.text-danger { color: var(--c-danger); display: block; font-size: .85rem; margin: -8px 0 10px; }
.text-success { color: var(--c-success); font-weight: 600; }
.check-mark { position: relative; padding-left: 1.6em; display: block; margin-bottom: .5em; }
.check-mark::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: .1em; color: var(--c-accent);
}

/* ---------- Value cards (Vizyon / Misyon) ---------- */
.value-card {
  padding: 34px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* ---------- Misc components ---------- */
.responsive-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.responsive-map iframe { width: 100%; height: 360px; }
.ceo-image { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.about-card { background: var(--c-bg-alt-2); border-radius: var(--r-lg); padding: 30px; }
.about-card-h2 { margin-bottom: .4em; }
.about-card-p { color: var(--c-body); }
.overlay { position: absolute; inset: 0; background: rgba(18, 38, 43, 0.5); }
.bg-cover { background-size: cover; background-position: center; }
.fit-cover { object-fit: cover; }

.float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease;
}
.float:hover { transform: scale(1.08); color: #fff; }
.my-float { font-size: 1.6rem; }

/* ---------- Footer ---------- */
footer.section {
  background: var(--c-ink);
  background-image: linear-gradient(180deg, rgba(0,147,178,0.10), transparent 220px);
  color: rgba(255,255,255,0.68);
  padding-top: 60px;
  position: relative;
}
footer.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}
footer.section h5, footer.section .footer-title, footer.section .h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.2em;
}
footer a { color: rgba(255,255,255,0.68); }
footer p { color: rgba(255,255,255,0.6); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .7em; line-height: 1.5; }
.footer-list a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact-item i {
  flex: 0 0 auto;
  margin-top: .25em;
  width: 16px;
  color: var(--c-secondary);
  text-align: center;
}
footer .social-icons a { border-color: rgba(255,255,255,0.24); color: rgba(255,255,255,0.8); }
footer .social-icons a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
footer .border-top { border-color: rgba(255,255,255,0.14) !important; }
footer .navbar-brand, footer a.d-block { display: inline-block; }
@media (max-width: 767px) {
  /* mt-5 + mb-5 on stacked footer columns compound into an oversized gap on mobile */
  footer .row > [class*="col-"] { margin-top: 0 !important; margin-bottom: 2.25rem !important; }
}
footer small.content { color: rgba(255,255,255,0.5); }

/* ---------- Preloader (kept minimal in case referenced) ---------- */
.preloader { position: fixed; inset: 0; background: #fff; z-index: 999; display: flex; align-items: center; justify-content: center; }
