/* ============================================================
   MDK Hero Slider — Frontend Styles
   ============================================================ */

.mdk-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* ── Images ─────────────────────────────────────────────── */
.mdk-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--mdk-transition, 0.7s) ease;
}

.mdk-slide-img.active  { opacity: 1; }
.mdk-slide-img.inactive { opacity: 0; }

/* Slide animation variants */
.mdk-slide-anim-slide .mdk-slide-img.inactive {
    transform: translateX(-100%);
    opacity: 1;
}
.mdk-slide-anim-slide .mdk-slide-img.active {
    transform: translateX(0);
    opacity: 1;
}
.mdk-slide-anim-zoom .mdk-slide-img.active {
    animation: mdkZoomIn var(--mdk-transition, 0.7s) ease both;
}

/* ── Overlays ────────────────────────────────────────────── */
.mdk-overlay1,
.mdk-overlay2 {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.mdk-overlay1 {
    background: rgba(18, 40, 100, 0.60);
}
.mdk-overlay2 {
    background: linear-gradient(to top, rgba(18,40,100,0.80), transparent, rgba(18,40,100,0.30));
}

/* ── Content Layout ─────────────────────────────────────── */
.mdk-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 96px 96px 32px 96px;
}

.mdk-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 768px;
}

/* ── Subtitle ───────────────────────────────────────────── */
.mdk-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* ── Title ──────────────────────────────────────────────── */
.mdk-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    white-space: pre-line;
    margin: 0;
}

/* ── Description ────────────────────────────────────────── */
.mdk-description {
    margin-top: 20px;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 576px;
}

/* ── CTA Button ─────────────────────────────────────────── */
.mdk-cta-wrap {
    margin-top: 32px;
}

.mdk-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 9999px;
    padding: 12px 12px 12px 32px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.mdk-cta-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.mdk-cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a3a8f;
    color: #ffffff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mdk-cta-btn:hover .mdk-cta-arrow {
    transform: translate(2px, -2px);
}

/* ── Bottom Bar ─────────────────────────────────────────── */
.mdk-bottom-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

/* ── Stats ──────────────────────────────────────────────── */
.mdk-stats {
    display: flex;
    align-items: center;
    gap: 48px;
}

.mdk-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.mdk-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    margin-bottom: 0;
}

/* ── Scroll Down ────────────────────────────────────────── */
.mdk-scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* ── Dots ───────────────────────────────────────────────── */
.mdk-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mdk-dot {
    height: 8px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.4);
    padding: 0;
}

.mdk-dot.active {
    width: 32px;
    background: #ffffff;
}

.mdk-dot:not(.active) {
    width: 8px;
}

.mdk-dot:not(.active):hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ── Text Animations ────────────────────────────────────── */

/* fadeInUp (default) */
[data-text-anim="fadeInUp"] .mdk-subtitle,
[data-text-anim="fadeInUp"] .mdk-title,
[data-text-anim="fadeInUp"] .mdk-description,
[data-text-anim="fadeInUp"] .mdk-cta-btn {
    animation: mdkFadeInUp 0.7s ease-out both;
}
[data-text-anim="fadeInUp"] .mdk-title       { animation-delay: 0.08s; }
[data-text-anim="fadeInUp"] .mdk-description { animation-delay: 0.16s; }
[data-text-anim="fadeInUp"] .mdk-cta-btn     { animation-delay: 0.28s; }

/* fadeIn */
[data-text-anim="fadeIn"] .mdk-subtitle,
[data-text-anim="fadeIn"] .mdk-title,
[data-text-anim="fadeIn"] .mdk-description,
[data-text-anim="fadeIn"] .mdk-cta-btn {
    animation: mdkFadeIn 0.7s ease-out both;
}
[data-text-anim="fadeIn"] .mdk-title       { animation-delay: 0.08s; }
[data-text-anim="fadeIn"] .mdk-description { animation-delay: 0.16s; }
[data-text-anim="fadeIn"] .mdk-cta-btn     { animation-delay: 0.28s; }

/* fadeInLeft */
[data-text-anim="fadeInLeft"] .mdk-subtitle,
[data-text-anim="fadeInLeft"] .mdk-title,
[data-text-anim="fadeInLeft"] .mdk-description,
[data-text-anim="fadeInLeft"] .mdk-cta-btn {
    animation: mdkFadeInLeft 0.7s ease-out both;
}
[data-text-anim="fadeInLeft"] .mdk-title       { animation-delay: 0.08s; }
[data-text-anim="fadeInLeft"] .mdk-description { animation-delay: 0.16s; }
[data-text-anim="fadeInLeft"] .mdk-cta-btn     { animation-delay: 0.28s; }

/* slideInUp */
[data-text-anim="slideInUp"] .mdk-subtitle,
[data-text-anim="slideInUp"] .mdk-title,
[data-text-anim="slideInUp"] .mdk-description,
[data-text-anim="slideInUp"] .mdk-cta-btn {
    animation: mdkSlideInUp 0.7s ease-out both;
}
[data-text-anim="slideInUp"] .mdk-title       { animation-delay: 0.08s; }
[data-text-anim="slideInUp"] .mdk-description { animation-delay: 0.16s; }
[data-text-anim="slideInUp"] .mdk-cta-btn     { animation-delay: 0.28s; }

/* ── Keyframes ──────────────────────────────────────────── */
@keyframes mdkFadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes mdkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes mdkFadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes mdkSlideInUp {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes mdkZoomIn {
    from { transform: scale(1.08); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1023px) {
    .mdk-content { padding: 80px 64px 28px 64px; }
    .mdk-stats { gap: 32px; }
}

@media (max-width: 767px) {
    .mdk-content { padding: 72px 24px 24px 24px; }
    .mdk-stats { display: none; }
    .mdk-scroll-down { display: none; }
}

@media (max-width: 480px) {
    .mdk-content { padding: 64px 20px 20px 20px; }
    .mdk-cta-btn { padding: 10px 10px 10px 20px; font-size: 0.8rem; }
}
