/* =============================================
   MYD ELEKTRİK - Ana Stil Dosyası
   ============================================= */

/* Google Fonts loaded via <link preload> in HTML for performance */

/* === CSS DEĞİŞKENLER === */
:root {
  --bg-primary: #0b0d11;
  --bg-secondary: #10121a;
  --bg-card: #151720;
  --bg-card-hover: #1a1d28;
  --accent: #4ade80;
  --accent-dark: #22c55e;
  --accent-deeper: #16a34a;
  --accent-glow: rgba(74, 222, 128, 0.12);
  --accent-glow-strong: rgba(74, 222, 128, 0.25);
  --text-white: #ffffff;
  --text-light: #c8ccd8;
  --text-muted: #7a7f91;
  --text-dim: #4a4e5a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(74, 222, 128, 0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max-w: 1300px;
  --header-h: 120px;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-white: #1e293b;
  --text-light: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(74, 222, 128, 0.4);
}

/* === LIGHT MODE OVERRIDES === */
[data-theme="light"] .hero-bg {
  background: radial-gradient(ellipse at 25% 50%, rgba(74, 222, 128, .15) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(74, 222, 128, .1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(240, 253, 244, 0.8) 100%);
}

[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

[data-theme="light"] .hamburger span {
  background: var(--text-white);
}

[data-theme="light"] .dropdown {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
}

[data-theme="light"] .nav-overlay {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(5px);
}

[data-theme="light"] .mobile-menu-inner {
  background: #ffffff;
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] .footer-heading,
[data-theme="light"] .ref-card-name,
[data-theme="light"] .blog-title,
[data-theme="light"] .faq-q {
  color: var(--text-white);
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-desc,
[data-theme="light"] .footer-desc,
[data-theme="light"] .footer-links a,
[data-theme="light"] .blog-desc,
[data-theme="light"] .faq-a p {
  color: var(--text-muted);
}

[data-theme="light"] .footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
}

[data-theme="light"] .input-field,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff;
  color: var(--text-white);
  border-color: var(--border);
}

[data-theme="light"] .office-card {
  background: #ffffff;
  border-color: var(--border);
}

[data-theme="light"] .timeline-line {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] path {
  stroke: var(--text-white);
}

[data-theme="light"] .logo-img,
[data-theme="light"] .footer-logo-img {
  filter: brightness(0.2);
  /* Make white logo dark for light mode */
}

/* Exception for icons that should remain brand color */
[data-theme="light"] .sol-icon svg path,
[data-theme="light"] .theme-toggle svg path,
[data-theme="light"] .theme-toggle svg circle,
[data-theme="light"] .theme-toggle svg line,
[data-theme="light"] .social-icon path {
  stroke: currentColor;
}

[data-theme="light"] .btn-outline {
  color: var(--text-white);
  border-color: rgba(30, 41, 59, 0.15);
  /* Hafif belirgin çerçeve */
}

[data-theme="light"] .btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent-deeper);
  border-color: var(--accent);
}

[data-theme="light"] .olive {
  background: #f0fdf4;
}

[data-theme="light"] .olive::before {
  background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, .15), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(74, 222, 128, .1), transparent 50%);
}

[data-theme="light"] .olive-title,
[data-theme="light"] .olive-num {
  color: var(--accent-deeper);
}

[data-theme="light"] .olive-pre,
[data-theme="light"] .olive-sub {
  color: var(--text-muted);
}

[data-theme="light"] .blog-img {
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

[data-theme="light"] .blog-img::before {
  background: linear-gradient(135deg, rgba(74, 222, 128, .2), rgba(74, 222, 128, .05));
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f1f5f9;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-color: #f1f5f9;
}

[data-theme="light"] .map-iframe {
  filter: none;
}

[data-theme="light"] .stats {
  background: radial-gradient(circle at 50% 50%, #ffffff, #f1f5f9);
}

[data-theme="light"] .stats::before {
  background: radial-gradient(circle at 0% 50%, rgba(74, 222, 128, .15), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(74, 222, 128, .15), transparent 50%);
}

[data-theme="light"] .stat-num {
  color: var(--accent-deeper);
}

[data-theme="light"] .stat-lbl {
  color: var(--text-muted);
}

[data-theme="light"] .stat-icon svg {
  stroke: var(--accent-deeper);
}

[data-theme="light"] .timeline {
  background: #f8fafc;
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--border);
}

/* === MAP IFRAME DEFAULT (DARK) === */
.map-iframe {
  border: 0;
  display: block;
  filter: grayscale(100%) invert(92%) contrast(83%);
}


/* === THEME TOGGLE === */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: var(--text-white);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  width: 40px;
  height: 40px;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .theme-toggle svg.moon {
  display: none;
}

[data-theme="light"] .theme-toggle svg.sun {
  display: block;
}

.theme-toggle svg.sun {
  display: none;
}

/* === RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

/* === LIGHT MODE NAV & FOOTER FIXES === */
[data-theme="light"] .nav-link {
  color: var(--text-white);
  font-weight: 500;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--accent-deeper);
}

[data-theme="light"] .header.scrolled .nav-link {
  color: var(--text-white);
}

[data-theme="light"] .header.scrolled .nav-link:hover,
[data-theme="light"] .header.scrolled .nav-link.active {
  color: var(--accent-deeper);
}

[data-theme="light"] .footer-desc,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-copy {
  color: #4b5563;
  /* Darker gray for better readability */
}

[data-theme="light"] .footer-links a:hover {
  color: var(--accent-deeper);
}

[data-theme="light"] .footer-contact-text strong {
  color: var(--accent-deeper);
}

[data-theme="light"] .footer-contact-text {
  color: #4b5563;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s
}

ul,
ol {
  list-style: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

button {
  cursor: pointer;
  font-family: var(--font)
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px
}

/* === ANİMASYONLAR === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px)
  }

  to {
    opacity: 1
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-50px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(50px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.92)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.3)
  }

  50% {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.6)
  }
}

@keyframes lineExpand {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9)
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1)
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

@keyframes countPulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }

  100% {
    transform: scale(1)
  }
}

/* Scroll animate classes */
.anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.anim.show {
  opacity: 1;
  transform: translateY(0)
}

.anim-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.anim-left.show {
  opacity: 1;
  transform: translateX(0)
}

.anim-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.anim-right.show {
  opacity: 1;
  transform: translateX(0)
}

.anim-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}


/* === IMAGE LOGO === */
.logo-img {
  height: 80px;
  /* Büyütüldü */
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.4s ease;
}

.header.scrolled .logo-img {
  height: 60px;
  /* Büyütüldü */
}

.footer-logo-img {
  height: 80px;
  /* Alttaki logoyu da orantılı büyüttüm */
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

/* Hide old logo text/icon if present */
.logo-icon,
.logo-text,
.footer-logo-icon,
.footer-logo-text {
  display: none !important;
}


.d1 {
  transition-delay: .1s !important
}

.d2 {
  transition-delay: .2s !important
}

.d3 {
  transition-delay: .3s !important
}

.d4 {
  transition-delay: .4s !important
}

.d5 {
  transition-delay: .5s !important
}

.d6 {
  transition-delay: .6s !important
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all .4s var(--ease);
  background: transparent
}

.header.scrolled {
  background: rgba(11, 13, 17, .95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 78px
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px
}

/* Restore the flexbox spacing of the removed theme-toggle button on desktop */
@media (min-width: 769px) {
  .header-inner::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  color: #fff;
  position: relative;
  overflow: hidden
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, .15) 50%, transparent 60%);
  transition: transform .6s
}

.logo:hover .logo-icon::after {
  transform: translateX(100%)
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px
}

.logo-text span {
  color: var(--accent)
}

.nav {
  display: flex;
  align-items: center
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-item {
  position: relative
}

.nav-link {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-light);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  position: relative
}

.nav-link:hover,
.nav-link.active {
  color: #fff
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin: center
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1)
}

.nav-link .arrow {
  font-size: 20px;
  transition: transform .2s;
  opacity: .6
}

.nav-item:hover .arrow {
  transform: rotate(180deg)
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: rgba(21, 23, 32, .98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .25s var(--ease);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5)
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-light);
  border-radius: 6px;
  transition: all .2s
}

.dropdown-link:hover {
  background: var(--accent-glow);
  color: var(--accent);
  padding-left: 18px
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all .3s;
  border-radius: 2px
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 13, 17, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s
}

[data-theme="light"] .nav-overlay {
  background: rgba(255, 255, 255, .9);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1.0;
  /* Videonun görünürlük şiddeti (0.0 ile 1.0 arası) */
}

[data-theme="light"] .hero-video {
  opacity: 0.8;
  /* Açık temada video daha silik görünür */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(74, 222, 128, .06) 0%, transparent 55%), radial-gradient(ellipse at 75% 20%, rgba(74, 222, 128, .04) 0%, transparent 50%), linear-gradient(180deg, rgba(11, 13, 17, 0.2) 0%, rgba(14, 16, 24, 0.2) 50%, rgba(11, 13, 17, 0.8) 100%);
  z-index: 0
}

.hero-grid {
  display: none;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 222, 128, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 222, 128, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%)
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .25;
  animation: float 7s ease-in-out infinite
}

.particle:nth-child(1) {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 8s
}

.particle:nth-child(2) {
  top: 55%;
  left: 18%;
  animation-delay: 1.2s;
  animation-duration: 6s
}

.particle:nth-child(3) {
  top: 35%;
  left: 65%;
  animation-delay: 2s;
  animation-duration: 7.5s
}

.particle:nth-child(4) {
  top: 75%;
  left: 78%;
  animation-delay: .5s;
  animation-duration: 9s
}

.particle:nth-child(5) {
  top: 25%;
  left: 45%;
  animation-delay: 1.8s;
  animation-duration: 5.5s
}

.particle:nth-child(6) {
  top: 65%;
  left: 35%;
  animation-delay: 3s;
  animation-duration: 8.5s
}

.particle:nth-child(7) {
  top: 12%;
  left: 82%;
  animation-delay: 2.5s;
  animation-duration: 6.5s
}

.particle:nth-child(8) {
  top: 85%;
  left: 12%;
  animation-delay: 3.5s;
  animation-duration: 7s
}

.particle:nth-child(9) {
  top: 45%;
  left: 92%;
  animation-delay: .8s;
  animation-duration: 8s
}

.particle:nth-child(10) {
  top: 92%;
  left: 55%;
  animation-delay: 1.5s;
  animation-duration: 6s
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 140px 24px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(74, 222, 128, .07);
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 36px;
  animation: fadeUp .8s var(--ease) forwards;
  letter-spacing: .5px
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 41, 59, 0.15);
  color: var(--text-white);
  /* Hızlı iletişim kutusuyla aynı koyu renk */
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite
}

[data-theme="light"] .hero-badge-dot {
  background: var(--text-white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 28px;
  animation: fadeUp .8s var(--ease) .15s both
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
  animation: fadeUp .8s var(--ease) .3s both
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-white);
  /* Hızlı iletişim kutusuyla aynı koyu renk */
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .8s var(--ease) .45s both
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.2s both
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim)
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse 2.5s ease-in-out infinite
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
  letter-spacing: .3px
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  color: #fff;
  box-shadow: 0 4px 24px rgba(74, 222, 128, .25)
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(74, 222, 128, .35)
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12)
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow)
}

.btn .arrow-icon {
  transition: transform .25s
}

.btn:hover .arrow-icon {
  transform: translateX(4px)
}

.btn:hover .hero-scroll:hover {
  transform: translateX(-50%) translateY(-5px)
}

/* HERO CONTACT CARD */
@keyframes force-repaint-hack {
  0% { transform: translateZ(0) scale(1); }
  100% { transform: translateZ(0) scale(1.00001); }
}

.hero-contact-card {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 3;
  /* Ultimate Hardware Acceleration Hack so scrolling never breaks the blur */
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform, backdrop-filter;
  animation: force-repaint-hack 1s infinite alternate linear;
}

[data-theme="light"] .hero-contact-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

[data-theme="light"] .hero-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  z-index: -1;
  pointer-events: none;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform, backdrop-filter;
}

.hero-contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.hero-contact-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hero-contact-header p {
  font-size: 13.5px;
  color: var(--text-light);
}

.hero-contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.hero-contact-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-contact-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  transition: all 0.2s ease;
}

.hero-contact-link:hover svg {
  stroke: #fff;
}

.hero-contact-link span {
  color: var(--text-muted);
  font-size: 13px;
  transition: all 0.2s ease;
}

.hero-contact-link:hover span {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-contact-card {
    padding: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .hero-contact-links {
    flex-direction: column;
    gap: 8px;
  }

  .hero-contact-link {
    justify-content: center;
  }
}

/* === SECTION === */
.section {
  padding: 120px 0;
  position: relative
}

.section-header {
  margin-bottom: 60px
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px
}

.section-label-line {
  width: 28px;
  height: 2px;
  background: var(--accent)
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px
}

.section-title .dot {
  color: var(--accent)
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.75
}

/* === ABOUT === */
.about {
  background: var(--bg-primary);
  overflow: hidden
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border: 1px solid var(--border)
}

.about-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.about-image-inner svg {
  width: 55%;
  height: 55%;
  opacity: .5
}

.about-logo-img {
  width: 60%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.2));
  transition: transform 0.5s ease;
}

.about-image:hover .about-logo-img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(11, 13, 17, .95) 0%, transparent 100%)
}

.about-image-overlay h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px
}

.about-image-overlay p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8)
}

.about-content .section-desc {
  margin-bottom: 28px
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px
}

.about-stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .35s var(--ease)
}

.about-stat:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px)
}

.about-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px
}

.about-stat-lbl {
  font-size: 12.5px;
  color: var(--text-muted)
}

/* === SOLUTIONS === */
.solutions {
  background: var(--bg-secondary);
  position: relative
}

.solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent)
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px
}

.sol-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .4s var(--ease);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.sol-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s ease;
}

.sol-card:hover .sol-card-img {
  transform: scale(1.05);
}

.sol-card-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg-card);
  /* Transisyon esnasında arkada beyazlık kalmaması için */
  position: relative;
  z-index: 2;
}

.sol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #86efac);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
  transform-origin: left
}

.sol-card:hover::before {
  transform: scaleX(1)
}

.sol-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .3), 0 0 48px rgba(74, 222, 128, .04)
}

.sol-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all .35s var(--ease)
}

.sol-card:hover .sol-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  transform: scale(1.06)
}

.sol-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  transition: stroke .2s
}

.sol-card:hover .sol-icon svg {
  stroke: #fff
}

.sol-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px
}

.sol-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color .2s
}

.sol-card:hover .sol-title {
  color: var(--accent)
}

.sol-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px
}

.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s var(--ease)
}

.sol-card:hover .sol-link {
  opacity: 1;
  transform: translateY(0)
}

.sol-link .arr {
  transition: transform .2s
}

.sol-link:hover .arr {
  transform: translateX(4px)
}

.solutions-cta {
  text-align: center;
  margin-top: 52px
}

/* === STATS === */
.stats {
  padding: 88px 0;
  background: linear-gradient(135deg, #0c0f16, #101520, #0c0f16);
  position: relative;
  overflow: hidden
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(74, 222, 128, .05), transparent 50%), radial-gradient(circle at 100% 50%, rgba(74, 222, 128, .05), transparent 50%)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1
}

.stat-item {
  text-align: center;
  padding: 36px 16px;
  position: relative
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border)
}

.stat-item:last-child::after {
  display: none
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums
}

.stat-num .sfx {
  font-size: 22px;
  font-weight: 600;
  color: #86efac
}

.stat-lbl {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto
}

/* === COMPANY === */
.company {
  background: var(--bg-primary);
  overflow: hidden;
  position: relative
}

.company::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(74, 222, 128, .025), transparent 70%)
}

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center
}

.company .section-desc {
  margin-bottom: 18px
}

.company .section-desc:last-of-type {
  margin-bottom: 36px
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #86efac, var(--accent));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite
}

.company-card-img-wrap {
  width: 100%;
  height: 180px;
  margin: -44px -44px 22px;
  width: calc(100% + 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.company-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.company-card:hover .company-card-img {
  transform: scale(1.05);
}

.company-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px
}

.company-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7
}

/* === TIMELINE === */
.timeline {
  background: var(--bg-secondary);
  padding: 120px 0 100px;
  overflow: hidden
}

.timeline .section-header {
  text-align: center
}

.timeline .section-label {
  justify-content: center
}

.timeline-wrap {
  position: relative;
  margin-top: 48px
}

.timeline-track {
  display: flex;
  align-items: center;
  /* Center item layout */
  gap: 0;
  overflow-x: auto;
  padding: 48px 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
  position: relative;
  min-height: 500px;
  /* Ensure space for top/bottom cards */
}

.timeline-track::-webkit-scrollbar {
  display: none
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0
}

.tl-item {
  flex: 0 0 300px;
  height: 400px;
  /* Fixed height spanning the track */
  position: relative;
  padding: 0 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 4px solid var(--bg-secondary);
  border-radius: 50%;
  z-index: 2;
  transition: all .35s;
  box-shadow: 0 0 0 1px var(--border);
}

.tl-item:hover .tl-dot {
  transform: translate(-50%, -50%) scale(1.3);
  background: var(--text-white);
  border-color: var(--accent);
}

.tl-content {
  position: absolute;
  width: calc(100% - 32px);
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .35s var(--ease);
  z-index: 5;
}

/* Odd items (Top) */
.tl-item:nth-child(odd) .tl-content {
  bottom: 55%;
  margin-bottom: 0;
}

/* Even items (Bottom) */
.tl-item:nth-child(even) .tl-content {
  top: 55%;
  margin-top: 0;
}

/* Connectors */
.tl-content::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--border-hover);
  transform: translateX(-50%);
  bottom: -20px;
  opacity: 0.5;
}

.tl-item:nth-child(even) .tl-content::after {
  top: -20px;
  bottom: auto;
}

.tl-item:hover .tl-content {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tl-item:nth-child(even):hover .tl-content {
  transform: translateY(5px);
}

.tl-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase
}

.tl-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px
}

.tl-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6
}

.tl-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px
}

.tl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  font-size: 16px
}

.tl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow)
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--bg-primary);
  overflow: hidden;
  position: relative
}

.testimonials::before {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -25%;
  width: 45%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(74, 222, 128, .03), transparent 70%)
}

.test-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 16px
}

.test-track {
  display: flex;
  transition: transform .6s var(--ease)
}

.test-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 4px
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .35s var(--ease)
}

.test-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px)
}

.test-quote {
  font-size: 36px;
  color: var(--accent);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 12px
}

.test-text {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 22px
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border)
}

.test-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  overflow: hidden;
}

.test-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff; /* Logolar şeffaf arka planlıysa her temada net okunsun diye beyaz fon eklendi */
}

.test-name {
  font-size: 14px;
  font-weight: 700
}

.test-company {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 500
}

.test-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 44px
}

.test-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  font-size: 14px
}

.test-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow)
}

.test-dots {
  display: flex;
  gap: 6px
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  border: none;
  transition: all .3s;
  cursor: pointer;
  padding: 0
}

.test-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px
}

/* === BLOG === */
.blog {
  background: var(--bg-secondary);
  position: relative
}

.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent)
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .4s var(--ease);
  cursor: pointer
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .3)
}

.blog-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #181a24, #1e2030);
  position: relative;
  overflow: hidden
}

.blog-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-real-img {
  transform: scale(1.08);
}

.blog-img-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  opacity: .12
}

.blog-img-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1
}

.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  background: rgba(74, 222, 128, .12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px
}

.blog-body {
  padding: 24px
}

.blog-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
  transition: color .2s
}

.blog-card:hover .blog-title {
  color: var(--accent)
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent)
}

.blog-link span {
  transition: transform .2s
}

.blog-card:hover .blog-link span {
  transform: translateX(4px)
}

/* === OLIVE === */
.olive {
  padding: 100px 0;
  background: linear-gradient(135deg, #081210, #0c1a14, #081210);
  text-align: center;
  position: relative;
  overflow: hidden
}

.olive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, .07), transparent 50%), radial-gradient(circle at 70% 30%, rgba(74, 222, 128, .04), transparent 50%)
}

.olive-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px
}

.olive-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center
}

.olive-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5
}

.olive-pre {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px
}

.olive-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 18px
}

.olive-num {
  color: var(--accent)
}

.olive-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px
}

.olive-sub {
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic
}

/* === FOOTER === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px
}

.footer-brand {
  max-width: 300px
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  color: #fff
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px
}

.footer-logo-text span {
  color: var(--accent)
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px
}

.footer-social {
  display: flex;
  gap: 10px
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  color: var(--text-muted);
  font-size: 14px
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px)
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent)
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px
}

.footer-contact-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5
}

.footer-contact-text strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
  font-size: 13px
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-dim)
}

.footer-copy a {
  color: var(--accent);
  font-weight: 600
}

.footer-bottom-links {
  display: flex;
  gap: 20px
}

.footer-bottom-links a {
  font-size: 12.5px;
  color: var(--text-dim)
}

.footer-bottom-links a:hover {
  color: var(--accent)
}

/* === PAGE HEADER (subpages) === */
.page-header {
  padding: 160px 0 80px;
  background: var(--bg-secondary);
  position: relative;
  text-align: center;
  overflow: hidden
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(74, 222, 128, .05), transparent 60%)
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent)
}

.page-header .container {
  position: relative;
  z-index: 1
}

.page-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px
}

.page-breadcrumb a {
  color: var(--text-muted);
  transition: color .2s
}

.page-breadcrumb a:hover {
  color: var(--accent)
}

.page-breadcrumb .sep {
  margin: 0 8px;
  opacity: .4
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  animation: fadeUp .8s var(--ease) both
}

.page-subtitle {
  font-size: 17px;
  color: var(--text-light);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp .8s var(--ease) .15s both
}

/* === SUBPAGE CONTENT === */
.page-content {
  padding: 80px 0;
  background: var(--bg-primary)
}

.page-content .container {
  max-width: 900px
}

/* Override for Solutions pages — sidebar + content need more room */
.page-content .container.service-layout {
  max-width: 1440px
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 40px;
  color: var(--accent)
}

.page-content h2:first-child {
  margin-top: 0
}

.page-content p {
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px
}

.page-content .cta-row {
  margin-top: 40px
}

/* Solutions sidebar layout */
.solutions-page-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start
}

.solutions-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.solutions-sidebar a {
  display: block;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all .2s
}

.solutions-sidebar a:hover {
  background: var(--accent-glow);
  color: var(--accent);
  padding-left: 22px
}

.solutions-sidebar a.active {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600
}

.solutions-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 24px
}

.solutions-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px
}

.contact-form h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary)
}

.form-group {
  margin-bottom: 18px
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color .2s;
  outline: none
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent)
}

.form-group textarea {
  resize: vertical;
  min-height: 120px
}

.form-group select {
  -webkit-appearance: none;
  appearance: none
}

.faq-section {
  margin-top: 48px
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden
}

.faq-q {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #fff;
  font-family: var(--font)
}

.faq-q:hover {
  color: var(--accent)
}

.faq-q .faq-icon {
  font-size: 18px;
  transition: transform .3s;
  color: var(--accent)
}

.faq-item.open .faq-q .faq-icon {
  transform: rotate(45deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
  padding: 0 24px
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 18px
}

.faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7
}

.contact-offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .35s var(--ease)
}

.office-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px)
}

.office-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent)
}

.office-info {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start
}

.office-info-icon {
  color: var(--accent);
  min-width: 16px;
  font-size: 13px;
  margin-top: 2px
}

.office-info-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5
}

.office-info-text a {
  color: var(--text-light);
  transition: color .2s
}

.office-info-text a:hover {
  color: var(--accent)
}

/* Referanslar page */
.ref-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center
}

.ref-tab {
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s
}

.ref-tab:hover,
.ref-tab.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent)
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all .35s var(--ease)
}

.ref-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2)
}

.ref-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--accent-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent)
}

.ref-card-name {
  font-size: 14px;
  font-weight: 700
}

.ref-card-cat {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px
}

/* === RESPONSIVE === */
@media(max-width:1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item:nth-child(2)::after {
    display: none
  }

  .about-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .blog-card:nth-child(n+5) {
    display: none
  }

  .ref-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .solutions-page-grid {
    grid-template-columns: 1fr
  }

  .solutions-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap
  }

  .contact-offices {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  :root {
    --header-h: 68px
  }

  .header {
    padding: 0
  }

  .logo {
    margin-right: auto;
    /* Push toggle and hamburger to the right */
  }

  .theme-toggle {
    margin-left: 0;
    margin-right: 12px;
    /* Space between toggle and hamburger */
  }

  .hamburger {
    display: flex
  }

  /* Conflicting mobile menu styles removed. See MOBILE MENU POLISH block. */

  .section {
    padding: 80px 0
  }

  .container {
    padding: 0 20px
  }

  .solutions-grid {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-item::after {
    display: none
  }

  .stat-num {
    font-size: 32px
  }

  .blog-grid {
    grid-template-columns: 1fr
  }

  .blog-card:nth-child(n+5) {
    display: block
  }

  .test-slide {
    grid-template-columns: 1fr
  }

  .test-card:nth-child(2) {
    display: none
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center
  }

  .tl-item {
    flex: 0 0 220px
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .ref-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 16px
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .about-stats {
    grid-template-columns: 1fr
  }

  .ref-grid {
    grid-template-columns: 1fr
  }
}

/* === MOBILE MENU POLISH === */
@media(max-width:768px) {
  :root {
    --header-h: 68px
  }

  .header {
    background: transparent;
  }

  .header.menu-active {
    background: rgba(11, 13, 17, .98);
  }

  [data-theme="light"] .header.menu-active {
    background: rgba(255, 255, 255, .98);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #0b0d11;
    padding: 120px 24px 24px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    border-left: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1000;
  }

  [data-theme="light"] .nav {
    background: #ffffff;
  }

  .nav.active {
    transform: translateX(0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, .5);
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 12px;
  }

  .nav-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
  }

  /* Stagger animation when active */
  .nav.active .nav-item {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav.active .nav-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav.active .nav-item:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav.active .nav-item:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav.active .nav-item:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav.active .nav-item:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white) !important;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  
  [data-theme="light"] .nav-link {
    color: var(--text-white) !important; /* Force apply theme color */
  }

  .nav-link.active {
    color: var(--accent) !important;
    border-bottom-color: var(--accent);
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile Dropdown Styling */
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-top: 4px;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    border-left: 2px solid rgba(74, 222, 128, 0.4);
  }

  .nav-item.mob-open > .dropdown {
    display: block;
  }

  [data-theme="light"] .dropdown {
    border-left: 2px solid rgba(0, 0, 0, 0.1);
  }

  .dropdown-link {
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--text-light);
  }

  .dropdown-link:hover {
    color: var(--accent);
    background: transparent;
    padding-left: 6px;
    /* Slight nudge */
  }

  .arrow {
    transform: rotate(0deg);
    font-size: 14px;
    opacity: 0.6;
    cursor: pointer;
    padding: 10px 14px;
    margin: -10px -14px -10px 0;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }

  .nav-item.mob-open > .nav-link .arrow {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* =============================================
   FLOATING CALL BUTTON
   ============================================= */
.float-call-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

/* Hide floating button when mobile menu is open */
.header.menu-active ~ .float-call-btn,
body:has(.nav.active) .float-call-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.float-call-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deeper));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  flex-shrink: 0;
  pointer-events: auto;
}

.float-call-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(74, 222, 128, 0.55), 0 4px 12px rgba(0,0,0,0.35);
}

.float-call-trigger svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  transition: transform 0.35s var(--ease);
}

.float-call-trigger.open svg {
  transform: rotate(135deg);
}

/* Pulse ring */
.float-call-trigger::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.4);
  animation: float-pulse 2.2s ease-out infinite;
}

@keyframes float-pulse {
  0%   { transform: scale(0.92); opacity: 0.7; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Contacts popup */
.float-call-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.float-call-contacts.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.float-call-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.1);
  color: #1e293b;
  text-decoration: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.float-call-contact:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 6px 24px rgba(74, 222, 128, 0.45);
}

.float-call-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.float-call-contact:hover .float-call-contact-icon {
  background: rgba(255,255,255,0.25);
}

.float-call-contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  transition: stroke 0.2s;
}

.float-call-contact:hover .float-call-contact-icon svg {
  stroke: #fff;
}

.float-call-contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-call-contact-name {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.float-call-contact:hover .float-call-contact-name {
  color: rgba(255,255,255,0.75);
}

.float-call-contact-number {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.2s;
}

.float-call-contact:hover .float-call-contact-number {
  color: #fff;
}

/* Each contact animates in with stagger */
.float-call-contact:nth-child(1) { transition-delay: 0.02s; }
.float-call-contact:nth-child(2) { transition-delay: 0.06s; }
.float-call-contact:nth-child(3) { transition-delay: 0.10s; }

@media (max-width: 768px) {
  .float-call-btn {
    bottom: 20px;
    right: 16px;
  }
  .float-call-trigger {
    width: 52px;
    height: 52px;
  }
}

/* Service Page Layout — Sidebar is a normal page element, NOT fixed/sticky */
.service-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1440px;
  padding: 0 40px;
}

.service-sidebar {
  /* Normal page flow — scrolls away with the page, does NOT follow */
  position: static;
  flex-shrink: 0;
  width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.service-main {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.service-main h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--accent);
  line-height: 1.4;
  font-weight: 700;
}

.service-main h2:first-child {
  margin-top: 0;
}

.service-main p {
  margin-bottom: 24px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-light);
}

[data-theme="light"] .service-main p {
  color: #475569;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-white);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  display: inline-block;
}

.service-nav {
  list-style: none;
  padding: 0;
  margin: 0 -22px;
}

.service-nav li {
  margin-bottom: 6px;
}

.service-nav li:last-child {
  margin-bottom: 0;
}

.service-nav a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-secondary);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.4;
}

.service-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.service-nav a:hover,
.service-nav a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.service-nav a:hover::before,
.service-nav a.active::before {
  transform: scaleY(1);
}

@media (max-width: 768px) {
  .service-layout {
    flex-direction: column;
    gap: 30px;
  }
  .service-sidebar {
    width: 100%;
    padding: 20px 0;
  }
  .sidebar-title {
    margin-left: 20px;
  }
  .service-nav {
    margin: 0;
  }
  .service-nav a {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 10px;
  }
  .service-main {
    padding: 0;
  }
}

/* Reference Card Image Logo */
.ref-card-logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ref-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}