/* Premium Hero Slider (Merged) */
.hero-slider-section {
  position: relative;
  height: 90vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  display: flex !important;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Background Image & Ken Burns Effect */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 10s linear;
  transform: scale(1);
  z-index: -1;
}

.hero-slide.is-active::before {
  transform: scale(1.15);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 42, 0.45) 0%, rgba(13, 27, 42, 0.12) 100%);
  z-index: 0;
}

/* Glassmorphism Hero Card */
.hero-card {
  background: rgba(13, 27, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 45px 50px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 680px;
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
  position: relative;
  z-index: 5;
}

.hero-card--transparent {
  background: rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-slide.is-active .hero-card {
  transform: translateX(0);
  opacity: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--white) !important;
  line-height: 1;
  margin: 15px 0 25px;
  letter-spacing: -1.5px;
  font-weight: 800;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-title--compact {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, .88);
  max-width: 580px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-overlay {
  position: absolute;
  right: 60px;
  bottom: 40px;
  display: flex;
  gap: 1px;
  z-index: 20;
  background: rgba(13, 27, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.stat-box {
  padding: 24px 32px;
  min-width: 150px;
  text-align: center;
  position: relative;
  background: transparent;
}

.stat-box h3 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box p {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 0.68rem;
  margin: 0;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 20;
  display: flex;
  gap: 15px;
  align-items: center;
}

.slider-dot {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.slider-dot.is-active {
  background: rgba(255, 255, 255, 1);
  width: 60px;
}

.slider-dot.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--red);
  animation: slideProgress 5s linear forwards;
}

@keyframes slideProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background: var(--red);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav-prev {
  left: 0;
}

.slider-nav-next {
  right: 40px;
}

@media (max-width: 1100px) {
  .hero-slider-section {
    height: 720px;
  }

  .hero-stats-overlay {
    left: clamp(1rem, 4vw, 3rem);
    right: auto;
    bottom: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-card {
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: auto;
    min-height: 860px;
  }

  .hero-slide {
    min-height: 860px;
    align-items: flex-start;
  }

  .hero-card {
    margin-top: 120px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero-card::before {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.5vw, 3.6rem);
    margin-top: 18px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-desc {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-stats-overlay {
    position: static;
    max-width: none;
    margin: 40px auto 0;
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
  }

  .stat-box {
    padding: 24px;
    min-width: 0;
  }

  .stat-box:not(:last-child)::after {
    display: none;
  }

  .stat-box:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-box p {
    overflow-wrap: anywhere;
  }

  .slider-controls {
    left: 24px;
    bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-slider-section {
    min-height: 820px;
  }

  .hero-slide {
    min-height: 820px;
  }

  .hero-card {
    margin-top: 92px;
  }
}

/* Services Hub */
.services-hub {
  padding: 100px 0;
  background: var(--surface);
}

.service-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-hub-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  border-top: 0 solid var(--red);
}

.service-hub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-width: 4px;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  color: var(--red);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.service-hub-card:hover .card-icon {
  transform: scale(1.1);
  color: var(--red-dark);
}

.card-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5px;
}

.service-hub-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--navy);
}

.service-hub-card p {
  color: var(--muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.details-link {
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Why Section */
.why-section {
  padding: 100px 0;
}

.reason-grid-asym {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.reason-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.reason-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 4px;
}

.visual-badge.secondary {
  top: 80px;
  background: var(--red);
}

.reason-checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reason-checklist li {
  display: flex;
  gap: 20px;
}

.check-svg {
  width: 24px;
  height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: var(--white);
}

.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-step {
  text-align: center;
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  color: var(--red);
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

/* Insurance Marquee */
.insurance-marquee {
  padding: 60px 0;
  background: var(--surface);
  overflow: hidden;
}

.marquee-wrapper {
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.marquee-item {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  opacity: 0.2;
  white-space: nowrap;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .reason-grid-asym {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reason-visual {
    width: 100%;
  }

  .before-after-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .service-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-hub-card {
    padding: 28px 24px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .reason-checklist li {
    gap: 14px;
  }

  .reason-checklist strong {
    overflow-wrap: anywhere;
  }

  .reason-checklist p {
    overflow-wrap: anywhere;
  }

  .marquee-item {
    font-size: 1.35rem;
  }
}

@media (max-width: 600px) {
  .process-steps-row {
    grid-template-columns: 1fr;
  }
}

/* 5-Step Process Row */
.process-steps-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.process-card .step-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.process-card:hover .step-badge {
  background: var(--red);
}

.process-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.process-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .process-steps-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .process-steps-5 {
    grid-template-columns: 1fr;
  }
}

/* Featured Case Studies Showcase */
.featured-cases-section {
  padding: 100px 0;
  background: #f8fafc;
}

.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.case-card-home {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-card-home:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.case-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.case-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card-home:hover .case-card-img-wrap img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-metrics-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9), transparent);
  padding: 20px 16px 12px;
  display: flex;
  justify-content: space-around;
  color: var(--white);
}

.metric-pill {
  text-align: center;
}

.metric-pill strong {
  display: block;
  font-size: 1.15rem;
  color: #38bdf8;
  font-family: var(--font-heading);
}

.metric-pill span {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.85;
}

.case-card-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-card-body h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.case-card-body p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-link-btn {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.case-link-btn:hover {
  gap: 10px;
}

@media (max-width: 860px) {
  .case-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Sektörel Hub Grid */
.sector-hub-section {
  padding: 100px 0;
  background: #fff;
}

.sector-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.sector-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sector-card:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 15px 30px rgba(13,27,42,0.15);
}

.sector-icon {
  width: 56px;
  height: 56px;
  background: rgba(220,38,38,0.1);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
  background: var(--red);
  color: #fff;
}

.sector-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sector-card:hover h3 {
  color: #fff;
}

.sector-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.sector-card:hover p {
  color: rgba(255,255,255,0.8);
}

/* Insurance Special Action Box */
.adjuster-action-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #071526 0%, #0d2847 100%);
  color: #fff;
}

.adjuster-action-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 48px;
}

@media (max-width: 860px) {
  .adjuster-action-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}

/* Home FAQ Accordion */
.faq-home-section {
  padding: 100px 0;
  background: #f8fafc;
}

.faq-home-container {
  max-width: 850px;
  margin: 40px auto 0;
}

.faq-home-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-home-item[open] {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.faq-home-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-home-item summary::-webkit-details-marker {
  display: none;
}

.faq-home-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--red);
  transition: transform 0.3s;
}

.faq-home-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-home-answer {
  padding: 0 24px 24px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
