@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@100;200;300;400;500;600;700&family=Inter:wght@200;300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* Dynamic Orange & Clean White Palette */
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #383e42; /* RAL 7016 Anthracite Grey */
  --text-muted: #64748b;
  --text-heading: #383e42; /* RAL 7016 Anthracite Grey */
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  --primary: #e25303;
  /* DUME Orange */
  --primary-light: #f7661b;
  --primary-glow: rgba(226, 83, 3, 0.15);

  --glass: rgba(255, 255, 255, 0.3);
  --glass-border: rgba(255, 255, 255, 0.4);

  --shadow-premium: 0 25px 50px -12px rgba(226, 83, 3, 0.2);
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glow Orbs - Background Depth */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.orb-1 {
  top: -200px;
  right: -200px;
  animation: float OrbFloat1 20s infinite alternate;
}

.orb-2 {
  bottom: -200px;
  left: -100px;
  animation: float OrbFloat2 25s infinite alternate-reverse;
}

@keyframes OrbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(60px, 80px) scale(1.1);
  }
}

@keyframes OrbFloat2 {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  100% {
    transform: translate(-40px, -60px) scale(1);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Tighter offset for cleaner look */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.container {
  width: min(1300px, calc(100% - 2rem));
  padding-left: 3rem;
  padding-right: 3rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- Premium Header --- */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1300px, calc(100% - 2rem));
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.8rem 3rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(56, 62, 66, 0.08);
}

.site-header.scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(56, 62, 66, 0.12);
  padding: 0.6rem 5%;
}

.site-header.scrolled .brand img {
  width: 2.5cm;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
}

.brand img {
  width: 3.5cm;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 0.1rem;
  align-items: center;
  justify-content: center;
}

/* Nav Links */
.nav-link {
  text-decoration: none;
  color: #383e42; /* RAL 7016 Antrasit */
  font-size: 0.935rem; /* %10 büyütüldü (0.85rem -> 0.935rem) */
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  transition: color 0.3s ease;
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  line-height: 1;
  font-family: "Unica77 Cohere Web", "Inter", "Arial", sans-serif;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: calc(100% - 1.8rem);
  left: 0.9rem;
  height: 1px;
  bottom: 0.15rem;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Chevron rotate on hover */
.nav-chevron {
  font-size: 0.6rem;
  opacity: 0.55;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--primary);
}

/* --- Efektli Butonlar --- */
.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

/* Işık Süzmesi Efekti (Shimmer) */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: 0.7s;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px var(--primary-glow);
}

.btn-outline {
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(to right, #ffffff 45%, rgba(255, 255, 255, 0) 100%),
    url('hero_light.png') no-repeat center right;
  background-size: cover;
}

.hero-content {
  max-width: 1100px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 1.2rem;
  background: rgba(226, 83, 3, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.87rem, 5.5vw, 76px);
  line-height: 1.1;
  color: #000000;
  margin-bottom: 1.5rem;
  font-weight: 200;
  letter-spacing: -0.03em;
}

/* Wave Text Animation style */
.hero .wave-text span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-40px) translateY(15px) rotate(-10deg);
  will-change: transform, opacity;
  color: inherit;
}

.hero .reveal.active h1.wave-text span {
  animation: charWave 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.04s + 0.2s);
}

.hero .reveal.active p.wave-text span {
  animation: charWave 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.02s + 0.8s);
}

.hero h1.wave-text span.space {
  width: 0.6em; /* Opened up space between the two words */
  display: inline-block;
}

.hero p.wave-text span.space {
  width: 0.3em; /* Natural space for paragraph */
  display: inline-block;
}

@keyframes charWave {
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0);
  }
}


@media (min-width: 1025px) {
  .hero h1 {
    white-space: nowrap;
  }
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

/* Kelime altı vurgu efekti */
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(226, 83, 3, 0.15);
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 3rem auto;
  max-width: 800px;
  min-height: 3.5rem; /* Keep height exact for two lines of paragraph text on desktop */
}

.hero p.wave-text {
  font-size: 1.21rem; /* 10% larger than 1.1rem */
  color: var(--text); /* RAL 7016 Anthracite Grey */
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 2.2rem; /* Approximately 1cm gap between buttons */
  flex-wrap: wrap;
}

.hero-slide .btn {
  font-size: 0.7rem;
  padding: 0.55rem 2.2rem; /* Match height of .nav-btn-cta, keep horizontal padding of 2.2rem */
  gap: 0.4rem;
  letter-spacing: 0.06em;
}

/* --- Cards & Grids --- */
section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--white);
  padding: 3.5rem 3rem;
  border-radius: 30px;
  border: 1px solid rgba(242, 101, 34, 0.05);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-15px);
  border-color: rgba(226, 83, 3, 0.2);
  box-shadow: var(--shadow-premium);
}
/* --- Navigation Highlight Pulse --- */
.highlight-pulse {
  animation: pulse-vurgu 1.5s ease-out;
}

@keyframes pulse-vurgu {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.4); }
  30% { transform: scale(1.02); box-shadow: 0 0 25px rgba(227, 30, 36, 0.2); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: radial-gradient(circle at top right, rgba(226, 83, 3, 0.03), transparent);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(226, 83, 3, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

/* --- Reveal Animation --- (Daha Belirgin) */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.3s;
}

.reveal-delay-2 {
  transition-delay: 0.6s;
}

.reveal-delay-3 {
  transition-delay: 0.9s;
}

/* --- Solutions (Branşlar) Section --- */
.solutions-section {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.branch-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.branch-item i {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.8;
  transition: var(--transition);
}

.branch-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.branch-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(226, 83, 3, 0.1);
}

.branch-item:hover i {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .hero {
    background: #ffffff;
    text-align: center;
    padding-top: 110px;
  }
}

/* --- Dropdown Nav --- */
.has-dropdown {
    position: relative;
}

/* Positioning bridge to prevent gap mouseout */
.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: -20px;
    width: calc(100% + 40px);
    height: 3rem;
    background: transparent;
    display: none;
}

.has-dropdown:hover::after {
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #ffffff;
    min-width: 280px;
    border-radius: 20px;
    padding: 0.6rem;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.10),
        0 4px 16px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transition: opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
                visibility 850ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.45s; /* Delays closing by 450ms so mouse has plenty of time to enter dropdown */
    z-index: 999;
}

/* Arrow tip pointing up */
.dropdown-menu::before {
    display: none;
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 2px;
    box-shadow: -1px -1px 3px rgba(0,0,0,0.04);
    z-index: -1;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s; /* Opens instantly */
}

/* Dropdown section header */
.dropdown-header {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem 0.35rem;
    opacity: 0.7;
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 0.4rem 0.75rem;
    border-radius: 1px;
}

/* Dropdown links with icon+text layout */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 12px;
    border-bottom: none;
}

.dropdown-link:hover {
    background: rgba(226, 83, 3, 0.06);
    color: var(--primary);
    padding-left: 1rem;
}

.dropdown-link:hover .dropdown-icon {
    background: var(--primary);
    color: white;
}

.dropdown-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    background: rgba(226, 83, 3, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.dropdown-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
}

.dropdown-link:hover .dropdown-text strong {
    color: var(--primary);
}

.dropdown-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* CTA group in header */
.nav-cta-group {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .nav-cta-group {
        display: none;
    }
}

.nav-btn-online {
    position: relative;
    background: #383e42 !important; /* RAL 7016 Antrasit */
    color: #ffffff !important;
    border: none !important;
    font-family: "Unica77 Cohere Web", "Inter", "Arial", sans-serif;
    font-size: 0.88rem; /* ~14px */
    font-weight: 500;
    height: 40px; /* Yükseklik %10 düşürüldü (44px -> 40px) */
    width: 185px; /* Genişlik %10 düşürüldü (205px -> 185px) */
    padding: 0 !important;
    gap: 0.8rem; /* İkon ve yazı arası açıldı (0.5rem -> 0.8rem) */
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-btn-online:hover {
    background: #383e42 !important; /* Arka plan antrasit kalır */
    color: #f25800 !important; /* Yazı rengi RAL 2004 turuncuya döner */
    transform: translate(2px, -2px); /* Buton hafif sağ-üste kayarak gölgeden ayrışır */
    box-shadow: -8px 8px 22px rgba(242, 88, 0, 0.85), -4px 4px 10px rgba(242, 88, 0, 0.5) !important; /* Sol-alta doğru çift katmanlı yoğun RAL 2004 turuncu ışık gölgesi */
}

/* İkon rengini de aynı şekilde turuncuya döndür */
.nav-btn-online:hover i {
    color: #f25800 !important;
}

.nav-btn-cta {
    font-size: 0.7rem;
    padding: 0.55rem 1.2rem;
    gap: 0.4rem;
    letter-spacing: 0.06em;
}

.footer-btn-contact {
    font-size: 0.7rem;
    padding: 0.5rem 1.1rem;
    gap: 0.4rem;
    letter-spacing: 0.04em;
    text-transform: none;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.footer-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 83, 3, 0.45);
}

/* --- Accordion (SSS) --- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    padding: 0 !important;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: var(--transition);
    background: white;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    font-size: 0.95rem;
    background: white;
}

.accordion-item.active .accordion-content {
    padding: 0 2rem 2rem;
    max-height: 500px;
}

.accordion-item.active .accordion-header {
    color: var(--primary);
}

.accordion-header i {
    transition: transform 0.4s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* --- Tabs --- */
.tab-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.tab-content {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Solution Cards --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    padding: 0 !important;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e25303 0%, #b84200 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.solution-card:hover .card-image img {
    transform: scale(1.06);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 1.4rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-category {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.card-content h3 {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}

.card-content p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-features li {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.card-features li i {
    color: var(--primary);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.solution-card h4 {
    margin-bottom: 0.8rem;
    color: var(--text-heading);
}

/* --- Map & Contact --- */
.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    height: 450px;
    border: 1px solid rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}



/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    opacity: 1;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: var(--primary);
    transform: scale(1.1);
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slider-controls {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.slider-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 100px;
}

.highlight-tag {
    background: rgba(226, 83, 3, 0.15) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(226, 83, 3, 0.25);
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
    }
    .hero-slide {
        padding-top: 1rem;
        padding-bottom: 1rem;
        justify-content: center;
    }
    .hero h1 {
        min-height: auto;
    }
    .hero p {
        min-height: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .slider-controls {
        bottom: 10px;
    }
}

/* Bank Accounts Grid */
.bank-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    justify-content: center;
    margin-top: 3rem;
}
@media (max-width: 991px) {
    .bank-grid-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto 0 auto;
    }
}

/* --- Mega Menu (Cohere-style 3-Column Hizmetler Dropdown) --- */
@media (min-width: 769px) {
    .dropdown-megamenu-parent {
        position: static !important;
    }
    
    .dropdown-menu.megamenu-panel {
        width: 920px;
        max-width: calc(100vw - 4rem);
        padding: 2rem;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        box-sizing: border-box;
        height: 370px; /* Uniform height aligned with Solutions */
    }
    
    .has-dropdown:hover .dropdown-menu.megamenu-panel {
        transform: translateX(-50%) translateY(0);
    }
}

/* --- Çözümler Mega Menu (Cohere-style 3-Column with Visual) --- */
@media (min-width: 769px) {
    .dropdown-menu.cozumler-megamenu-panel {
        width: 920px;
        max-width: calc(100vw - 4rem);
        padding: 2rem;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        box-sizing: border-box;
        height: 370px; /* Uniform height */
    }
    
    .has-dropdown:hover .dropdown-menu.cozumler-megamenu-panel {
        transform: translateX(-50%) translateY(0);
    }
}

.cozumler-megamenu-cols {
    display: grid;
    grid-template-columns: 0.7fr 1.25fr 1.25fr;
    gap: 1.2rem;
    margin-top: -20px; /* Shift grid content up by 20px while keeping popup height fixed */
}

.cozumler-megamenu-col {
    display: flex;
    flex-direction: column;
}

.cozumler-megamenu-visual-col {
    display: flex;
    flex-direction: column;
}

.cozumler-megamenu-visual-card {
    position: relative;
    width: 100%;
    height: 236px; /* Restrict height to align with uniform dropdown */
    min-height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cozumler-megamenu-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cozumler-megamenu-visual-card:hover img {
    transform: scale(1.05);
}

.cozumler-megamenu-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.cozumler-visual-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.cozumler-megamenu-visual-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
    line-height: 1.25;
}

.cozumler-megamenu-visual-overlay p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.35;
}

.cozumler-megamenu-title {
    font-size: 0.8rem; /* %15 smaller than main menu */
    font-weight: 500;
    color: #383e42; /* Antrasit */
    margin-top: 0; /* Reset default browser margin to match visual card alignment */
    margin-bottom: 0.7rem;
    border-bottom: 1px solid rgba(226, 83, 3, 0.1);
    padding-bottom: 0.35rem;
    text-transform: none;
    letter-spacing: normal;
    font-family: "Unica77 Cohere Web", "Inter", "Arial", sans-serif; /* Same as main menu */
}

.cozumler-megamenu-title a {
    color: #383e42; /* Antrasit */
    text-decoration: none;
    transition: color 0.3s ease;
}

.cozumler-megamenu-title a:hover {
    color: var(--primary); /* Hover turns to orange */
}

.cozumler-megamenu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cozumler-megamenu-link-simple {
    display: block;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 9999px;
    transition: all 0.2s ease;
    font-family: "Inter", "Outfit", "Arial", sans-serif;
}

.cozumler-megamenu-link-simple:hover {
    color: var(--primary);
    background: rgba(226, 83, 3, 0.05);
    padding-left: 0.8rem;
}

/* Mobile responsive fallback for Çözümler Mega Menu */
@media (max-width: 1024px) {
    .cozumler-megamenu-visual-col {
        display: block !important;
        margin-bottom: 1.2rem;
    }
    
    .cozumler-megamenu-visual-card {
        height: 140px !important;
    }
    
    .dropdown-menu.cozumler-megamenu-panel {
        position: static;
        width: 100% !important;
        max-width: 100%;
        transform: none !important;
        box-shadow: none;
        padding: 1rem 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        background: transparent;
    }
    
    .mobile-open .dropdown-menu.cozumler-megamenu-panel {
        display: block;
    }
    
    .cozumler-megamenu-cols {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
    
    .cozumler-megamenu-col .cozumler-megamenu-title {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-left: 0.6rem;
    }
    
    .cozumler-megamenu-link-simple {
        padding: 0.4rem 0.6rem;
    }
}

/* --- Şirket Mega Menu (Cohere-style 3-Column with Visual on the Right) --- */
@media (min-width: 769px) {
    .dropdown-menu.sirket-megamenu-panel {
        width: 660px;
        max-width: calc(100vw - 4rem);
        padding: 2rem;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        box-sizing: border-box;
        height: 370px; /* Uniform height */
    }
    
    .has-dropdown:hover .dropdown-menu.sirket-megamenu-panel {
        transform: translateX(-50%) translateY(0);
    }
}

.sirket-megamenu-cols {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 2rem;
    margin-top: -20px; /* Shift content up by 20px to match Hizmetler */
}

.sirket-megamenu-col {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center company links vertically to match image height */
    gap: 0.8rem;
}

.sirket-megamenu-visual-col {
    display: flex;
    flex-direction: column;
}

.sirket-megamenu-visual-card {
    position: relative;
    width: 100%;
    height: 236px; /* Match Solutions visual card height */
    min-height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sirket-megamenu-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sirket-megamenu-visual-card:hover img {
    transform: scale(1.05);
}

.sirket-megamenu-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.sirket-visual-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.sirket-megamenu-visual-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
    line-height: 1.25;
}

.sirket-megamenu-visual-overlay p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.35;
}

.sirket-megamenu-link-main {
    display: block;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 9999px;
    transition: all 0.2s ease;
    font-family: "Inter", "Outfit", "Arial", sans-serif;
    margin-top: 0 !important;
}

.sirket-megamenu-link-main:hover {
    color: var(--primary);
    background: rgba(226, 83, 3, 0.05);
    padding-left: 0.8rem;
}

.sirket-megamenu-sublinks {
    display: none !important;
}

/* Mobile responsive fallback for Şirket Mega Menu */
@media (max-width: 1024px) {
    .sirket-megamenu-visual-col {
        display: block !important;
        margin-top: 1.2rem;
    }
    
    .sirket-megamenu-visual-card {
        height: 140px !important;
    }
    
    .dropdown-menu.sirket-megamenu-panel {
        position: static;
        width: 100% !important;
        max-width: 100%;
        transform: none !important;
        box-shadow: none;
        padding: 1rem 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        background: transparent;
    }
    
    .mobile-open .dropdown-menu.sirket-megamenu-panel {
        display: block;
    }
    
    .sirket-megamenu-cols {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
    
    .sirket-megamenu-link-main {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }
    
    .sirket-megamenu-sublinks {
        padding-left: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .sirket-megamenu-link-sub {
        padding: 0.3rem 0.6rem;
    }
}

/* Align dropdown arrow tips under their respective navigation links on desktop */
@media (min-width: 769px) {
    .dropdown-menu.megamenu-panel::before {
        left: 40% !important;
        transform: translateX(-50%) rotate(45deg);
    }
    
    .dropdown-menu.cozumler-megamenu-panel::before {
        left: 49% !important;
        transform: translateX(-50%) rotate(45deg);
    }
    
    .dropdown-menu.sirket-megamenu-panel::before {
        left: 63% !important;
        transform: translateX(-50%) rotate(45deg);
    }
}

.megamenu-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000; /* Made black as requested */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.08em;
    font-family: "Inter", "Arial", sans-serif;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 83, 3, 0.08);
    padding-bottom: 0.8rem;
    width: 100%;
}

.megamenu-header-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .megamenu-header-arrow {
    transform: translateX(4px);
}

.megamenu-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: -20px; /* Shift red-marked area up by 20px as requested */
}

.megamenu-col {
    display: flex;
    flex-direction: column;
}

.megamenu-visual {
    width: 100%;
    height: 80px; /* Reduced from 98px to fit 370px height */
    border-radius: 12px;
    overflow: hidden;
    margin-top: -3px; /* Shifted 11px up from 0.5rem (8px) */
    margin-bottom: 0.8rem; /* Reduced margin */
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.megamenu-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.megamenu-col:hover .megamenu-visual {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.megamenu-col:hover .megamenu-visual img {
    transform: scale(1.04);
}

.megamenu-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(226, 83, 3, 0.1);
    padding-bottom: 0.3rem;
    text-transform: none; /* Changed to Title Case (first letter capital, others small) */
    letter-spacing: 0.02em;
    font-family: "Inter", "Outfit", "Arial", sans-serif;
}

.megamenu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.megamenu-link-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    padding: 0.4rem 0.6rem; /* Tighter padding to fit 370px height */
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
}

.megamenu-link-item:hover {
    background: rgba(226, 83, 3, 0.06);
}

.megamenu-link-item strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
    font-family: "Inter", "Outfit", "Arial", sans-serif;
}

.megamenu-link-item:hover strong {
    color: var(--primary);
}

.megamenu-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.35;
    font-weight: 400;
    font-family: "Inter", "Outfit", "Arial", sans-serif;
}

/* Responsive (Mobile/Tablet) styling for Megamenu */
@media (max-width: 1024px) {
    .dropdown-menu.megamenu-panel {
        position: static;
        width: 100% !important;
        max-width: 100%;
        transform: none !important;
        box-shadow: none;
        padding: 1rem 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        background: transparent;
    }
    
    .mobile-open .dropdown-menu.megamenu-panel {
        display: block;
    }
    
    .megamenu-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .megamenu-visual {
        display: block !important;
        height: 100px !important;
        border-radius: 12px;
        margin-bottom: 0.6rem;
    }
    
    .megamenu-col-title {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-left: 0.6rem;
    }
    
    .megamenu-link-item {
        padding: 0.4rem 0.6rem;
    }
}

/* --- Modern Responsive Navigation Controls --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }
    
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 24px;
        padding: 1.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        max-height: 75vh;
        overflow-y: auto;
        z-index: 999;
    }
    
    .site-nav.active {
        display: flex;
    }
    
    .site-nav .nav-item {
        width: 100%;
    }
    
    .site-nav .nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        font-size: 0.95rem;
        justify-content: space-between;
    }
    
    .site-nav .nav-link:hover {
        background: rgba(226, 83, 3, 0.06);
        color: var(--primary);
    }
    
    /* Global style to expand dropdown menus on mobile inside site-nav */
    .mobile-open .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0.5rem 1rem !important;
        pointer-events: all !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Hide desktop dropdown indicators and styles */
    .has-dropdown::after {
        display: none !important;
    }
}

/* ==========================================================================
   Subpage Specific Styles (Premium Multi-Page Architecture)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(226, 83, 3, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-block;
  background: rgba(226, 83, 3, 0.15);
  color: var(--primary-light);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(226, 83, 3, 0.3);
}

.page-hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 750px;
  line-height: 1.6;
}

.breadcrumbs {
  margin-top: 2rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.current {
  color: rgba(255, 255, 255, 0.4);
}

.page-content-wrapper {
  padding: 6rem 0;
  background: var(--bg);
}

.detail-card {
  background: var(--bg);
  border: 1px solid rgba(226, 83, 3, 0.08);
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.015);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.detail-card-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
  font-weight: 600;
}

.detail-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.detail-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.detail-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary);
}

.subpage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 991px) {
  .subpage-grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-hero h1 {
    font-size: 2.8rem;
  }
  .detail-card {
    padding: 2rem;
  }
}

/* ==========================================================================
   Cohere-Inspired Premium Cards
   ========================================================================== */
.cohere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.cohere-card {
  position: relative;
  background: #f4f0eb; /* Sleek Cohere sand background */
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  overflow: hidden;
  border: 1px solid rgba(226, 83, 3, 0.05);
}

.cohere-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(226, 83, 3, 0.08);
}

.cohere-card-img-wrap {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cohere-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cohere-card:hover .cohere-card-img-wrap img {
  transform: scale(1.06);
}

.cohere-card-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c2410c; /* Deep premium orange */
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.cohere-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 14px;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.cohere-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cohere-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cohere-card-list li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cohere-card-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.cohere-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-bottom: 8px;
}

.cohere-card-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.cohere-card-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #0f172a;
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.cohere-card:hover .cohere-card-more {
  color: var(--primary);
}

.cohere-card:hover .cohere-card-more::after {
  background-color: var(--primary);
  transform: scaleX(0);
}

/* Curved Cutout on Bottom Right */
.cohere-card-cutout {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 54px;
  background: #ffffff; /* White background matching page body */
  border-top-left-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  pointer-events: none;
}

/* Concave Left Transition Curve */
.cohere-card-cutout::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at top right, transparent 20px, #ffffff 20px);
  pointer-events: none;
}

/* Concave Top Transition Curve */
.cohere-card-cutout::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at bottom left, transparent 20px, #ffffff 20px);
  pointer-events: none;
}

.cohere-card-arrow {
  width: 36px;
  height: 36px;
  background: #f4f0eb; /* Match card default bg */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.cohere-card:hover .cohere-card-arrow {
  transform: scale(1.1) rotate(-45deg);
  background: var(--primary);
  color: #ffffff;
}

/* Responsiveness for Cohere grid */
@media (max-width: 768px) {
  .cohere-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Subpage Slanted Card Slider (Cohere-inspired Customer Stories layout)
   ========================================================================== */
.slider-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.slider-nav-controls {
  display: flex;
  gap: 0.8rem;
}

.slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-nav-btn:hover:not(:disabled) {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: scale(1.05);
}

.slider-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hizmet-slider-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 440px;
}

.slanted-left-underlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  filter: url('#rounded');
  transform: translateX(0);
  transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-left-clip-bg {
  width: 100%;
  height: 100%;
  background: #cbd5e1; /* Sleek light grey border matching mockups */
  clip-path: polygon(0 0, 45.25% 0, 53.25% 100%, 0 100%);
  transition: clip-path 2.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.slanted-left-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  filter: url('#rounded');
  transform: translateX(0);
  transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-left-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(1px 1px, calc(45.25% - 1.2px) 1px, calc(53.25% - 1.2px) calc(100% - 1px), 1px calc(100% - 1px));
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: clip-path 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-card-body {
  width: 100%;
  max-width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slanted-card-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.4s;
}

.slanted-card-title-row i {
  font-size: 2.2rem;
  color: var(--primary);
}

.slanted-card-title-row h3 {
  font-family: "Unica77 Cohere Web", "Inter", "Arial", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.slanted-card-desc {
  font-family: "Inter", "Arial", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.5rem 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.9s;
}

.slanted-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 1.4s;
}

.slanted-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #334155;
  font-family: "Inter", "Arial", sans-serif;
}

.slanted-card-list li i {
  color: var(--primary);
  font-size: 0.85rem;
}

.slanted-card-actions {
  margin-top: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 1.9s;
}

.slanted-right-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: url('#rounded');
  pointer-events: none;
  transform: translateX(0);
  transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-right-clip-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #cbd5e1; /* Sleek light grey border matching left card */
  clip-path: polygon(46.75% 0, 100% 0, 100% 100%, 54.75% 100%);
  transition: clip-path 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-right-clip {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f1f5f9;
  clip-path: polygon(calc(46.75% + 1.2px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) calc(100% - 1px), calc(54.75% + 1.2px) calc(100% - 1px));
  transition: clip-path 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slanted-right-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(0) scale(1);
  transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hizmet-slider-container:hover .slanted-left-clip-bg,
.hizmet-slider-container:hover .slanted-right-clip-bg {
  background: var(--primary); /* Glow border effect on hover */
}

.hizmet-slider-container:hover .slanted-right-clip img {
  transform: translateX(0) scale(1.04);
}

/* Slider Progress/Rank Bar */
.slider-progress-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.slider-progress-container.segmented {
  display: flex;
  gap: 12px;
  width: 320px;
  height: 4px;
  background: transparent;
  margin: 0 auto;
}

.progress-step {
  flex: 1;
  height: 4px;
  background: #cbd5e1; /* Inactive grey */
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-step:hover {
  background-color: #94a3b8; /* darker grey hover */
  transform: scaleY(1.5); /* grow vertically */
}

.progress-step.active:hover {
  transform: scaleY(1.5);
}

.progress-step.active {
  background: var(--primary); /* Active orange */
  box-shadow: 0 0 10px rgba(226, 83, 3, 0.2);
}

/* Fade-In Spot animation (Kept for fallback/compat) */
.hizmet-fade-in {
  animation: hizmetFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hizmetFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Cohere-inspired Transition Classes (Toggled in JS) --- */
.hizmet-slider-container.is-transitioning .slanted-left-underlay,
.hizmet-slider-container.is-transitioning .slanted-left-content {
  transform: translateX(calc(var(--slide-dir, 1) * -5%)) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-right-wrapper {
  transform: translateX(calc(var(--slide-dir, 1) * 15%)) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-left-clip-bg {
  clip-path: polygon(0 0, 78% 0, 78% 100%, 0 100%) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-left-inner {
  clip-path: polygon(1px 1px, calc(78% - 1px) 1px, calc(78% - 1px) calc(100% - 1px), 1px calc(100% - 1px)) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-right-clip-bg {
  clip-path: polygon(82% 0, 100% 0, 100% 100%, 82% 100%) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-right-clip {
  clip-path: polygon(calc(82% + 1px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) calc(100% - 1px), calc(82% + 1px) calc(100% - 1px)) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-right-clip img {
  transform: translateX(calc(var(--slide-dir, 1) * 12%)) scale(1.08) !important;
  transition: none !important;
}

.hizmet-slider-container.is-transitioning .slanted-card-title-row,
.hizmet-slider-container.is-transitioning .slanted-card-desc,
.hizmet-slider-container.is-transitioning .slanted-card-list,
.hizmet-slider-container.is-transitioning .slanted-card-actions {
  opacity: 0 !important;
  transform: translateY(24px) !important;
  transition: none !important;
}

/* Responsive Styles for Slanted Slider */
@media (max-width: 991px) {
  .slider-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hizmet-slider-container {
    flex-direction: column;
    height: auto;
  }
  
  .slanted-left-underlay,
  .slanted-right-wrapper {
    position: relative;
    width: 100%;
    filter: none;
  }
  
  .slanted-left-content {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    filter: none;
  }
  
  .slanted-left-clip-bg,
  .slanted-right-clip-bg {
    display: none;
  }
  
  .slanted-left-inner {
    width: 100%;
    height: auto;
    clip-path: none;
    padding: 2.5rem 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
  }
  
  .slanted-card-body {
    width: 100%;
  }
  
  .slanted-right-wrapper {
    height: 250px;
    margin-top: -1px;
  }
  
  .slanted-right-clip {
    clip-path: none;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e2e8f0;
    border-top: none;
  }
  
  .slanted-card-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .slider-progress-wrapper {
    margin-top: 2rem;
  }
  
  .slider-progress-container.segmented {
    width: 100%;
    max-width: 320px;
  }
  
  /* Mobile Overrides for transitioning state */
  .hizmet-slider-container.is-transitioning .slanted-left-underlay,
  .hizmet-slider-container.is-transitioning .slanted-left-content,
  .hizmet-slider-container.is-transitioning .slanted-right-wrapper {
    transform: none !important;
  }

  .hizmet-slider-container.is-transitioning .slanted-left-clip-bg,
  .hizmet-slider-container.is-transitioning .slanted-left-inner,
  .hizmet-slider-container.is-transitioning .slanted-right-clip-bg,
  .hizmet-slider-container.is-transitioning .slanted-right-clip {
    clip-path: none !important;
  }
  
  .hizmet-slider-container.is-transitioning .slanted-right-clip img {
    transform: none !important;
  }
}

/* ==========================================================================
   Mobile Compatibility & Layout Fixes
   ========================================================================== */
@media (max-width: 1024px) {
    /* 1. Header & Logo Optimization to prevent overflow */
    .site-header {
        padding: 0.6rem 1.25rem !important; /* Reduces horizontal padding from 3rem (48px) to 1.25rem (20px) */
        width: min(1300px, calc(100% - 1.5rem)) !important; /* Gives more horizontal area on small viewports */
        top: 1rem !important;
    }
    
    .brand img {
        height: 48px !important; /* Scales down logo from 75px to fit smaller headers */
    }

    .site-header.scrolled {
        padding: 0.5rem 1.25rem !important;
    }

    .container {
        width: min(1300px, calc(100% - 1.5rem)) !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .site-header.scrolled .brand img {
        height: 42px !important; /* Smaller logo when scrolled */
    }
}

@media (max-width: 991px) {
    /* 2. Stack hardcoded inline grids to 1 column on mobile */
    #hakkimizda .grid,
    #hasar-yonetimi .grid,
    #bilgi-merkezi .grid,
    #iletisim .grid,
    #contactForm,
    .subpage-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Stack inner fields of contact forms */
    #contactForm div[style*="grid-template-columns: 1fr 1fr"],
    #contactForm div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    #contactForm input,
    #contactForm select,
    #contactForm textarea,
    #contactForm button {
        grid-column: span 1 !important;
    }

    /* 3. Optimize Cards & Paddings on mobile */
    .card, 
    .detail-card {
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
    }

    .container {
        width: min(1300px, calc(100% - 1.5rem)) !important;
    }
    
    /* Optimize Section Titles for mobile view */
    section {
        padding: 4rem 0 !important; /* Tighter section paddings */
    }
    
    section h2, 
    .page-hero h1 {
        font-size: 2.2rem !important; /* Scaling down massive titles */
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {
    /* 4. Hasar Yonetimi absolute badge overflow fix */
    #hasar-yonetimi .reveal-delay-1 div[style*="position: absolute"] {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin-top: 1.5rem;
        padding: 1.5rem !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(226,83,3,0.15) !important;
        text-align: center;
        width: 100% !important;
    }
    
    #hasar-yonetimi .reveal-delay-1 div[style*="position: absolute"] a {
        display: inline-block !important;
        margin-top: 0.5rem !important;
    }
}

/* ==========================================================================
   Stripe-style Morphing Dropdown Menu (White Glassmorphism Theme)
   ========================================================================== */

@media (min-width: 1025px) {
    /* Header centering layout override to prevent alignment issues */
    .header-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }
    
    .site-nav {
        display: flex !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .nav-cta-group {
        display: flex !important;
        align-items: center !important;
    }

    /* Hide the original nested dropdown menus on desktop view */
    .site-nav .dropdown-menu {
        display: none !important;
    }

    /* Morphing Wrapper Container */
    #dropdown-wrapper {
        position: absolute;
        top: calc(100% - 10px);
        left: 0;
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translate3d(0, 15px, 0);
        will-change: transform, opacity;
        transition: opacity 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    visibility 1000ms,
                    transform 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    #dropdown-wrapper.open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }

    /* The Morphing Body (Resizes width & height on hover) - White Glassmorphic Premium Theme */
    #dropdown-container {
        transform: scale(0.96) translate3d(0, -8px, 0);
        transform-origin: top center;
        opacity: 0;
        will-change: width, height, transform, opacity;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(30px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(150%) !important;
        border: 1px solid rgba(255, 89, 31, 0.15) !important;
        border-radius: 24px !important;
        box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15),
                    0 15px 30px -10px rgba(255, 89, 31, 0.1),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.6) !important;
        transition: width 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    height 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 220ms ease,
                    box-shadow 1000ms ease,
                    border-color 1000ms ease;
    }

    #dropdown-wrapper.open #dropdown-container {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 1;
        border-color: rgba(255, 89, 31, 0.3) !important;
        box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.2),
                    0 15px 45px -10px rgba(255, 89, 31, 0.2),
                    0 0 60px 2px rgba(255, 89, 31, 0.08),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.6) !important;
    }

    /* Floating Caret/Arrow */
    #dropdown-arrow {
        position: absolute;
        top: -6px;
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.95) !important;
        border-top: 1px solid rgba(255, 89, 31, 0.15) !important;
        border-left: 1px solid rgba(255, 89, 31, 0.15) !important;
        transform: translateX(-50%) rotate(45deg) !important;
        z-index: 10;
        opacity: 0;
        will-change: left, opacity;
        transition: left 1000ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 220ms ease,
                    border-color 1000ms ease;
    }

    #dropdown-wrapper.open #dropdown-arrow {
        opacity: 1;
        border-color: rgba(255, 89, 31, 0.3) !important;
    }

    /* Dropdown Content Colors Inversion (Dark Text for White Glassmorphism) */
    #dropdown-container h3,
    #dropdown-container h3 * {
        color: #64748b !important; /* Muted Slate-500 for headers */
        border-color: rgba(0, 0, 0, 0.08) !important;
    }
    
    #dropdown-container h4,
    #dropdown-container h4 *,
    #dropdown-container .text-white {
        color: #0f172a !important; /* Dark Slate-900 for main names */
        transition: color 0.2s ease;
    }
    
    #dropdown-container p,
    #dropdown-container p *,
    #dropdown-container .text-gray-400,
    #dropdown-container .text-gray-300 {
        color: #475569 !important; /* Slate-600 for descriptions and sub-links */
    }

    #dropdown-container span,
    #dropdown-container span * {
        color: #1e293b !important; /* Dark Slate-800 for links/spans */
    }

    #dropdown-container a,
    #dropdown-container a *,
    #dropdown-container .hover\:text-white:hover,
    #dropdown-container a.hover\:text-white:hover {
        text-decoration: none !important;
    }

    /* Specific Link Hover States */
    #dropdown-container a:not(.group\/visual-card):not(.group\/visual-card-sirket) {
        color: #334155 !important;
    }
    
    #dropdown-container a:not(.group\/visual-card):not(.group\/visual-card-sirket):hover,
    #dropdown-container a:not(.group\/visual-card):not(.group\/visual-card-sirket):hover *,
    #dropdown-container .text-gray-300:hover,
    #dropdown-container .text-gray-400:hover {
        background-color: rgba(0, 0, 0, 0.04) !important;
        color: #ff591f !important;
    }

    #dropdown-container a:hover h4,
    #dropdown-container a:hover h4 *,
    #dropdown-container .group\/hizmet:hover h4,
    #dropdown-container .group\/hizmet:hover h4 * {
        color: #ff591f !important; /* Brand Orange */
    }

    #dropdown-container .group\/hizmet:hover h4.group-hover\/hizmet\:text-purple-400,
    #dropdown-container .group\/hizmet:hover h4.group-hover\/hizmet\:text-purple-400 * {
        color: #a855f7 !important; /* Purple-500 */
    }

    #dropdown-container a:hover span,
    #dropdown-container a:hover span * {
        color: #ff591f !important;
    }
    
    #dropdown-container i.text-brand-orange,
    #dropdown-container i.text-purple-400,
    #dropdown-container i.text-cyan-400 {
        filter: saturate(1.2) contrast(1.1);
    }
    
    #dropdown-container .group\/visual-card h4,
    #dropdown-container .group\/visual-card h4 *,
    #dropdown-container .group\/visual-card p,
    #dropdown-container .group\/visual-card p *,
    #dropdown-container .group\/visual-card span,
    #dropdown-container .group\/visual-card span *,
    #dropdown-container .group\/visual-card-sirket h4,
    #dropdown-container .group\/visual-card-sirket h4 *,
    #dropdown-container .group\/visual-card-sirket p,
    #dropdown-container .group\/visual-card-sirket p *,
    #dropdown-container .group\/visual-card-sirket span,
    #dropdown-container .group\/visual-card-sirket span * {
        color: #ffffff !important;
    }
    
    #dropdown-container .group\/visual-card span.text-brand-orange,
    #dropdown-container .group\/visual-card-sirket span.text-brand-orange {
        color: #ff591f !important;
    }

    /* Dropdown Section Sizing and Animation positioning */
    .dropdown-section {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        pointer-events: none;
        will-change: transform, opacity;
        transition: opacity 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .dropdown-section.active {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
        z-index: 10;
    }

    /* Transition animations */
    .dropdown-section.slide-right {
        animation: slideInRight 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .dropdown-section.slide-left {
        animation: slideInLeft 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .dropdown-section.fade-out-left {
        opacity: 0;
        pointer-events: none;
        transform: translate3d(-24px, 0, 0) scale(0.97);
    }

    .dropdown-section.fade-out-right {
        opacity: 0;
        pointer-events: none;
        transform: translate3d(24px, 0, 0) scale(0.97);
    }

    @keyframes slideInRight {
        0% {
            opacity: 0;
            transform: translate3d(24px, 0, 0) scale(0.97);
        }
        100% {
            opacity: 1;
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    @keyframes slideInLeft {
        0% {
            opacity: 0;
            transform: translate3d(-24px, 0, 0) scale(0.97);
        }
        100% {
            opacity: 1;
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    /* Reset default styling inside morphing container */
    #dropdown-container .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        transition: none !important;
    }

    #dropdown-container .dropdown-menu > div {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Specific Widths for each dropdown content column wrapper */
    #dropdown-services .dropdown-content-inner {
        width: 660px;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    #dropdown-services .grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    #dropdown-services .grid > a,
    #dropdown-services .grid > div {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #dropdown-solutions .dropdown-content-inner {
        width: 820px;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    #dropdown-solutions .grid {
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    #dropdown-solutions .col-span-4 {
        grid-column: span 4 / span 4 !important;
    }

    #dropdown-solutions .group\/visual-card {
        aspect-ratio: 4 / 5 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    #dropdown-company .dropdown-content-inner {
        width: 520px;
        padding: 1.25rem;
        box-sizing: border-box;
    }

    #dropdown-company .grid {
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    #dropdown-company .col-span-6 {
        grid-column: span 6 / span 6 !important;
    }

    #dropdown-company .group\/visual-card-sirket {
        aspect-ratio: 4 / 3 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }
    
    /* Ensure content displays fully */
    .dropdown-content-inner {
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-link.active-nav {
        color: var(--primary) !important;
    }
    .nav-link.active-nav::after {
        transform: scaleX(1) !important;
        transform-origin: bottom left !important;
    }
    .dropdown-section.hidden-state {
        display: none !important;
    }
}