/**
 * Professional Theme for AI Analytics LLC
 * Modern, clean, enterprise-grade design system
 */

/* ============================================
   MODERN CSS VARIABLES - Professional Color System
   ============================================ */
:root {
    /* Primary Brand Colors - Professional Blues */
    --primary-blue: #1565C0;           /* Deep Professional Blue */
    --secondary-blue: #2196F3;         /* Bright Blue */
    --accent-blue: #00ACC1;            /* Cyan Accent */
    --dark-blue: #0D47A1;              /* Navy Blue */
    
    /* Databricks Integration Colors */
    --databricks-red: #FF3621;
    --databricks-dark: #E8371A;
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E0E6ED;
    --text-gray: #64748B;
    --text-dark: #0F172A;
    --border-color: #CBD5E1;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Shadows - Modern Depth */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 20px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', 'Roboto', sans-serif;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================
   MODERN TYPOGRAPHY SYSTEM
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--text-gray);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================
   PROFESSIONAL NAVIGATION BAR
   ============================================ */
.custom-navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    padding: 0 !important;
    transition: all var(--transition-base);
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-dark) !important;
    font-size: 1.25rem;
    font-weight: 700;
}

.custom-navbar .navbar-brand img {
    height: 45px;
    width: auto;
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.custom-navbar .navbar-brand span {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem !important;
    position: relative;
    transition: all var(--transition-base);
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link:focus::after,
.custom-navbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.custom-navbar .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-toggler {
    border: 2px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
    margin-top: 76px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MODERN BUTTON SYSTEM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* ============================================
   SECTION STYLING - Professional Layout
   ============================================ */
section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-title hr {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border: none;
    border-radius: 2px;
    margin: var(--spacing-md) auto;
}

/* ============================================
   MODERN CARD SYSTEM
   ============================================ */
.industry-card,
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.industry-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.industry-icon,
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.industry-card h3,
.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.industry-card p,
.service-card p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.industry-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

.industry-benefits li i {
    color: var(--success);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        min-height: 70vh;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 60vh;
        margin-top: 66px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .custom-navbar .nav-link {
        padding: 1rem !important;
        text-align: center;
    }
    
    .industry-card,
    .service-card {
        margin-bottom: var(--spacing-md);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   PROFESSIONAL FOOTER
   ============================================ */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

footer a:hover {
    color: var(--accent-blue);
}

footer .social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
}

footer .social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   PROFESSIONAL FOOTER COMPONENT
   ============================================ */
.professional-footer {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2642 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    position: relative;
    padding-left: 1rem;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.footer-links li a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-lg) 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Icon spacing utility */
.icon-spacing {
    margin-right: 10px;
}
/* ============================================
   FAQ SECTION STYLING
   ============================================ */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.faq-section .accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-section .accordion-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-section .accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    transition: all var(--transition-base);
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
    border-color: var(--primary-blue);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230F172A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-section .accordion-header {
    margin-bottom: 0;
}