/* =================================================================
   UNIFIED THEME CSS FOR ALL AI ANALYTICS PAGES
   ================================================================= */

/* Global Background and Page Styling */
body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	color: #333;
	font-family: 'Roboto', sans-serif;
	min-height: 100vh;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Page Overlay for Better Content Visibility */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
	pointer-events: none;
	z-index: -1;
}

/* Main Content Container */
.container, .container-fluid {
	position: relative;
	z-index: 2;
}

/* Professional Section Title Styling */
.section-title {
	text-align: center !important;
	margin-bottom: 60px;
	position: relative;
}

.section-title strong {
	color: #ffd700;
	font-size: 1.5rem;
	font-weight: 800;
	display: block;
	margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	letter-spacing: 2px;
}

.section-title h1,
.section-title h2 {
	color: white !important;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	font-size: 3rem;
	font-weight: 700;
	margin: 0 auto 15px auto;
	letter-spacing: 1px;
}

.section-title hr {
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #ffd700, #ff6b35);
	border: none;
	margin: 0 auto;
	border-radius: 2px;
}

/* Professional Card Styling */
.service-overview,
.service-details,
.content-section,
section {
	background: rgba(255,255,255,0.12);
	padding: 40px 30px;
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.25);
	backdrop-filter: blur(15px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.15);
	margin-bottom: 30px;
	transition: all 0.3s ease;
}

.service-overview:hover,
.service-details:hover,
.content-section:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
	color: white;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

p, li, span {
	color: rgba(255,255,255,0.9);
	line-height: 1.8;
}

.lead {
	color: rgba(255,255,255,0.95);
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 1.8;
}

/* Enhanced List Styling */
.list-unstyled li {
	background: rgba(255,255,255,0.08);
	padding: 15px 20px;
	border-radius: 10px;
	margin: 15px 0;
	border: 1px solid rgba(255,255,255,0.15);
	transition: all 0.3s ease;
}

.list-unstyled li:hover {
	background: rgba(255,255,255,0.15);
	transform: translateX(5px);
}

/* Professional Button Styling */
.btn, .btn-primary, .btn-secondary {
	background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
	color: #1a1a1a;
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255,215,0,0.4);
	color: #1a1a1a;
}

/* Navigation Enhancements */
.navbar.custom-navbar {
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar-brand {
	color: black !important;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(255,255,255,0.8);
	display: flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	flex-wrap: nowrap !important;
	text-decoration: none !important;
}

.navbar-brand:hover {
	color: black !important;
	text-decoration: none !important;
}

.navbar-brand:focus {
	color: black !important;
	text-decoration: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.navbar-brand span {
	color: black !important;
	outline: none !important;
	border: none !important;
	background: none !important;
}

.navbar-brand span:focus {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

.nav > li > a {
	color: rgba(255,255,255,0.9) !important;
	font-weight: 500;
	transition: all 0.3s ease;
}

.nav > li > a:hover {
	color: #ffd700 !important;
	background: rgba(255,255,255,0.1) !important;
}

/* Enhanced Tables */
.table {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 15px;
	overflow: hidden;
}

.table th {
	background: rgba(255,215,0,0.2);
	color: white;
	font-weight: 600;
	border: none;
	padding: 15px;
}

.table td {
	color: rgba(255,255,255,0.9);
	border: 1px solid rgba(255,255,255,0.1);
	padding: 12px 15px;
}

/* Professional Forms */
.form-control {
	background: rgba(255,255,255,0.1);
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 12px;
	color: white;
	padding: 15px 20px;
	transition: all 0.3s ease;
}

.form-control::placeholder {
	color: rgba(255,255,255,0.6);
}

.form-control:focus {
	background: rgba(255,255,255,0.15);
	border-color: #ffd700;
	box-shadow: 0 0 20px rgba(255,215,0,0.3);
	color: white;
}

/* Alert and Message Styling */
.alert {
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 15px;
	color: white;
	padding: 20px;
	backdrop-filter: blur(15px);
}

.alert-success {
	border-color: rgba(40,167,69,0.5);
	background: rgba(40,167,69,0.15);
}

.alert-info {
	border-color: rgba(23,162,184,0.5);
	background: rgba(23,162,184,0.15);
}

/* Footer Styling */
footer {
	background: rgba(0,0,0,0.3);
	color: rgba(255,255,255,0.8);
	padding: 40px 0 20px 0;
	border-top: 1px solid rgba(255,255,255,0.1);
	backdrop-filter: blur(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.section-title h1,
	.section-title h2 {
		font-size: 2.2rem;
	}
	
	.service-overview,
	.service-details,
	.content-section {
		padding: 30px 20px;
		margin-bottom: 20px;
	}
	
	body {
		font-size: 14px;
	}
}

/* Special Styling for Service Pages */
#main-content {
	padding: 120px 0 80px 0 !important;
}

/* Professional Animations */
.fade-in {
	animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Enhanced Icons */
.fa {
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Professional Code Blocks */
pre, code {
	background: rgba(0,0,0,0.3);
	color: #ffd700;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 8px;
	padding: 15px;
}

/* Print Styles */
@media print {
	body {
		background: white !important;
		color: black !important;
	}
	
	.section-title strong,
	.section-title h1,
	.section-title h2 {
		color: black !important;
	}
}
