/* ============================================================
   CARENTFY PUBLIC SITE — Design System
   ============================================================ */

:root {
    --primary: #1e3a5f;
    --primary-light: #2563eb;
    --primary-dark: #0f1f36;
    --secondary: #f59e0b;
    --accent: #2563eb;
    --success: #10b981;
    --dark: #1f2937;
    --light: #f3f4f6;
}

* { font-family: 'Poppins', sans-serif; }
body { background: #fff; color: var(--dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-modern {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-modern .navbar-brand {
    font-weight: 700; font-size: 1.4rem; color: var(--primary);
}
.navbar-modern .navbar-brand i { color: var(--secondary); }
.navbar-modern .nav-link {
    color: var(--dark); font-weight: 500; font-size: 0.9rem;
    margin: 0 0.3rem; transition: all 0.3s; position: relative;
}
.navbar-modern .nav-link:hover { color: var(--primary); }
.navbar-modern .nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 50%;
    transform: translateX(-50%); width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
}
.navbar-modern .nav-link:hover::after,
.navbar-modern .nav-link.active::after { width: 70%; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none; color: white; padding: 0.5rem 1.3rem;
    border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    transition: all 0.3s; box-shadow: 0 4px 15px rgba(30, 58, 95, 0.25);
}
.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35); color: white;
}

/* ============================================================
   SHARED PAGE HEADER — All inner pages
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 80px 0 50px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -30%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800; letter-spacing: -0.5px;
}
.page-hero p { opacity: 0.8; font-size: 1rem; }
.page-hero .breadcrumb { font-size: 0.8rem; opacity: 0.6; }
.page-hero .breadcrumb a { color: white; text-decoration: none; }

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.sec-tag {
    display: inline-block; background: rgba(37,99,235,0.08); color: var(--accent);
    padding: 5px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.sec-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800;
    letter-spacing: -0.5px; line-height: 1.15; color: var(--primary);
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px; position: relative; overflow: hidden;
}
.cta-block::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    border-radius: 50%;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(25px); transition: all 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .navbar-modern .navbar-collapse {
        background: #fff; padding: 1rem; border-radius: 10px;
        margin-top: 0.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .navbar-modern .nav-link { margin: 0.3rem 0; }
    .page-hero { padding: 60px 0 40px; }
}
@media (max-width: 767px) {
    .page-hero { padding: 50px 0 30px; margin-bottom: 2rem; }
    .page-hero h1 { font-size: 1.4rem; }
}
