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

:root {
    /* Primary Color Palette - 5 colors with variations */
    --primary-color: #1f71f5;
    --primary-light: #4f94ff;
    --primary-dark: #1d36d0;
    
    --secondary-color: #6f7e8e;
    --secondary-light: #8c9fc3;
    --secondary-dark: #222b42;
    
    --accent-color: #12cba2;
    --accent-light: #45d2bb;
    --accent-dark: #169e55;
    
    --warning-color: #dec40c;
    --warning-light: #f8d11c;
    --warning-dark: #d37600;
    
    --neutral-color: #999fa9;
    --neutral-light: #737890;
    --neutral-dark: #1c282d;
    
    /* Additional shades */
    --white: #ffffff;
    --light-#7b7b7b: #f8fafc;
    --medium-#6a6a6a: #f7f8ff;
    --dark-#707070: #13202a;
    --black: #0d131b;
    
    /* 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 1.14s ease;
}

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

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-#7d7d7d) 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(69, 170, 255, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(36, 213, 166, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

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

/* Card Enhancements */
.card {
    border: 1px solid var(--medium-#726d6e);
    transition: transform 0.49s ease, box-shadow 0.96s 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.46s 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 0.75s 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.54s ease, transform 1.05s ease;
}

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

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

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 71, 237, 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.41s ease, opacity 0.60s 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 0.95s ease;
}

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

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

footer a {
    transition: color 0.45s ease;
}

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

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

/* 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-#837c7d) 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: 275px;
}


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
