/*
 * Ajasis Media - Core Redesign Stylesheet (SOHub Style)
 */

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

:root {
  /* Color Tokens */
  --sohub-white: #ffffff;      /* Page Main Background */
  --sohub-black: #1a1a1a;      /* Dark Sections & Loader */
  --sohub-dark-grey: #262626;  /* Dark Capsules & Buttons */
  --sohub-soft-grey: #dbdbdb;  /* Light Capsules & Tag Containers */
  --sohub-grey: #737373;       /* Subheadings & Labels */
  --accent-teal: #c1ff00;      /* Brand Accent (Lime) */
  
  /* Text Highlight Colors */
  --highlight-lime: #c1ff00;
  --highlight-pink: #5c25fb;
  --highlight-cyan: #ff4e00;
  --highlight-orange: #ff4e00;
  --highlight-purple: #5c25fb;
  --highlight-yellow: #ffff00;
  
  /* Fonts */
  --font-title: 'roc-grotesk', sans-serif;
  --font-body: 'roc-grotesk', sans-serif;
  --font-wide: 'roc-grotesk-wide', sans-serif;
  
  /* Heights & Spacings */
  --header-height: 100px;
  
  /* Z-Index Scales */
  --z-base: 1;
  --z-nav: 999;      /* Header on top of overlay */
  --z-overlay: 998;  /* Menu overlay drawer container */
  --z-loader: 1001;  /* Page loader above header */
  --z-cursor: 1002;  /* Custom cursor always on top */
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: var(--sohub-white);
  color: var(--sohub-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background-color: var(--sohub-black);
  color: var(--sohub-white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sohub-white);
}
::-webkit-scrollbar-thumb {
  background: var(--sohub-soft-grey);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sohub-grey);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--sohub-black);
}

p {
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--sohub-grey);
}

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

/* Custom Interactive Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--sohub-black);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12, 16, 22, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.2s ease, background-color 0.2s ease;
}

/* Hover Interactive Cursor Scale */
body.hover-interactive .custom-cursor {
  width: 20px;
  height: 20px;
  background-color: var(--accent-teal);
}
body.hover-interactive .custom-cursor-follower {
  width: 54px;
  height: 54px;
  border-color: var(--accent-teal);
  background-color: rgba(39, 183, 165, 0.08);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Loader Wrapper */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background-color: var(--sohub-black);
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s step-end;
}

.loader-wrapper.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  color: var(--sohub-white);
  width: 120px;
  height: auto;
  opacity: 0;
  transform: scale(0.85);
  animation: logoFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Header pill styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

header .logo {
  display: flex;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform-origin: top center;
}

header .logo.logo-out {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

header .logo img,
#js-header-logo,
.header-logo svg {
  height: 45px; /* Scaled by 1.4x (from 32px) */
  width: auto;
  display: block;
  fill: var(--sohub-black);
}

#js-menu-trigger.menu-active .header-amblem-svg {
  transform: rotate(45deg);
}

.header-pill-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Capsules (SOHub Style Pill Buttons) */
.btn-capsule-light, .btn-capsule-dark {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9999px;
  padding: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1);
}

.btn-capsule-light span:first-child, .btn-capsule-dark span:first-child {
  padding-left: 24px;
  padding-right: 18px;
}

.btn-capsule-light {
  background-color: #f2f2f2;
  color: var(--sohub-black);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.68, 0, 1);
}

.btn-capsule-dark {
  background-color: var(--sohub-black);
  color: var(--sohub-white);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.68, 0, 1);
}

.circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.5);
  overflow: hidden;
}

.btn-capsule-light .circle-icon {
  background-color: var(--sohub-white);
  color: var(--sohub-black);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.5);
}

.btn-capsule-dark .circle-icon {
  background-color: #1E242C;
  color: var(--sohub-white);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.5);
}

/* Capsule Hover scale and inner rotation */
.btn-capsule-light:hover {
  background-color: var(--sohub-black);
  color: var(--accent-teal);
  transform: scale(1.08);
}

.btn-capsule-light:hover .circle-icon {
  background-color: var(--accent-teal);
  color: var(--sohub-black);
}

.btn-capsule-dark:hover {
  color: var(--accent-teal);
  transform: scale(1.08);
}

.btn-capsule-dark:hover .circle-icon {
  background-color: var(--accent-teal);
  color: var(--sohub-black);
}

.btn-capsule-dark:hover .circle-icon svg {
  transform: rotate(90deg);
}

.btn-capsule-light:hover .circle-icon svg {
  animation: slideArrowRight 0.4s ease forwards;
}

@keyframes slideArrowRight {
  49% { transform: translateX(100%); }
  50% { opacity: 0; transform: translateX(-100%); }
  51% { opacity: 1; }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  header {
    height: 80px;
  }
  .btn-capsule-light span:first-child {
    display: none; /* Hide chat text on mobile */
  }
  .btn-capsule-light {
    padding: 6px;
  }
  .btn-capsule-light .circle-icon {
    width: 36px;
    height: 36px;
  }
  .btn-capsule-dark span:first-child {
    padding-left: 16px;
    padding-right: 12px;
  }
  .btn-capsule-dark .circle-icon {
    width: 36px;
    height: 36px;
  }
}

/* Full-Screen Overlay Menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(12, 16, 22, 0.25); /* light dim overlay */
  z-index: var(--z-overlay);
  display: flex;
  align-items: flex-end; /* drawer at the bottom */
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: 
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s step-end;
}

.menu-overlay.menu-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: 
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s step-start;
}

.menu-overlay-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70vh; /* 70% height drawer */
  background-color: var(--sohub-black);
  display: flex;
  flex-direction: column;
  gap: 16px; /* reduced gap */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px 24px 0 0; /* round top corners */
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.menu-overlay.menu-open .menu-overlay-nav {
  transform: translateY(0%);
}

.menu-overlay-link {
  font-family: var(--font-title);
  font-weight: 600; /* set to 600 */
  font-size: 3rem;  /* reduced font-size to fit beautifully */
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--accent-teal); /* #c1ff00 */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  display: flex;
  align-items: baseline;
  cursor: pointer;
}

.menu-overlay-link .menu-num {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(193, 255, 0, 0.35); /* translucent green */
  margin-right: 20px;
  transition: color 0.3s ease;
}

.menu-overlay-link:hover {
  color: var(--sohub-white); /* hovers to white */
  transform: scale(1.05);
}

.menu-overlay-link:hover .menu-num {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .menu-overlay-nav {
    gap: 12px;
  }
  .menu-overlay-link {
    font-size: 2.2rem;
  }
  .menu-overlay-link .menu-num {
    font-size: 0.9rem;
    margin-right: 10px;
  }
}

/* Pages Base Wrapper */
main {
  width: 100%;
  min-height: 100vh;
}

/* ----------------------------------------------------
 * HERO SECTION MODULES (Home, Studio, Contact)
 * ---------------------------------------------------- */
.home-hero, .studio-hero, .contact-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: var(--sohub-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-huge-brand-text {
  position: absolute;
  left: 14vw;
  top: 48%;
  transform: translateY(-50%);
  font-family: var(--font-wide);
  font-size: 27vw;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--sohub-black);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  text-wrap: nowrap;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-huge-brand-text {
    font-size: 28vw;
    left: 10vw;
  }
}

@media (max-width: 768px) {
  .hero-huge-brand-text {
    font-size: 30vw;
    left: 8vw;
  }
}

.hero-bottom-info {
  position: absolute;
  left: 14vw;
  right: 5%;
  bottom: 8%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.hero-scroll-indicator {
  position: absolute;
  left: -10vw;
  bottom: 0;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sohub-grey);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-tagline-text {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--sohub-black);
  text-align: left;
  max-width: 800px;
  text-transform: none;
}

@media (max-width: 1024px) {
  .hero-bottom-info {
    left: 10vw;
  }
  .hero-scroll-indicator {
    left: -7vw;
  }
  .hero-tagline-text {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero-bottom-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    bottom: 5%;
    left: 8vw;
  }
  .hero-scroll-indicator {
    position: static;
    transform: none;
    font-size: 0.85rem;
    margin-top: 15px;
  }
  .hero-tagline-text {
    text-align: left;
    font-size: 1.8rem;
  }
}

/* Studio Hero Centered Layout */
.studio-hero {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.studio-hero-centered-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  width: fit-content;
  max-width: 90vw;
  margin-top: -5vh;
}

.studio-hero-centered-group .hero-huge-brand-text {
  position: static !important;
  transform: none !important;
  margin-bottom: 4.5vw;
}

@media (max-width: 1024px) {
  .studio-hero-centered-group .hero-huge-brand-text {
    font-size: 28vw;
  }
}

@media (max-width: 768px) {
  .studio-hero-centered-group .hero-huge-brand-text {
    font-size: 30vw;
    margin-bottom: 4vw;
  }
  .studio-hero-centered-group {
    max-width: 84vw;
  }
}

/* Centered Antigravity-style Hero Overrides & Additions */
.home-hero {
  justify-content: center;
  text-align: center;
  /* Defer rendering calculations when off-screen to save resources */
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 100vh;
}

#hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Slogan typing page-load hiding state */
body.hero-loading header {
  opacity: 0;
  pointer-events: none;
}
body.hero-loading #hero-particles-canvas {
  opacity: 0;
}

.hero-center-content {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 100%;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  user-select: none;
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-brand-badge.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-brand-amblem {
  height: 48px;
  width: auto;
  display: block;
  animation: amblem-pulse 4s infinite ease-in-out;
}

@keyframes amblem-pulse {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.hero-headline-centered {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--sohub-black);
  margin-bottom: 44px;
  min-height: 2.4em;
  display: block;
  text-align: center;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-headline-centered .line-2 {
    white-space: nowrap;
  }
}

.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  vertical-align: middle;
  margin-left: 6px;
  background: linear-gradient(180deg, #c1ff00 0%, #ff4e00 45%, #5c25fb 100%);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(92, 37, 251, 0.3);
  position: relative;
  animation: cursor-blink 1s step-end infinite;
}

.typewriter-cursor::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5c25fb;
  filter: blur(2.5px);
  opacity: 0.85;
}

@keyframes cursor-blink {
  from, to { opacity: 0 }
  50% { opacity: 1 }
}

/* Slogan Dynamic Word Replacement & Text Highlighting */
.changing-word-holder {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  box-sizing: border-box;
  top: -0.05em; /* Micro-adjust to align capsule text baseline with surrounding text */
}

.changing-word-holder.highlighted-word {
  background-color: rgba(193, 255, 0, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 8px 32px rgba(0, 0, 0, 0.08);
  color: var(--sohub-black);
  padding: 4px 18px;
  border-radius: 12px;
  margin: 0 8px;
  font-weight: 600;
}

.word-text {
  display: inline-block;
  white-space: nowrap;
}

.hero-actions-centered {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-actions-centered.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sohub-black);
  color: var(--sohub-white);
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--sohub-black);
  cursor: pointer;
}

.btn-primary-pill:hover {
  background-color: #c1ff00;
  color: #1a1a1a;
  border-color: #c1ff00;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(193, 255, 0, 0.25);
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 26, 26, 0.04);
  color: var(--sohub-black);
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(26, 26, 26, 0.08);
  cursor: pointer;
}

.btn-secondary-pill:hover {
  background-color: var(--sohub-black);
  color: var(--sohub-white);
  border-color: var(--sohub-black);
  transform: translateY(-2px);
}

.hero-scroll-indicator-centered {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sohub-grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  animation: scroll-bob 2s infinite ease-in-out;
  user-select: none;
}

@keyframes scroll-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 768px) {
  /* Hide the invisible placeholders completely on mobile to prevent layout height discrepancy */
  .hero-headline-centered .line-1 > span:not(.visible-text),
  .hero-headline-centered .line-2 > span:not(.visible-text) {
    display: none !important;
  }

  /* Layout using flex gaps to mathematically equalize the vertical line spacing */
  .hero-headline-centered #typewriter-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important; /* Spacing between Line 1 and Line 2 */
  }

  .hero-headline-centered br {
    display: none !important;
  }

  /* Make line containers block-level and relative flow */
  .hero-headline-centered .line-1,
  .hero-headline-centered .line-2 {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    margin: 0 !important;
  }

  /* Make visible-text containers relative flow, centered flex columns */
  .hero-headline-centered .line-1 .visible-text {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    white-space: nowrap !important;
  }

  .hero-headline-centered .line-2 .visible-text {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    white-space: normal !important;
    gap: 12px !important; /* Spacing between Line 2 (capsule) and Line 3 (dönüştürüyoruz) */
  }

  /* Ensure child elements inside visible texts don't force nowrap */
  .hero-headline-centered .line-2 .visible-text span {
    white-space: normal !important;
  }

  .hero-headline-centered .line-2-end {
    margin: 0 !important;
    display: block !important;
  }

  /* Make the mobile font size larger, similar to desktop scale */
  .hero-headline-centered {
    font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
    font-weight: 600 !important; /* Premium weight as requested */
    min-height: auto !important; /* Let it scale naturally */
    margin-bottom: 40px !important;
  }

  /* Make changing words slightly smaller, keeping them on a single line */
  .changing-word-holder {
    font-size: 0.82em !important;
    white-space: nowrap !important;
  }

  .changing-word-holder .word-text {
    white-space: nowrap !important;
  }

  .changing-word-holder.highlighted-word {
    padding: 4px 18px !important; /* Match desktop exact padding for JS alignment */
    margin: 0 !important; /* Controlled by gap spacing */
    border-radius: 12px;
  }
}

@media (max-width: 580px) {
  .hero-actions-centered {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 0 10px;
  }
  .btn-primary-pill {
    width: 100% !important;
  }
  .btn-secondary-pill {
    width: 70% !important; /* Reduced by 15% from left and right */
  }
}

/* ----------------------------------------------------
 * WORK GRID MODULE (Asymmetric Staggered Grid)
 * ---------------------------------------------------- */
.home-projects, .portfolio-wrap {
  padding: 140px 0;
  background-color: var(--sohub-white);
}

.section-label {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: none; /* Keep sentence case (e.g. Projeler, Hizmetler) */
  color: rgba(26, 26, 26, 0.35); /* Elegant light gray */
  margin-bottom: 16px;
  display: block;
  letter-spacing: -0.01em;
}

.section-main-heading {
  font-family: var(--font-title); /* Use the premium title font */
  font-size: clamp(2.5rem, 4.2vw, 5.8rem); /* Massive premium scale */
  font-weight: 600;
  line-height: 1.05; /* Very tight line height */
  letter-spacing: -0.04em; /* Tight grotesque letter-spacing */
  max-width: 1600px;
  margin-bottom: 80px;
  color: var(--sohub-black);
  text-transform: none;
}

.section-main-heading span.italic-word {
  font-style: normal; /* No italic, match the reference screenshot */
  font-weight: inherit;
  color: rgba(26, 26, 26, 0.35); /* Muted gray for the highlighted word */
}

/* Desktop-only line break helper to ensure 2-line layout on desktop, flowing naturally on mobile */
.desktop-br {
  display: inline;
}

@media (max-width: 991px) {
  .desktop-br {
    display: none;
  }
}

/* Helper to prevent wrapping on desktop viewports */
@media (min-width: 1025px) {
  .nowrap-desktop {
    white-space: nowrap;
    display: inline-block;
  }
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  width: 100%;
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.grid-column.staggered-col {
  margin-top: 120px;
}

.work-card {
  display: block;
  width: 100%;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background-color: #e5e5e5;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(12, 16, 22, 0.03);
}

.work-card-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.work-card-bg-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 16, 22, 0.5) 0%, transparent 60%);
  z-index: 1;
}

.work-card-info-box {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--sohub-white);
}

.work-card-arrow-icon {
  width: 0;
  opacity: 0;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s cubic-bezier(0.22, 0.68, 0, 1), opacity 0.4s ease;
}

.work-card-arrow-icon svg {
  width: 32px;
  height: auto;
  fill: var(--sohub-white);
}

.work-card-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sohub-white);
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1);
}

/* Work Card Hover States */
.work-card:hover {
  transform: scale(1.02);
}

.work-card:hover .work-card-bg-img {
  transform: scale(1.06);
}

.work-card:hover .work-card-arrow-icon {
  width: 36px;
  opacity: 1;
}

@media (max-width: 1024px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-column.staggered-col {
    margin-top: 0;
  }
  .work-card-info-box {
    bottom: 24px;
    left: 24px;
  }
  .work-card-title {
    font-size: 1.8rem;
  }
}

/* ----------------------------------------------------
 * STICKY OVERLAPPING SERVICES STACK MODULE
 * ---------------------------------------------------- */
.home-services {
  padding: 140px 0;
  background-color: var(--sohub-white);
}

.services-stack-wrapper {
  margin-top: 80px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-stack-card {
  position: sticky;
  top: 120px;
  width: 100%;
  aspect-ratio: 16/7.2;
  min-height: 480px;
  border-radius: 40px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--sohub-white);
  box-shadow: 0 -20px 40px rgba(12, 16, 22, 0.05);
}

.service-stack-card.theme-light-card {
  color: var(--sohub-black);
}
.service-stack-card.theme-light-card .service-stack-card-title {
  color: var(--sohub-black);
}
.service-stack-card.theme-light-card .service-stack-card-title span.title-muted {
  color: rgba(26, 26, 26, 0.6);
}
.service-stack-card.theme-light-card .service-tag-pill {
  background-color: rgba(26, 26, 26, 0.08);
  color: var(--sohub-black);
}
.service-stack-card.theme-light-card .service-stack-card-icon {
  color: var(--sohub-black);
}
.service-stack-card.theme-light-card .service-stack-card-description-text {
  color: var(--sohub-black);
}

.service-stack-card-title {
  font-family: var(--font-title);
  font-size: 5vw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--sohub-white);
}

.service-stack-card-title span.title-muted {
  color: rgba(255, 255, 255, 0.5);
}

.service-stack-card-footer {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-stack-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-tag-pill {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 24px;
  background-color: rgba(240, 246, 248, 0.08);
  border-radius: 9999px;
  color: var(--sohub-white);
}

.service-stack-card-description-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-stack-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--sohub-white);
}

.service-stack-card-description-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sohub-white);
  line-height: 1.4;
  max-width: 800px;
}

@media (max-width: 1024px) {
  .service-stack-card {
    aspect-ratio: auto;
    padding: 40px;
    min-height: auto;
    gap: 60px;
  }
  .service-stack-card-title {
    font-size: 3rem;
  }
  .service-stack-card-description-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .service-stack-card-description-box {
    flex-direction: column;
  }
}

/* ----------------------------------------------------
 * CALL TO ACTION (CTA) MODULE
 * ---------------------------------------------------- */
.home-cta {
  padding: 160px 0;
  background-color: var(--sohub-white);
  position: relative;
  overflow: hidden;
}

.cta-centerpiece-bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48vw;
  max-width: 800px;
  pointer-events: none;
  z-index: 1;
}

.cta-centerpiece-bg img {
  width: 100%;
  height: auto;
  animation: floatCenterpiece 8s ease-in-out infinite;
}

.cta-inner-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.cta-heading {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 9.5vw, 9.5rem);
  font-weight: 400; /* Regular, matching the reference image */
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 50px;
  color: var(--sohub-black);
  text-transform: none;
  text-align: center;
  width: 100%;
}

.cta-button-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1024px) {
  .cta-centerpiece-bg {
    width: 60vw;
    opacity: 0.3;
  }
}

/* ----------------------------------------------------
 * FOOTER MODULE
 * ---------------------------------------------------- */
.footer-wrapper {
  padding-top: 140px;
  background-color: var(--sohub-white);
  width: 100%;
  overflow: hidden;
}

/* Background Opacity Logotype */
.footer-bg-logotype {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -50%);
  width: 2500px;
  opacity: 0.05; /* 5% white opacity */
  filter: brightness(0) invert(1); /* Forces SVG to render pure white */
  pointer-events: none;
  z-index: 1;
}

.footer-bg-logotype img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-huge-logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  overflow: hidden;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  margin-bottom: -15px;
  position: relative;
  z-index: 1;
}

.footer-logo-letter {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5vw;
  font-weight: 900;
  color: var(--sohub-black);
  letter-spacing: -0.04em;
  text-transform: lowercase;
  transform: translateY(140px);
  opacity: 0;
}

@media (max-width: 768px) {
  .footer-logo-letter {
    font-size: 10vw;
  }
  .footer-huge-logo {
    margin-bottom: -8px;
  }
}

.footer-main-capsule {
  margin-top: -20px;
  background-color: var(--sohub-black);
  border-radius: 40px 40px 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 40px;
  position: relative;
  z-index: 2;
  color: var(--sohub-white);
  box-shadow: 0 -20px 60px rgba(12, 16, 22, 0.2);
  overflow: visible;
}

.footer-brand-title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sohub-white);
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-sub-label {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--sohub-grey);
  margin-top: 15px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-social-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.social-separator {
  color: rgba(240, 246, 248, 0.3);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.btn-social-icon {
  background-color: var(--sohub-black);
  border: 1px solid rgba(240, 246, 248, 0.15);
  color: var(--sohub-white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.22, 0.68, 0, 1.5), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-social-icon:hover {
  transform: scale(1.15);
  background-color: var(--accent-teal);
  color: var(--sohub-black);
  border-color: var(--accent-teal);
}

.btn-social-icon svg {
  width: 24px;
  height: auto;
}

.footer-navigation-extension {
  width: 100%;
  background-color: var(--sohub-black);
  border-radius: 0 0 40px 40px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  position: relative;
  border-top: 1px solid rgba(240, 246, 248, 0.05);
  box-shadow: 0 10px 30px rgba(12, 16, 22, 0.15);
}

.footer-pills-left {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(240, 246, 248, 0.15);
  border-radius: 9999px;
  padding: 8px 20px;
  color: var(--sohub-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-footer-pill:hover {
  background-color: var(--sohub-white);
  color: var(--sohub-black);
  border-color: var(--sohub-white);
  transform: translateY(-2px);
}

.pill-circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(240, 246, 248, 0.25);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.btn-footer-pill:hover .pill-circle-icon {
  border-color: var(--sohub-black);
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .footer-main-capsule {
    aspect-ratio: auto;
    min-height: auto;
    padding: 60px 20px;
  }
  .footer-brand-title {
    font-size: 3.5rem;
  }
  .footer-sub-label {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }
  .footer-navigation-extension {
    flex-direction: column;
    gap: 30px;
    padding: 24px;
  }
  .footer-ext-links-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* ----------------------------------------------------
 * STUDIO PAGE (views/about.php)
 * ---------------------------------------------------- */
.studio-video {
  margin-top: 80px;
}

.video-player-container {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background-color: var(--sohub-black);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-play-overlay-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.play-button-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(109, 109, 109, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.5);
  color: var(--sohub-white);
}

.play-button-circle svg {
  width: 24px;
  height: auto;
  margin-left: 4px;
}

.video-play-overlay-btn:hover .play-button-circle {
  transform: scale(1.15);
}

/* Drag Bubble services container */
.grav-container {
  position: relative;
  overflow: hidden;
  background-color: var(--sohub-black);
  border-radius: 32px;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.drag-bubble-item {
  position: absolute;
  padding: 16px 40px;
  border-radius: 9999px;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sohub-black);
  cursor: grab;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.22, 0.68, 0, 1.2);
}

.drag-bubble-item:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .drag-bubble-item {
    font-size: 1.4rem;
    padding: 10px 24px;
  }
}

/* Awards / Recognition */
.awards-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 60px;
}

.award-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 48px;
  border-radius: 20px;
  background-color: var(--sohub-soft-grey);
}

.award-title-text {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sohub-black);
}

.award-category-text {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--sohub-grey);
}

/* Methodology Cycle Colors */
.awards-list-wrapper .award-item-row:nth-child(4n + 1) {
  background-color: var(--sohub-black);
}
.awards-list-wrapper .award-item-row:nth-child(4n + 1) .award-title-text {
  color: var(--sohub-white);
}
.awards-list-wrapper .award-item-row:nth-child(4n + 1) .award-category-text {
  color: rgba(255, 255, 255, 0.7);
}

.awards-list-wrapper .award-item-row:nth-child(4n + 2) {
  background-color: #5c25fb; /* Mor */
}
.awards-list-wrapper .award-item-row:nth-child(4n + 2) .award-title-text {
  color: var(--sohub-white);
}
.awards-list-wrapper .award-item-row:nth-child(4n + 2) .award-category-text {
  color: rgba(255, 255, 255, 0.7);
}

.awards-list-wrapper .award-item-row:nth-child(4n + 3) {
  background-color: #ff4e00; /* Turuncu */
}
.awards-list-wrapper .award-item-row:nth-child(4n + 3) .award-title-text {
  color: var(--sohub-white);
}
.awards-list-wrapper .award-item-row:nth-child(4n + 3) .award-category-text {
  color: rgba(255, 255, 255, 0.7);
}

.awards-list-wrapper .award-item-row:nth-child(4n) {
  background-color: #c1ff00; /* Yeşil */
}
.awards-list-wrapper .award-item-row:nth-child(4n) .award-title-text {
  color: var(--sohub-black);
}
.awards-list-wrapper .award-item-row:nth-child(4n) .award-category-text {
  color: rgba(18, 16, 22, 0.65);
}

@media (max-width: 768px) {
  .award-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
  }
  .award-title-text {
    font-size: 1.4rem;
  }
  .award-category-text {
    font-size: 1.1rem;
  }
}

/* Careers rows */
.careers-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.career-item-row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.career-title-capsule {
  flex: 1;
  background-color: var(--sohub-dark-grey);
  color: var(--sohub-white);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
}

.career-title-capsule span {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
}

.career-actions-box {
  display: flex;
  gap: 20px;
  flex: 1;
}

.btn-career-more, .btn-career-apply {
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-career-more {
  flex: 2;
  background-color: var(--sohub-black);
  color: var(--sohub-white);
  gap: 15px;
}

.btn-career-more svg {
  width: 24px;
  height: auto;
  transition: transform 0.4s ease;
}

.btn-career-more:hover svg {
  transform: translate(6px, -6px);
}

.btn-career-apply {
  flex: 3;
  background-color: var(--sohub-soft-grey);
  color: var(--sohub-black);
}

@media (max-width: 1024px) {
  .career-item-row {
    flex-direction: column;
    gap: 16px;
  }
  .career-title-capsule {
    padding: 24px;
  }
  .career-title-capsule span {
    font-size: 1.4rem;
  }
  .career-actions-box {
    width: 100%;
  }
  .btn-career-more {
    display: none; /* Hide on tablet/mobile as apply is enough */
  }
  .btn-career-apply {
    padding: 20px;
    font-size: 1.3rem;
  }
}

/* ----------------------------------------------------
 * CONTACT PAGE MODULE (views/contact.php)
 * ---------------------------------------------------- */
.contact-interactive-panel {
  margin-top: 80px;
  background-color: var(--sohub-soft-grey);
  border-radius: 40px;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-interactive-panel h3 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--sohub-black);
  margin-bottom: 60px;
  max-width: 800px;
}

.contact-interactive-panel h3 span.highlight-lime {
  color: var(--accent-teal);
}

.contact-option-buttons-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-contact-selection {
  background-color: var(--sohub-dark-grey);
  color: var(--sohub-white);
  border: none;
  border-radius: 9999px;
  padding: 20px 48px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.5), background-color 0.3s ease;
}

.btn-contact-selection:hover {
  transform: scale(1.1);
  background-color: var(--sohub-black);
}

@media (max-width: 768px) {
  .contact-interactive-panel {
    padding: 60px 20px;
  }
  .contact-interactive-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .btn-contact-selection {
    font-size: 1.1rem;
    padding: 12px 30px;
  }
}

/* Form inputs matching SOHub style */
.sohub-form-group {
  margin-bottom: 40px;
  position: relative;
}

.sohub-form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(12, 16, 22, 0.2);
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--sohub-black);
  outline: none;
  transition: border-bottom-color 0.4s ease;
}

.sohub-form-input:focus {
  border-bottom-color: var(--sohub-black);
}

.sohub-form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sohub-form-group:focus-within::after {
  width: 100%;
}

/* ----------------------------------------------------
 * REFERENCES & CLIENTS GRID MODULE
 * ---------------------------------------------------- */
.home-references {
  padding: 120px 0;
  background-color: var(--sohub-white);
  border-top: 1px solid rgba(12, 16, 22, 0.05);
}

.references-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
}

.reference-card {
  background-color: #fcfcfc;
  border: 1px solid rgba(12, 16, 22, 0.06);
  border-radius: 20px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.reference-card:hover {
  background-color: var(--sohub-white);
  border-color: rgba(12, 16, 22, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(12, 16, 22, 0.04);
}

.reference-logo-svg {
  width: 70%;
  max-width: 180px;
  height: 50px;
  color: var(--sohub-black);
  fill: var(--sohub-black);
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reference-card:hover .reference-logo-svg {
  opacity: 1.0;
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .references-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .home-references {
    padding: 80px 0;
  }
  .references-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .references-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reference-card {
    height: 150px;
  }
}

@keyframes floatCenterpiece {
  0%, 100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-20px);
  }
}

/* Career Modal Styles */
.career-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(12, 16, 22, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.career-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.career-modal-container {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 80px rgba(12, 16, 22, 0.12);
  border-radius: 32px;
  width: 90%;
  max-width: 620px;
  padding: 50px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.career-modal-backdrop.active .career-modal-container {
  transform: scale(1) translateY(0);
}

.career-modal-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sohub-grey);
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 5;
  padding: 5px;
}

.career-modal-close-btn:hover {
  color: var(--sohub-black);
  transform: rotate(90deg);
}

.modal-form-heading {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 600; /* changed from 800 */
  letter-spacing: -0.03em;
  color: var(--sohub-black);
  margin-bottom: 10px;
  margin-top: 0;
}

.modal-form-subheading {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--sohub-grey);
  margin-bottom: 35px;
}

.form-label-text {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sohub-grey);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* Custom File Upload Styles */
.custom-file-upload {
  width: 100%;
  margin-top: 10px;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: rgba(12, 16, 22, 0.02);
  border: 2px dashed rgba(12, 16, 22, 0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.file-upload-label:hover {
  background-color: rgba(12, 16, 22, 0.04);
  border-color: var(--sohub-black);
}

.file-upload-label .upload-icon {
  width: 32px;
  height: 32px;
  color: var(--sohub-grey);
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.file-upload-label:hover .upload-icon {
  color: var(--sohub-black);
  transform: translateY(-2px);
}

.file-upload-label .upload-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--sohub-grey);
}

.file-name-display {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sohub-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.file-name-display span {
  font-weight: 700;
  color: var(--accent-teal);
  word-break: break-all;
}

/* Textarea styling matching inputs and kurumsal fonts */
.sohub-form-textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(12, 16, 22, 0.2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0;
  font-family: var(--font-body) !important;
  font-size: 1.3rem;
  color: var(--sohub-black);
  outline: none;
  transition: border-bottom-color 0.4s ease;
  resize: vertical;
  height: 120px;
}

.sohub-form-textarea:focus {
  border-bottom-color: var(--sohub-black) !important;
}

.sohub-form-input::placeholder,
.sohub-form-textarea::placeholder {
  font-family: var(--font-body) !important;
  color: rgba(12, 16, 22, 0.4) !important;
  font-weight: 400;
}

/* Service page sub-cards themes */
.service-sub-card {
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--sohub-soft-grey);
}

.service-sub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(12, 16, 22, 0.08);
}

/* 1. Siyah (Black background, white text) */
.service-sub-card.card-theme-black {
  background-color: var(--sohub-black) !important;
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-black h4 {
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-black p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 2. Mor (Purple background, white text) */
.service-sub-card.card-theme-purple {
  background-color: #5c25fb !important;
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-purple h4 {
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-purple p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 3. Turuncu (Orange background, white text) */
.service-sub-card.card-theme-orange {
  background-color: #ff4e00 !important;
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-orange h4 {
  color: var(--sohub-white) !important;
}
.service-sub-card.card-theme-orange p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 4. Yeşil (Green background, black text) */
.service-sub-card.card-theme-green {
  background-color: #c1ff00 !important;
  color: var(--sohub-black) !important;
}
.service-sub-card.card-theme-green h4 {
  color: var(--sohub-black) !important;
}
.service-sub-card.card-theme-green p {
  color: rgba(12, 16, 22, 0.7) !important;
}

/* CSS Scroll Snap for Services Page (Desktop only) */
@media (min-width: 992px) {
  html.services-page-snap {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  .career-modal-container {
    padding: 35px 25px;
    border-radius: 24px;
  }
  .modal-form-heading {
    font-size: 1.8rem;
  }
  .form-row-double {
    flex-direction: column;
    gap: 0 !important;
  }
}
