@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --afra-blue: #086ad7;
  --afra-blue-dark: #0553aa;
  --afra-blue-light: #2b86ee;
  --afra-blue-pale: #8dc2ff;
  --afra-ink: #0a0e17;
  --afra-ink-2: #050b16;
  --afra-gray: #5b6472;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--afra-ink);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Sora', sans-serif;
  color: var(--afra-ink);
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

::selection {
  background: rgba(8, 106, 215, 0.22);
}

.afra-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* Section kicker */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--afra-blue);
}
.section-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--afra-blue);
}

/* Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--afra-blue);
  color: #fff !important;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow: 0 12px 28px -12px rgba(8, 106, 215, 0.75);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:hover {
  background: var(--afra-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(8, 106, 215, 0.8);
  color: #fff !important;
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, transform .2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-outline {
  border: 1.5px solid var(--afra-blue);
  color: var(--afra-blue) !important;
  background: transparent;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .2s ease, transform .2s ease;
}
.btn-outline:hover {
  background: var(--afra-blue);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-y {
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.float-b {
  animation: floatB 7s ease-in-out infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-ring {
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: .4; }
}
.pulse-dot {
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}
.spin-slow {
  animation: spinSlow 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-mask {
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Background effects */
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 80%);
}
.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.glass-dark {
  background: rgba(10, 14, 23, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.text-gradient {
  background: linear-gradient(92deg, #2b86ee 0%, #8dc2ff 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Cards */
.svc-card {
  transition: transform .35s cubic-bezier(.16, .84, .44, 1), box-shadow .35s ease, border-color .35s ease;
  text-decoration: none;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -26px rgba(8, 106, 215, 0.45) !important;
  border-color: rgba(8, 106, 215, 0.5) !important;
}
.card-shine {
  position: relative;
  overflow: hidden;
}
.card-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(8, 106, 215, 0.10), transparent 40%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card-shine:hover::before {
  opacity: 1;
}

.prof-card {
  position: relative;
  overflow: hidden;
}
.prof-card img {
  transition: transform .7s cubic-bezier(.16, .84, .44, 1);
}
.prof-card:hover img {
  transform: scale(1.08);
}

.no-scrollbar {
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Top bar */
.topbar {
  background-color: #0a0e17;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.topbar a:hover {
  color: #ffffff;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #ffffff;
  transition: all 0.3s ease;
}
.main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -15px rgba(0, 0, 0, 0.25);
}
.nav-link-custom {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #0a0e17;
  border-radius: 8px;
  transition: color 0.2s ease;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--afra-blue);
}
.nav-link-custom .indicator {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -2px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--afra-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link-custom.active .indicator {
  transform: scaleX(1);
}

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 20px;
}
.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 330px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 45px -12px rgba(10, 14, 23, 0.18) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), visibility 0.25s;
  z-index: 1050;
  pointer-events: none;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-dropdown-item:hover {
  background-color: #f4f7fc !important;
  transform: translateX(4px);
}
.nav-dropdown-item:hover .dropdown-icon-box {
  background-color: var(--afra-blue) !important;
  color: #ffffff !important;
}
.nav-dropdown-item:hover .fw-bold {
  color: var(--afra-blue) !important;
}

/* Mobile drawer menu */
.mobile-nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid #f1f3f7;
  background: #ffffff;
}
.mobile-nav-menu.open {
  max-height: 800px;
  overflow-y: auto;
}

/* Hero Rotating Word */
.rotating-word-box {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}
.rotating-word-text {
  display: inline-block;
  transition: transform 0.55s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.55s ease;
}

/* Hero Visual Slider */
.hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.08);
}
.hero-slider-img.active {
  opacity: 1;
  transform: scale(1);
}
.hero-progress-bar {
  position: relative;
  height: 4px;
  flex: 1;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
}
.hero-progress-fill {
  position: absolute;
  inset: 0;
  background: #ffffff;
  width: 0%;
  transition: width 5.2s linear;
}
.hero-progress-bar.completed .hero-progress-fill {
  width: 100%;
  transition: none;
  background: rgba(255, 255, 255, 0.6);
}

/* FAQ Accordion */
.faq-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f3f7;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-card.active {
  border-color: rgba(8, 106, 215, 0.4);
  box-shadow: 0 16px 40px -28px rgba(8, 106, 215, 0.6);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-btn .plus-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 106, 215, 0.1);
  color: var(--afra-blue);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-card.active .faq-btn .plus-badge {
  background: var(--afra-blue);
  color: #ffffff;
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}
.faq-card.active .faq-body {
  max-height: 240px;
  padding-bottom: 24px;
}

/* Testimonial Slider */
.testimonial-dot {
  height: 8px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 8px;
  background: rgba(8, 106, 215, 0.25);
  padding: 0;
}
.testimonial-dot.active {
  width: 32px;
  background: var(--afra-blue);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .floating-actions {
    right: 24px;
  }
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.float-btn-top {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--afra-blue);
  border: 1px solid #e5e7eb;
}
.float-btn-top:hover {
  background: var(--afra-blue);
  color: #ffffff;
}
.float-btn-call {
  background: var(--afra-blue);
  color: #ffffff;
}
.float-btn-call:hover {
  background: var(--afra-blue-dark);
}
.float-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

/* Toast Notifications */
.afra-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0a0e17;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.35s ease;
  pointer-events: none;
}
.afra-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Form controls */
.form-input-box {
  position: relative;
}
.form-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3b2;
  pointer-events: none;
}
.form-input-icon-top {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #9aa3b2;
  pointer-events: none;
}
.afra-input {
  width: 100%;
  height: 52px;
  padding: 12px 16px 12px 46px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: #0a0e17;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.afra-input:focus {
  border-color: var(--afra-blue);
  box-shadow: 0 0 0 3px rgba(8, 106, 215, 0.15);
}
.afra-select {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: #5b6472;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.afra-select:focus {
  border-color: var(--afra-blue);
  box-shadow: 0 0 0 3px rgba(8, 106, 215, 0.15);
}
.afra-textarea {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: #0a0e17;
  background: #ffffff;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.afra-textarea:focus {
  border-color: var(--afra-blue);
  box-shadow: 0 0 0 3px rgba(8, 106, 215, 0.15);
}

/* Page Hero */
.page-hero-section {
  position: relative;
  background-color: #0a0e17;
  overflow: hidden;
}
.page-hero-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle at 20% 30%, #086ad7 0, transparent 45%), radial-gradient(circle at 85% 70%, #2b86ee 0, transparent 40%);
}

/* Legal Consent & Info Fields */
.afra-legal-container {
  padding: 4px 0;
}
.afra-legal-notice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}
.afra-legal-notice .legal-notice-icon {
  color: var(--afra-blue);
}
.afra-legal-container.compact .afra-legal-notice {
  padding: 6px 10px;
  font-size: 11.5px;
}
.afra-legal-check {
  font-size: 12.5px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 8px;
  padding-left: 1.75em;
}
.afra-legal-container.compact .afra-legal-check {
  font-size: 11.5px;
}
.afra-legal-check .form-check-input {
  cursor: pointer;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.2em;
  margin-left: -1.75em;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.afra-legal-check .form-check-input:checked {
  background-color: var(--afra-blue);
  border-color: var(--afra-blue);
}
.afra-legal-check .form-check-input:focus {
  border-color: var(--afra-blue);
  box-shadow: 0 0 0 3px rgba(8, 106, 215, 0.15);
}
.afra-legal-link {
  color: var(--afra-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.afra-legal-link:hover {
  color: #064b96;
}
.badge-optional {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.footer-legal-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Legal Modals & Article Styling */
.modal-content {
  border-radius: 16px;
}
.modal-body {
  max-height: 65vh;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}
.legal-article-body h5,
.legal-article-body h6 {
  color: #0a0e17;
  letter-spacing: -0.01em;
}
.legal-article-body ul {
  padding-left: 1.25rem;
}
.legal-article-body ul li {
  margin-bottom: 0.35rem;
}

/* Contact Info Boxes (iletisim.php & global contact cards) */
.contact-info-box {
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(10, 14, 23, 0.04);
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}
.contact-info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 106, 215, 0.09);
  border-color: rgba(8, 106, 215, 0.25);
}
.contact-info-box .box-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: #086ad7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-box .box-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.contact-info-box .box-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  line-height: 1.2;
}
.contact-info-box .box-value {
  font-size: 14.5px;
  font-weight: 700;
  color: #0a0e17;
  margin-top: 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}
.contact-info-box .box-value.email-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #0a0e17;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}
.contact-info-box .box-value.address-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 992px) and (max-width: 1280px) {
  .contact-info-box {
    padding: 14px 12px;
    gap: 10px;
  }
  .contact-info-box .box-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .contact-info-box .box-icon svg,
  .contact-info-box .box-icon i {
    width: 17px !important;
    height: 17px !important;
  }
  .contact-info-box .box-value {
    font-size: 13px;
  }
  .contact-info-box .box-value.email-text {
    font-size: 11.5px;
    letter-spacing: -0.01em;
  }
  .contact-info-box .box-value.address-text {
    font-size: 12px;
  }
}

.hover-primary {
  transition: color 0.15s ease;
}
.hover-primary:hover {
  color: var(--afra-blue) !important;
}
.hover-white {
  transition: color 0.15s ease;
}
.hover-white:hover {
  color: #ffffff !important;
}

/* Referanslar Carousel */
.ref-card {
  flex: 0 0 auto;
  width: 220px;
  height: 110px;
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  box-shadow: 0 4px 16px rgba(10, 14, 23, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}
.ref-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 106, 215, 0.3);
  box-shadow: 0 10px 28px rgba(8, 106, 215, 0.1);
}
.ref-logo-img {
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(70%);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.ref-card:hover .ref-logo-img {
  transform: scale(1.06);
  filter: grayscale(0%) opacity(100%);
}
@media (max-width: 768px) {
  .ref-card {
    width: 170px;
    height: 90px;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .ref-logo-img {
    max-width: 110px;
    max-height: 44px;
  }
}

.hover-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hover-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 106, 215, 0.25) !important;
  box-shadow: 0 10px 24px rgba(8, 106, 215, 0.08) !important;
}

/* Lucide Icons Global Rules */
[data-lucide],
svg.lucide {
  display: inline-block !important;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Form Input Icons Stacking & Alignment */
.form-input-box {
  position: relative;
  display: block;
  width: 100%;
}
.form-input-box .form-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
  color: #8a94a6;
}
.form-input-box .form-input-icon-top {
  position: absolute;
  left: 14px;
  top: 14px;
  pointer-events: none;
  z-index: 5;
  color: #8a94a6;
}
.form-input-box .afra-input,
.form-input-box input[type="text"],
.form-input-box input[type="tel"],
.form-input-box input[type="email"] {
  padding-left: 44px !important;
}
.form-input-box .afra-textarea,
.form-input-box textarea {
  padding-left: 44px !important;
}

/* CF7 Compatibility Fixes */
.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}
.wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}
.wpcf7-form br {
  display: none !important;
}
.wpcf7-response-output {
  border-radius: 12px !important;
  margin: 12px 0 0 0 !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
}

/* Hero Button Arrow Badge */
.btn-primary .btn-arrow-badge {
  background-color: #ffffff !important;
  color: #086ad7 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.btn-primary .btn-arrow-badge i,
.btn-primary .btn-arrow-badge svg,
.btn-primary .btn-arrow-badge [data-lucide] {
  color: #086ad7 !important;
  stroke: #086ad7 !important;
  width: 15px !important;
  height: 15px !important;
  display: inline-block !important;
}
.btn-primary:hover .btn-arrow-badge {
  transform: translateX(3px);
}

/* Cookie Consent Banner */
.afra-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  z-index: 1045;
  padding: 16px 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(120%);
  opacity: 0;
}
.afra-cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.afra-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.afra-cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.afra-cookie-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.afra-cookie-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #475569;
}
.afra-cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 576px) {
  .afra-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 90px;
    max-width: calc(100% - 32px);
  }
}

/* Responsive Blog & Article Detail Images */
.blog-detail-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.blog-detail-img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Article / Post Content Typography & Elements */
.single-post-content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.35;
}
.single-post-content h1 {
  font-size: 1.6rem;
}
.single-post-content h2 {
  font-size: 1.38rem;
}
.single-post-content h3 {
  font-size: 1.2rem;
}
.single-post-content h4 {
  font-size: 1.1rem;
}
.single-post-content p {
  margin-bottom: 20px;
}
.single-post-content ul,
.single-post-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.single-post-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.single-post-content strong {
  color: #0f172a;
}
.single-post-content blockquote {
  border-left: 4px solid var(--afra-blue);
  padding: 14px 20px;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: #475569;
  font-style: italic;
}

/* Post Content Responsive Images */
.single-post-content img,
.single-meslek-body img,
.text-secondary img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  display: block;
  margin: 20px auto;
}

