.public-body {
    background: #f8fafc;
    color: #0f172a;
    scroll-behavior: smooth;
}

/* ── PREMIUM NAVBAR ─────────────────────────────────────────── */
.public-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 1px 3px rgba(2, 6, 23, 0.04);
    transition: box-shadow 0.3s ease;
}
.public-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(2, 6, 23, 0.06);
}
.public-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #0f172a !important;
}
.public-navbar .navbar-brand img {
    transition: transform 0.3s ease;
}
.public-navbar .navbar-brand:hover img {
    transform: scale(1.08);
}
.public-navbar .nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569 !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}
.public-navbar .nav-link:hover {
    color: #0ea5a4 !important;
    background: rgba(14, 165, 164, 0.06);
    transform: translateY(-1px);
}
.public-navbar .nav-link.active {
    color: #0ea5a4 !important;
    background: rgba(14, 165, 164, 0.1);
}
.public-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5a4, #0d9488);
    border-radius: 99px;
}
.public-navbar .btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
    transition: all 0.25s ease;
}

/* ── PREMIUM HERO ───────────────────────────────────────────── */
.public-hero {
    border-bottom: 1px solid #e2e8f0;
}
.public-hero .carousel {
    background: #0b1220;
}
.public-hero .carousel-item {
    min-height: 440px;
}
.public-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.public-hero-media img,
.public-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.public-hero-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.public-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px circle at 20% 20%, rgba(14, 165, 164, 0.35), transparent 55%),
                linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.25));
}
.public-hero-content {
    position: relative;
    z-index: 2;
    padding: 72px 0;
    color: #f8fafc;
}
.public-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.public-hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 560px;
}
@media (min-width: 992px) {
    .public-hero .carousel-item {
        min-height: clamp(600px, 70vh, 780px);
    }
    .public-hero-content {
        padding: clamp(96px, 10vh, 144px) 0;
    }
    .public-hero-content h1 {
        font-size: 3.5rem;
    }
}

/* ── PREMIUM STATS SECTION ──────────────────────────────────── */
.public-stats {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(2, 6, 23, 0.04);
    transition: box-shadow 0.3s ease;
}
.public-stats:hover {
    box-shadow: 0 8px 32px rgba(2, 6, 23, 0.06);
}
.public-stats .stat-value {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 2.5rem;
    line-height: 1.05;
    background: linear-gradient(135deg, #0ea5a4, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.public-stats .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 600;
}

/* ── PREMIUM CARDS ──────────────────────────────────────────── */
.public-card, .card.public-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}
.public-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0ea5a4, #0d9488, #4f46e5);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
    border-color: rgba(14, 165, 164, 0.25);
}
.public-card:hover::before {
    opacity: 1;
}
.public-card .fw-semibold {
    font-size: 1.05rem;
    color: #0f172a;
}
.public-card .text-muted {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── HERO CAROUSEL INDICATORS & CONTROLS ────────────────────── */
.public-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin: 0 4px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    opacity: 1;
    transition: all 0.3s ease;
}
.public-hero .carousel-indicators [data-bs-target].active {
    background: #0ea5a4;
    border-color: #0ea5a4;
    width: 28px;
}
.public-hero .btn-outline-light:hover,
.public-hero .btn-outline-light:focus {
    color: #0b1220;
}
.public-hero .carousel-control-prev-icon,
.public-hero .carousel-control-next-icon {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45));
}

/* ── CAROUSEL CARDS (testimonials, posts) ───────────────────── */
.public-carousel-cards .carousel-item {
    padding: 2px;
}
.public-carousel-cards .carousel-control-prev,
.public-carousel-cards .carousel-control-next {
    width: 56px;
    opacity: 1;
}
.public-carousel-cards .public-carousel-control-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 26px;
    transition: all 0.25s ease;
}
.public-carousel-cards .carousel-control-prev:hover .public-carousel-control-icon,
.public-carousel-cards .carousel-control-next:hover .public-carousel-control-icon,
.public-carousel-cards .carousel-control-prev:focus .public-carousel-control-icon,
.public-carousel-cards .carousel-control-next:focus .public-carousel-control-icon {
    background: #0ea5a4;
    border-color: #0ea5a4;
    color: #ffffff;
    transform: scale(1.08);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #0ea5a4 0%, #0d9488 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 165, 164, 0.25);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 164, 0.35);
    transform: translateY(-2px);
    color: #fff;
}
.btn-outline-primary {
    border: 1.5px solid #0ea5a4;
    color: #0ea5a4;
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-primary:hover {
    background: #0ea5a4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 164, 0.25);
}

.link-accent {
    color: #0ea5a4;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}
.link-accent:hover {
    color: #0d9488;
    text-decoration: none;
}
.link-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5a4;
    transition: width 0.25s ease;
}
.link-accent:hover::after {
    width: 100%;
}

/* ── PREMIUM SECTIONS ───────────────────────────────────────── */
.public-section-title {
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}
.public-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5a4, #0d9488);
    border-radius: 99px;
    margin-top: 8px;
}
.public-section-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ── SECTION HEADERS ────────────────────────────────────────── */
.public-section-header {
    margin-bottom: 2rem;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.public-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.1);
    background: #0b1220 !important;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem !important;
}
.public-footer .fw-semibold {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.public-footer .text-muted {
    color: rgba(226, 232, 240, 0.6) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}
.public-footer .link-accent {
    color: #5eead4;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s ease;
}
.public-footer .link-accent:hover {
    color: #0ea5a4;
}
.public-footer .link-accent::after {
    background: #5eead4;
}
.public-footer .footer-divider {
    border-color: rgba(226, 232, 240, 0.08);
    margin: 1.5rem 0;
}
.public-footer .footer-bottom-text {
    color: rgba(226, 232, 240, 0.4);
    font-size: 0.85rem;
}

/* ── PREMIUM DIVIDER ────────────────────────────────────────── */
.public-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 164, 0.2), transparent);
    margin: 3rem 0;
    border: none;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.public-animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
.public-animate-in-delay-1 { animation-delay: 0.1s; }
.public-animate-in-delay-2 { animation-delay: 0.2s; }
.public-animate-in-delay-3 { animation-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .public-stats .stat-value {
        font-size: 1.75rem;
    }
    .public-hero-content h1 {
        font-size: 2rem;
    }
    .public-hero-content p {
        font-size: 1rem;
    }
    .public-card:hover {
        transform: translateY(-2px);
    }
}
