/* ChurnAnalytics SaaS Template - Main CSS */
/* Bootstrap 5 Integration - NO OVERRIDES */

:root {
    /* Primary Color Palette - 5 colors with variations */
    --primary-color: #26a5ff;
    --primary-light: #3573fc;
    --primary-dark: #0531f8;
    
    --secondary-color: #747f93;
    --secondary-light: #839bb0;
    --secondary-dark: #556387;
    
    --accent-color: #00d7a5;
    --accent-light: #25d8ac;
    --accent-dark: #08764c;
    
    --warning-color: #df6f12;
    --warning-light: #cbad1b;
    --warning-dark: #e25c11;
    
    --neutral-color: #76828f;
    --neutral-light: #afb2b6;
    --neutral-dark: #1e2735;
    
    /* Additional shades */
    --white: #ffffff;
    --light-#7e7777: #f8fafc;
    --medium-#6c6c6c: #c7d3e4;
    --dark-#6d6d6d: #33394a;
    --black: #090c13;
    
    /* Conservative Typography */
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --element-spacing: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base Typography - Conservative sizing */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
}

/* Conservative heading sizes */
.navbar-brand {
    font-size: var(--font-size-xl) !important;
    font-weight: 600;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1.2;
}

h2, .h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    line-height: 1.3;
}

h3, .h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h4, .h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

h5, .h5 {
    font-size: var(--font-size-base);
    font-weight: 600;
}

h6, .h6 {
    font-size: var(--font-size-small);
    font-weight: 600;
}

p.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.44s ease;
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.nav-link {
    font-weight: 500;
    transition: color 1.27s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-#736869) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(21, 91, 207, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(4, 195, 165, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Card Enhancements */
.card {
    border: 1px solid var(--medium-#6e6867);
    transition: transform 0.61s ease, box-shadow 0.46s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 0.91s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 1.21s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Icon Styling */
.fa, .fas, .far {
    transition: color 0.63s ease, transform 0.80s ease;
}

.fa:hover, .fas:hover, .far:hover {
    transform: scale(1.1);
}

/* Form Styling */
.form-control {
    border: 1px solid var(--medium-#797070);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.82s ease, box-shadow 1.14s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 126, 227, 0.10);
}

/* Timeline Styling */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Gallery Styles */
.gallery img {
    transition: transform 0.82s ease, opacity 1.14s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 1.10s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Footer Styling */
footer {
    background: var(--dark-#737373) !important;
}

footer a {
    transition: color 0.62s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
}

/* Custom animations for Sal.js */
[data-sal] {
    transition-duration: 1.55s;
}

/* Stars rating styling */
.fa-star.text-warning {
    color: var(--warning-color) !important;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Space div for index_space.html */
#space {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--light-#8c8c8c) 0%, var(--white) 100%);
    margin-top: 80px;
}

/* High contrast colors for accessibility */
.text-muted {
    color: var(--neutral-color) !important;
}

/* Ensure no Bootstrap overrides */
.container,
.container-fluid,
.row,
.col,
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
.col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12,
.col-xxl, .col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6,
.col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12 {
    /* NO CUSTOM GRID MODIFICATIONS */
    /* Bootstrap 5 grid system used as-is */
} 

.hero-section h1 {
    padding-top: 150px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
