﻿/* ── Hero Slider  */
.ramza-hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #032043;
}

/* Track */
.ramza-hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.ramza-hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ramza-hero-slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.ramza-hero-slider__slide.is-active {
  opacity: 1;
}

/* Overlay */
.ramza-hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 80px 0 80px;
}

/* Content */
.ramza-hero-slider__content {
  max-width: 800px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, .35);
  border-radius: 4px;
  padding: 40px 50px;
}

.ramza-hero-slider__title {
  font-family: 'Exo', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}

body.home .ramza-hero-slider__title {
	font-size: 30px;
}

.ramza-hero-slider__subtitle {
  font-family: 'Exo', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.5;
}

.ramza-hero-slider__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.ramza-hero-slider--left  .ramza-hero-slider__cta-group { justify-content: flex-start; }
.ramza-hero-slider--right .ramza-hero-slider__cta-group { justify-content: flex-end; }

.ramza-hero-slider__cta {
  display: inline-block;
  background: #FFFFFF;
  color: #000000 !important;
  font-family: 'Exo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 26px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .2s, transform .15s;
}

.ramza-hero-slider__cta:hover {
  background: #e4e4e4;
  transform: translateY(-1px);
}

.ramza-hero-slider__cta--primary {
  background: #7ab530;
  color: #ffffff !important;
}
.ramza-hero-slider__cta--primary:hover {
  background: #6b942d;
}

.ramza-hero-slider__cta--border {
  background: transparent;
  color: #7ab530 !important;
  border: 2px solid #7ab530;
}
.ramza-hero-slider__cta--border:hover {
  background: rgba(122,181,48,.12);
}

.ramza-hero-slider__cta--border-white {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid #ffffff;
}
.ramza-hero-slider__cta--border-white:hover {
  background: rgba(255,255,255,.15);
}

/* Navigation */
.ramza-hero-slider__nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
}

.ramza-hero-slider__prev,
.ramza-hero-slider__next {
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.ramza-hero-slider__prev:hover,
.ramza-hero-slider__next:hover {
  background: rgba(255,255,255,.4);
}

.ramza-hero-slider__dots {
  display: flex;
  gap: 8px;
}

.ramza-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .15s;
}

.ramza-hero-slider__dot.is-active {
  background: #7ab530;
  transform: scale(1.2);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .ramza-hero-slider { height: 420px; }
  .ramza-hero-slider__overlay { padding: 0 20px; }
  .ramza-hero-slider__content { padding: 24px 20px; max-width: 100%; }
  .ramza-hero-slider__title { font-size: 22px; }
  .ramza-hero-slider__subtitle { font-size: 14px; }
}

@media (max-width: 480px) {
  .ramza-hero-slider { height: 360px; }
  .ramza-hero-slider__title { font-size: 18px; }
  .ramza-hero-slider__nav { bottom: 12px; }
}
