:root {
    --site-bg: #f6f8fc;
    --site-surface: #ffffff;
    --site-text: #1f2937;
    --site-muted: #6b7280;
    --site-primary: #0f62fe;
    --site-primary-deep: #0b48b5;
    --site-accent: #00a3a3;
    --site-border: #e5eaf2;
    --site-shadow: 0 12px 30px rgba(11, 21, 40, 0.08);
}

html, body {
    background: radial-gradient(circle at 0 0, rgba(15, 98, 254, 0.08), transparent 35%),
        radial-gradient(circle at 100% 0, rgba(0, 163, 163, 0.08), transparent 32%),
        var(--site-bg);
    color: var(--site-text);
    font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Sora", "Nunito Sans", sans-serif;
    letter-spacing: -0.02em;
}

.site-topline {
    background: linear-gradient(135deg, #0c4ec9, #0f62fe);
    color: #eaf1ff;
}

.site-topline .contact-link {
    color: #eaf1ff;
    text-decoration: none;
}

.site-topline .contact-link:hover {
    color: #fff;
}

.site-navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.site-navbar {
    background: rgba(12, 20, 38, 0.86);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 25px rgba(3, 8, 20, 0.2);
}

.site-navbar .nav-link {
    color: #dce6ff;
    padding: .45rem .8rem;
    border-radius: 10px;
    font-weight: 600;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.35);
}

.site-login-btn {
    border-radius: 999px;
    padding: .4rem .9rem;
    font-weight: 700;
}

section {
    position: relative;
}

.card {
    border: 1px solid var(--site-border);
    border-radius: 16px;
    box-shadow: var(--site-shadow);
    overflow: hidden;
}

.card .card-img-top {
    transition: transform .35s ease;
}

.card:hover .card-img-top {
    transform: scale(1.035);
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--site-primary), #2b7bff);
    border: 0;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--site-primary-deep), #0f62fe);
}

.btn-outline-primary {
    border-color: #9fc3ff;
    color: #0f62fe;
}

.btn-outline-primary:hover {
    background: #0f62fe;
    border-color: #0f62fe;
}

.form-control, .form-select {
    border-radius: 12px;
    border-color: #d5ddea;
    min-height: 44px;
}

.form-control:focus, .form-select:focus {
    border-color: #8cb3ff;
    box-shadow: 0 0 0 .2rem rgba(15, 98, 254, 0.15);
}

.table {
    border-color: var(--site-border);
}

.table > :not(caption) > * > * {
    padding: .72rem;
}

.table thead th {
    background: #f8fbff;
    border-bottom: 1px solid var(--site-border);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .4px;
}

.site-footer {
    margin-top: 80px;
    color: #d7e4ff;
    background:
        radial-gradient(circle at 85% -20%, rgba(59, 130, 246, 0.25), transparent 45%),
        linear-gradient(145deg, #0a1a34, #102a54);
}

.site-footer .footer-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 18px;
}

.site-footer .dudi-logo {
    height: 38px;
    border-radius: 8px;
    padding: 5px 8px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
}

.site-footer .muted {
    color: #94a8cf;
}

#heroCarousel .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 8%;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.46);
    background-size: 55% 55%;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.55);
}

#heroCarousel .carousel-indicators .active {
    background-color: #ffffff;
}

.page-hero {
    padding: 3.2rem 0 2rem;
}

.page-hero .hero-box {
    background: linear-gradient(140deg, rgba(15, 98, 254, 0.16), rgba(0, 163, 163, 0.08), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(150, 180, 230, 0.35);
    border-radius: 22px;
    padding: 1.7rem 1.5rem;
    box-shadow: 0 16px 35px rgba(14, 30, 62, 0.07);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.12);
    color: #0f62fe;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .3px;
    padding: .35rem .7rem;
}

.section-title {
    margin-bottom: 1.2rem;
}

.section-title h3, .section-title h4 {
    margin-bottom: .3rem;
}

.section-title p {
    color: var(--site-muted);
    margin-bottom: 0;
}

.soft-block {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(210, 222, 240, 0.7);
    border-radius: 18px;
    backdrop-filter: blur(6px);
}

.media-card .card-body h6,
.media-card .card-body h5 {
    line-height: 1.35;
}

.avatar-frame {
    border-radius: 20px;
    border: 5px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 15px 35px rgba(10, 20, 42, 0.16);
}

.content-prose {
    line-height: 1.9;
    color: #334155;
}

.info-pill {
    border: 1px solid #dbe5f5;
    background: #fff;
    border-radius: 999px;
    padding: .45rem .85rem;
    font-weight: 600;
    color: #334155;
    font-size: .86rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .55s ease forwards;
}

.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px !important;
    left: auto !important;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all .3s ease;
    animation: pulse-wa 2s infinite;
}

.floating-wa:hover {
    color: #fff;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.floating-wa i {
    font-size: 1.5rem;
}

@keyframes pulse-wa {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Card Enhancements */
.card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 21, 40, 0.12);
}

.media-card .card-img-top {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-card:hover .card-img-top {
    transform: scale(1.08);
}

/* Maps & Footer */
.footer-map-container {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.footer-map-container iframe {
    width: 100%;
    height: 350px;
    filter: grayscale(0.2) contrast(1.1);
}

/* Hero Glassmorphism */
.page-hero .hero-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 991.98px) {
    .site-topline .topline-left strong {
        font-size: .95rem;
    }

    #heroCarousel .carousel-item img {
        height: 260px !important;
    }

    .page-hero {
        padding-top: 2.2rem;
    }
}
