/* ─────────────────────────────────────────────────────────────────
   DigiNotary — Public Marketing Site Styles
   All colour values reference CSS variables from theme.css.
   To retheme the entire site, only edit theme.css.
   ───────────────────────────────────────────────────────────────── */

/* ── Navbar ──────────────────────────────────────────────────────── */
.site-nav {
    background-color: rgba(255, 255, 255, 0.98); /* White */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-nav .navbar-brand img { height: 38px; width: auto; } /* Remove white filter so original logo shows */
.site-nav .nav-link {
    color: var(--color-secondary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1rem !important;
    transition: color 0.2s;
}
.site-nav .nav-link:hover { color: var(--color-primary) !important; }
.site-nav .navbar-toggler { border-color: rgba(0,0,0,0.1); }
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2c0%2c0%2c0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero Section ─────────────────────────────────────────────────── */
.hero-section {
    padding: 8rem 0 6rem;
    background-color: var(--color-secondary);
    /* Gradient tint: Very dark blue on the left (95% opacity), fading to transparent on the right */
    background-image: linear-gradient(to right, rgba(22, 6, 70, 0.95) 0%, rgba(22, 6, 70, 0.7) 45%, rgba(22, 6, 70, 0) 100%), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #FFF;
    position: relative;
}
.hero-isometric-img {
    width: 120%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    transform: translateY(-20px);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(-20px); }
    50% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary-light);
    border: 1px solid rgba(67,192,184,0.30);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}
.hero-title .highlight {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-mid, #7FE0DA));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.hero-card-dot { width: 10px; height: 10px; border-radius: 50%; }

.hero-status-row {
    background: var(--color-primary-light);
    border: 1px solid rgba(67,192,184,0.25);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.hero-status-label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-status-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(67,192,184,0.25);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 20px;
}
.hero-progress-row { margin-top: 1.25rem; }
.hero-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.4rem;
}
.hero-progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.10);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}
.hero-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
}
.hero-stamp {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-teal);
    border: 3px solid var(--color-accent);
}

/* ── Trust Strip ──────────────────────────────────────────────────── */
.trust-strip {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0;
}
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--color-primary-light);
    border: 1.5px solid rgba(67,192,184,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.trust-title { font-size: 0.875rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 2px; }
.trust-desc  { font-size: 0.78rem; color: var(--color-text-muted); margin: 0; }

/* ── Services Section Wrapper ────────────────────────────────────── */
.services-section {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

/* ── Section Labels ───────────────────────────────────────────────── */
.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: block;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* ── Service Cards ────────────────────────────────────────────────── */
.service-card {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover {
    border-color: var(--color-primary-glow);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 52px; height: 52px;
    background: var(--color-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.service-name  { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 0.5rem; }
.service-desc  { font-size: 0.875rem; color: var(--color-text-muted); flex: 1; line-height: 1.6; }
.service-price-row { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); }
.service-from  { font-size: 0.75rem; color: var(--color-text-light); }
.service-price { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }


/* ── How It Works ─────────────────────────────────────────────────── */
.steps-section {
    background: linear-gradient(135deg,
        var(--color-secondary) 0%,
        var(--color-accent)    100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.steps-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(67,192,184,0.10) 0%, transparent 70%);
    top: -200px; right: -100px;
    border-radius: 50%;
}
.step-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: background 0.2s ease;
}
.step-card:hover { background: rgba(255,255,255,0.09); }
.step-number {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-teal);
}
.step-title { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 0.5rem; }
.step-desc  { font-size: 0.875rem; color: rgba(255,255,255,0.60); line-height: 1.6; margin: 0; }

/* ── CTA Section ──────────────────────────────────────────────────── */
.cta-section {
    background-color: var(--color-bg);
    padding: 5rem 0;
}
.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    border-radius: 24px;
    padding: 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    top: -100px; right: -80px;
    border-radius: 50%;
}
.cta-card h2 { color: #fff; font-weight: 800; font-size: 2rem; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.cta-card p  { color: rgba(255,255,255,0.80); font-size: 1rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.cta-card .btn-cta-white {
    background: #fff;
    color: var(--color-primary);
    border: none;
    font-weight: 800;
    padding: 0.875rem 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}
.cta-card .btn-cta-white:hover {
    background: rgba(255,255,255,0.90);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, #D4F3F0 0%, #B8EAE5 100%);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
    color: var(--color-text-muted);
}
.site-footer .footer-logo   { height: 34px; filter: none; mix-blend-mode: normal; margin-bottom: 1rem; }
.site-footer .footer-brand  { font-size: 0.85rem; margin-bottom: 0; color: var(--color-text); }
.site-footer a              { color: var(--color-text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.site-footer a:hover        { color: var(--color-primary); }
.site-footer .footer-divider{ border-color: var(--color-border); margin: 1.5rem 0; }
.site-footer .footer-copy   { font-size: 0.8rem; color: var(--color-text-light); }

/* ── Floating Contact Widget ──────────────────────────────────────── */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: #FFF;
}
.floating-btn svg { width: 26px; height: 26px; }
.btn-whatsapp { background: #25D366; } /* Official WhatsApp green */
.btn-whatsapp:hover { background: #1EBE5D; }
.btn-email { background: var(--color-primary); }
.btn-email:hover { background: var(--color-primary-hover); }

