/* ============================================
   ZMLC — Premium Design System
   Gold: #c4a536 / #d4b84a / #e8d08a
   Dark: #0a0a0f / #111118 / #1a1a24
   Mid: #2a2a38 / #363648
   Light: #f8f7f0 / #f0ede0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
    --gold: #c4a536;
    --gold-light: #d4b84a;
    --gold-dim: #8a7325;
    --gold-ultra-light: rgba(196, 165, 54, 0.12);
    --dark: #0a0a0f;
    --dark-2: #111118;
    --dark-3: #1a1a24;
    --dark-mid: #2a2a38;
    --cream: #f8f7f0;
    --cream-2: #f0ede0;
    --text-muted: #6b7280;
    --shadow-gold: 0 0 30px rgba(196, 165, 54, 0.15);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE ===== */
body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: #ffffff;
    color: #1a1a24;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-dim)); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ===== TOP BAR ===== */
.bg-black.text-white.py-2 {
    background: var(--dark) !important;
    border-bottom: 1px solid rgba(196, 165, 54, 0.2);
}

/* ===== NAVIGATION ===== */
header {
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.97) !important;
}

header nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a24 !important;
    transition: var(--transition);
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

header nav a:hover::after,
header nav a.border-gold-500::after {
    width: 100%;
}

header nav a:hover { color: var(--gold) !important; }

/* ===== LOGO ===== */
#logo .bg-black {
    background: linear-gradient(135deg, #1a1a24, #2a2a38) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    border: 1.5px solid rgba(196, 165, 54, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-bg {
    position: relative;
    background: url('../images/hero-bg.jpg') no-repeat center center / cover !important;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle light overlay for text contrast on the image */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.35) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg::after {
    display: none;
}

.hero-bg > * { position: relative; z-index: 2; }

.hero-bg h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 10px rgba(255,255,255,0.4);
}

.hero-bg p.text-gray-200 {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75) !important;
    max-width: 550px;
}

/* Gold accent line under hero heading */
.hero-gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 16px 0 24px 0;
    border-radius: 2px;
}

/* ===== HERO BUTTONS ===== */
.hero-bg a[href="#contact"] {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px !important;
    border-radius: var(--radius-sm) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.25);
    transition: var(--transition);
}
.hero-bg a[href="#contact"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.35);
}

.hero-bg a[href="#practice-areas"],
.hero-bg #hero-portal-btn {
    background: transparent !important;
    border: 1.5px solid rgba(30, 58, 138, 0.5) !important;
    color: #1e3a8a !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px !important;
    border-radius: var(--radius-sm) !important;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.hero-bg a[href="#practice-areas"]:hover {
    background: rgba(30, 58, 138, 0.05) !important;
    border-color: #1e3a8a !important;
    transform: translateY(-2px);
}

/* ===== SECTION HEADINGS ===== */
section h2.text-3xl {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-3);
}

/* Gold underline accent */
.w-20.h-1.bg-gold-500 {
    background: linear-gradient(90deg, var(--gold), rgba(196, 165, 54, 0.3)) !important;
    height: 3px !important;
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
#about {
    background: var(--cream) !important;
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Stats grid */
#about .grid.grid-cols-2 > div {
    background: white;
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(196, 165, 54, 0.12);
    transition: var(--transition);
}
#about .grid.grid-cols-2 > div:hover {
    box-shadow: 0 4px 20px rgba(196, 165, 54, 0.15);
    border-color: rgba(196, 165, 54, 0.3);
    transform: translateY(-2px);
}
#about .grid.grid-cols-2 h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}
#about .rounded-full.bg-gold-100 {
    background: var(--gold-ultra-light) !important;
    border: 1px solid rgba(196, 165, 54, 0.2);
}

/* About partner message card */
#about .bg-white.p-8.shadow-lg {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(196, 165, 54, 0.15) !important;
    box-shadow: var(--shadow-card) !important;
    background: white !important;
}

/* ===== TEAM SECTION (Homepage) ===== */
#team {
    background: #ffffff;
}

#index-team-grid .bg-white.rounded-lg {
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

#index-team-grid .bg-white.rounded-lg:hover {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-4px);
    border-color: rgba(196, 165, 54, 0.2);
}

/* ===== PRACTICE CARDS ===== */
.practice-card {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(0,0,0,0.07) !important;
    box-shadow: var(--shadow-card) !important;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.practice-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-4px);
    border-color: rgba(196, 165, 54, 0.2) !important;
}

.practice-card .rounded-full.bg-blue-50 {
    background: var(--gold-ultra-light) !important;
    border: 1px solid rgba(196, 165, 54, 0.15);
}

.practice-icon { color: var(--gold) !important; }

/* ===== JUDGMENTS SECTION ===== */
#judgments { background: var(--cream) !important; }
#judgments::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
#judgments { position: relative; }

/* ===== TESTIMONIALS ===== */
section.bg-gray-900 {
    background: var(--dark-3) !important;
    position: relative;
}

section.bg-gray-900::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(196, 165, 54, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-card {
    transition: var(--transition) !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(196, 165, 54, 0.1) !important;
    background: rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(4px);
}

.testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-gold) !important;
    border-color: rgba(196, 165, 54, 0.25) !important;
}

/* ===== NEWS CARDS ===== */
.news-card {
    transition: var(--transition) !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: var(--shadow-card) !important;
}

.news-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(196, 165, 54, 0.2) !important;
}

/* ===== CONTACT SECTION ===== */
#contact { background: var(--cream) !important; }

#contact .bg-white.p-8.rounded-lg {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid rgba(196, 165, 54, 0.1);
}

#contact .bg-black.text-white.p-8.rounded-lg {
    background: var(--dark-3) !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(196, 165, 54, 0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

#contact .w-12.h-12.rounded-full.bg-gold-500 {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    box-shadow: 0 4px 16px rgba(196, 165, 54, 0.3);
}

/* Form inputs */
#contact input, #contact textarea {
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid #e5e7eb !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}
#contact input:focus, #contact textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(196, 165, 54, 0.12) !important;
    outline: none !important;
}

/* Submit button */
#contact button[type="submit"] {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: #0a0a0f !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: var(--radius-sm) !important;
    border: none !important;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(196, 165, 54, 0.3);
}

#contact button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 165, 54, 0.4) !important;
}

/* ===== GOLD BUTTON UTILITY ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: #0a0a0f !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(196, 165, 54, 0.2);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 165, 54, 0.35) !important;
    filter: brightness(1.05);
}

/* Black CTA buttons (Meet Full Team, View All etc.) */
.bg-black.hover\:bg-gray-800 {
    background: var(--dark-3) !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1.5px solid rgba(196, 165, 54, 0.2) !important;
    transition: var(--transition);
}
.bg-black.hover\:bg-gray-800:hover {
    background: #252535 !important;
    border-color: rgba(196, 165, 54, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== GOLD BADGE UTILITY ===== */
.bg-gold-500, .bg-gold-100 { background: var(--gold-ultra-light) !important; }
.text-gold-600, .text-gold-500, .text-gold { color: var(--gold) !important; }
.border-gold-500 { border-color: var(--gold) !important; }

/* ===== TEAM IMAGE WRAPPER ===== */
.team-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%;
    background: linear-gradient(160deg, #1a1a24 0%, #2a2a38 100%);
    overflow: hidden;
}

.team-img-wrapper img,
.team-img-wrapper svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center !important;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
    margin: 12px auto 24px auto;
}

/* ===== LAWS PREVIEW FEATURES ===== */
#laws-preview .rounded-full.bg-black {
    background: var(--dark-3) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid rgba(196, 165, 54, 0.15);
}

#laws-preview .rounded-lg.border.border-gray-100 {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    transition: var(--transition);
}
#laws-preview .rounded-lg.border.border-gray-100:hover {
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(196, 165, 54, 0.2) !important;
    transform: translateY(-3px);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .hero-bg { min-height: 70vh; }
    section { overflow-x: hidden; }
    body { overflow-x: hidden; }

    h2 { font-size: 1.65rem !important; }

    #contact .flex.flex-col.lg\:flex-row > div {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-bg h1 { font-size: 1.9rem; line-height: 1.2; }
    .hero-bg p { font-size: 0.9rem; }
    .modal .bg-white {
        margin: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===== SUBTLE ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ===== GOLD GLOW for section separators ===== */
section + section { position: relative; }

/* Smooth reading */
p { line-height: 1.75; }

/* ===== PUBLICATIONS SECTION (homepage) ===== */
#publications {
    background: linear-gradient(180deg, #f2faf6 0%, #ffffff 100%) !important;
    position: relative;
}

#publications::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.15), transparent);
}

#publications::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
}
/* ===== TESTIMONIALS SECTION — 3-COLUMN CAROUSEL & MODAL ===== */
#testimonials-section {
    background: #f0f7f4 !important; /* Refreshing light green aesthetic */
    position: relative;
    padding-bottom: 100px;
}

#testimonials-section h2 {
    color: #0f172a !important;
}

/* 3-Column Viewport & Track */
.testi-viewport {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testi-track-container {
    overflow: hidden;
    padding: 20px 0;
}

.testi-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 24px;
}

.testi-slide {
    flex: 0 0 calc(33.333% - 16px);
    background: #ffffff;
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.testi-slide:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 58, 138, 0.2);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
    .testi-slide { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
    .testi-slide { flex: 0 0 100%; }
    .testi-viewport { padding: 0 16px; }
    .testi-arrow { display: none !important; }
}

.testi-stars {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testi-review {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testi-author {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.testi-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}

.testi-title {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Arrows */
.testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.15);
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.testi-arrow:hover {
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.25);
}

.testi-arrow.prev { left: -10px; }
.testi-arrow.next { right: -10px; }

/* Modal Styles */
.testi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.testi-modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.testi-modal-content {
    background: #000000; /* Pure black as requested */
    border: 1px solid rgba(196, 165, 54, 0.3);
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(196, 165, 54, 0.1);
}

/* Star Picker FIX */
.star-picker {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.sp-star {
    font-size: 1.8rem;
    color: #2a2a38; /* Dark grey when inactive */
    cursor: pointer;
    transition: all 0.2s ease;
}

.sp-star.active {
    color: #c4a536 !important; /* Gold when active */
    text-shadow: 0 0 10px rgba(196, 165, 54, 0.3);
}

.sp-star:hover {
    transform: scale(1.2);
}

/* Submit Button FIX - WHITE TEXT, GOLD BG */
.btn-submit-review {
    grid-column: span 2;
    background: linear-gradient(135deg, #c4a536, #e8d08a) !important;
    color: #ffffff !important; /* High contrast white text */
    font-weight: 800;
    font-size: 0.95rem;
    padding: 16px;
    border-radius: 12px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(196, 165, 54, 0.35);
    margin-top: 10px;
}

.btn-submit-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 165, 54, 0.5);
    filter: brightness(1.1);
}

.btn-submit-review:active {
    transform: translateY(-1px);
}

.btn-submit-review:disabled {
    background: #2a2a38 !important;
    color: #4b5563 !important;
    cursor: not-allowed;
    box-shadow: none;
}

.testi-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.testi-modal-close:hover { color: #ffffff; }

/* Re-using form styles with tweaks */
.testi-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full { grid-column: span 2; }

.testi-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.testi-input {
    width: 100%;
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    transition: border-color 0.3s;
}

.testi-input:focus {
    border-color: #c4a536;
    outline: none;
}

/* Controls */
.testi-controls {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.testi-dots { display: flex; gap: 8px; }

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s;
}

.testi-dot.active {
    width: 24px;
    background: #c4a536;
}

.testi-progress-bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.testi-progress-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0%;
    background: #c4a536;
}

.testi-progress-fill.running { animation: progressFill 5s linear forwards; }
@keyframes progressFill { from { width: 0%; } to { width: 100%; } }

/* ===== HERO SLIDER & CENTERED LOGO ===== */
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroFade 8s infinite; }
.hero-slide:nth-child(1) { background-image: url('../images/hero-bg.jpg'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('../images/hero-bg-2.jpg'); animation-delay: 4s; }
@keyframes heroFade { 0%, 100% { opacity: 0; } 5%, 45% { opacity: 1; } 55%, 95% { opacity: 0; } }
.hero-logo { max-width: 420px; width: 100%; height: auto; margin-bottom: 25px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.08)); }


/* ===== ADVANCED HERO SLIDER SYSTEM ===== */
.hero-bg-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Active content animation */
.hero-slide-item .slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.5s;
}

.hero-slide-item.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo-large {
    max-width: 450px; 
    width: 90%; 
    height: auto; 
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.1));
    margin-bottom: 35px;
}
