/* =========================================
   1. GLOBAL SETTINGS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- COLOR PALETTE (Green Theme) --- */
    --primary-color: #22c55e;      /* Green 500 */
    --primary-dark: #16a34a;       /* Green 600 */
    --text-dark: #0f172a;          /* Slate 900 */
    --text-muted: #64748b;         /* Slate 500 */
    
    /* Backgrounds */
    --bg-surface: #ffffff;
    --bg-background: #f8fafc;
    --hero-bg-1: #f0fdf4;          /* Very light green */
    --hero-bg-2: #f8fafc;          /* Slate 50 */

    /* Derived Helpers */
    --primary-glow: rgba(34, 197, 94, 0.25);
    --primary-subtle: #dcfce7;     /* Light Green background for icons */
    
    /* Glassmorphism Variables */
    --glass-surface: rgba(255, 255, 255, 0.70);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(22, 163, 74, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-background);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   2. MAIN LAYOUT & BACKGROUNDS
   ========================================= */
/* The wrapper that holds the mesh gradient for the whole page */
main, .main-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    
    /* Mesh Gradient Background */
    background-color: var(--bg-background);
    background-image: 
        radial-gradient(circle at 10% 20%, var(--hero-bg-1), transparent 40%),
        radial-gradient(circle at 90% 80%, var(--hero-bg-1), transparent 40%);
    background-attachment: fixed;
}

/* Floating Ambient Glow Blob */
main::before, .main-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 800px;
    height: 800px;
    background: var(--primary-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

/* Utilities for section backgrounds */
.bg-surface {
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.bg-transparent {
    background-color: transparent !important;
}

.bg-light-subtle {
    background-color: #f8fafc;
}

/* =========================================
   3. TYPOGRAPHY & BUTTONS
   ========================================= */
.hero-heading {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text-dark) 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-custom {
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color);
}

/* Modern Button */
.btn-modern {
    background: var(--bg-surface);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hover-scale { transition: transform 0.2s; }
.hover-scale:hover { transform: translateY(-3px); }

/* =========================================
   4. COMPONENT: INTERACTIVE VALUE CARDS
   ========================================= */
.value-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0; 
    border-radius: 24px;
    padding: 2.5rem 2rem;
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Hover State */
.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -15px rgba(34, 197, 94, 0.25);
}

/* Background Fill Effect */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-bg-1) 0%, #ffffff 100%);
    transition: width 0.4s ease;
    z-index: -1;
    opacity: 0.5;
}
.value-card:hover::before { width: 100%; }

/* Icon Styling (Squircle) */
.icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--hero-bg-1); 
    color: var(--primary-color);
    border-radius: 18px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

/* Icon Hover Pop */
.value-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.4);
}

/* =========================================
   5. COMPONENT: CRM LIST & IMAGES
   ========================================= */
/* CRM Images with Blob Decoration */
.mission-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible; 
}
.mission-img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255,255,255,0.6);
    transition: transform 0.4s ease;
}
.mission-img-wrapper:hover .mission-img { transform: scale(1.02); }

/* Decorative Blob */
.mission-img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.15;
    border-radius: 24px;
    z-index: -1;
    transform: rotate(3deg);
    transition: transform 0.4s ease;
}
.mission-img-wrapper:hover::before { transform: rotate(5deg) scale(1.02); }

/* CRM Benefit List */
.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.benefit-icon-box {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-subtle);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   6. COMPONENT: CTA SECTION
   ========================================= */
.cta-glass-section {
    position: relative;
    background: linear-gradient(135deg, #07742f 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(22, 163, 74, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}
.cta-shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.cta-shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }

/* =========================================
   7. ANIMATIONS & RESPONSIVENESS
   ========================================= */
@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

@media (max-width: 991.98px) {
    .hero-heading { font-size: 2.5rem; }
    .mission-img-wrapper { margin-top: 3rem; }
    .mission-img-wrapper::before { right: -10px; top: 10px; }
}

@media (max-width: 576px) {
    .hero-heading { font-size: 2.25rem; }
    .cta-glass-section { padding: 2rem !important; }
}
.bento-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    overflow: hidden; /* Keeps content inside rounded corners */
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1) !important;
    z-index: 2; /* Bring to front on hover */
}

/* Icon Box (Used in Bento & Features) */
.icon-box {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bento-card:hover .icon-box,
.rounded-4:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Map Masking Effect (Fade out map image) */
img[alt="Map"] {
    pointer-events: none;
}

/* Badge Styling inside Cards */
.badge.border {
    border-color: #e2e8f0 !important;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- 3. FEATURE ROWS (CRM Section) --- */
/* Images inside the feature rows */
.rounded-4 {
    border-radius: 24px !important;
}

.feature-img-container {
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.row:hover .rounded-4 img {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

/* List Items in CRM Section */
.list-unstyled li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* --- 4. BUTTON UTILITIES --- */
/* White Button with Hover Border */
.btn-white {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-white:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
}

/* Hover Scale Utility (If not already in style.css) */
.hover-scale { transition: transform 0.2s; }
.hover-scale:hover { transform: translateY(-3px); }
.feature-card-hover {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.feature-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.icon-box-lg {
    margin-left: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card-hover:hover .icon-box-lg {
    transform: scale(1.1) rotate(-5deg);
}

.bg-warning-subtle { background-color: #fef3c7 !important; }
.text-warning { color: #d97706 !important; }

.object-fit-cover { object-fit: cover; }

/* Tiny utility for badge text */
.tiny { font-size: 0.65rem; }