/* =====================================================
   RENUED — BRAND & CORE DESIGN SYSTEM
   Brand Colors: #039ecd (Primary) & #02b1cb (Secondary)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary:        #039ecd;
    --primary-hover:  #028daa;
    --secondary:      #02b1cb;
    --primary-soft:   #e8f7fb;
    --primary-soft-border: #b3e8f4;
    --primary-glow:   rgba(3, 158, 205, 0.25);

    /* Legacy aliases – keeps old component references working */
    --primary-green:   #039ecd;
    --secondary-green: #028daa;
    --light-mint:      #e8f7fb;
    --light-mint-border: #b3e8f4;
    --dark-green:      #0b1e2d;
    --darker-green:    #071520;

    /* Text */
    --primary-text:   #0f172a;
    --secondary-text: #6B7280;
    --muted-text:     #9CA3AF;

    /* Borders & Surfaces */
    --border:        #E8ECEF;
    --border-light:  #F3F4F6;
    --white:         #FFFFFF;
    --bg-page:       #FFFFFF;

    /* Badges */
    --success-badge-bg:      #E8FBF0;
    --success-badge-text:    #1E8746;
    --pending-badge-bg:      #FEF3C7;
    --pending-badge-text:    #D97706;
    --info-badge-bg:         #DBEAFE;
    --info-badge-text:       #2563EB;
    --danger-badge-bg:       #FEE2E2;
    --danger-badge-text:     #DC2626;

    /* Gradients */
    --primary-gradient:       linear-gradient(135deg, #039ecd 0%, #02b1cb 100%);
    --primary-gradient-hover: linear-gradient(135deg, #028daa 0%, #039ecd 100%);
    --hero-blob-gradient:     radial-gradient(circle, rgba(232, 247, 251, 0.9) 0%, rgba(255,255,255,0) 70%);

    /* Radii */
    --card-radius:   18px;
    --button-radius: 12px;
    --input-radius:  12px;
    --badge-radius:  9999px;

    /* Shadows */
    --soft-shadow:       0 4px 20px rgba(0, 0, 0, 0.05);
    --soft-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.09);
    --card-shadow:       0 4px 20px rgba(18, 18, 18, 0.04);
    --dropdown-shadow:   0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover:      0 12px 24px -6px rgba(3, 158, 205, 0.18);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--primary-text);
    background-color: var(--bg-page);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--primary-text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-title .text-green,
.hero-title .text-primary-brand,
.text-highlight-green,
.text-highlight-brand {
    color: var(--primary);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
}

p {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--secondary-text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Container */
.container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Spacing */
.section-py {
    padding-top: 42px;
    padding-bottom: 42px;
}

.section-py-sm {
    padding-top: 26px;
    padding-bottom: 26px;
}

.bg-mint {
    background-color: var(--light-mint);
}

.bg-white {
    background-color: #FFFFFF;
}

/* ── Header & Navbar ── */
.renued-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 68px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand-logo {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.navbar-brand:hover .navbar-brand-logo {
    transform: scale(1.02);
}

.footer-brand-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .navbar-brand-logo {
        height: 32px;
    }
}

.logo-tile {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 19px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: var(--primary-text);
    letter-spacing: -0.02em;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--secondary-text) !important;
    padding: 6px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* Mobile Drawer hidden by default */
.renued-nav-collapse {
    display: none;
}

/* ── Footer ── */
.renued-footer {
    background-color: #f0f9fb;
    border-top: 1px solid var(--border);
    padding-top: 44px;
    padding-bottom: 24px;
    position: relative;
    z-index: 2;
}

.footer-col-title {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--secondary-text);
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.newsletter-input-group {
    display: flex;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--button-radius);
    padding: 3px;
    margin-top: 12px;
}

.newsletter-input-group input {
    border: none;
    outline: none;
    padding: 7px 12px;
    font-size: 13.5px;
    width: 100%;
    border-radius: var(--button-radius);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--secondary-text);
}
