/* Custom CSS for BI FURNITURE LTD */

/* Root Variables */
:root {
	--primary-color: #0d6efd;
	--secondary-color: #6c757d;
	--success-color: #198754;
	--info-color: #0dcaf0;
	--warning-color: #ffc107;
	--danger-color: #dc3545;
	--dark-color: #212529;
	--light-color: #f8f9fa;
	--font-family-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
body {
	font-family: var(--font-family-sans);
	line-height: 1.6;
	color: var(--dark-color);
}

/* Navigation Styles */
.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
}

.navbar-nav .nav-link {
	font-weight: 500;
	margin: 0 10px;
	transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
	background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.8)),
		url('../images/hero-bg.jpg') center/cover no-repeat;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.hero-overlay {
	position: relative;
	z-index: 2;
}

/* Page Header */
.page-header {
	padding: 120px 0 80px;
	margin-top: 56px;
}

/* Feature Icons */
.feature-icon {
	width: 80px;
	height: 80px;
	font-size: 2rem;
}

/* Cards */
.card {
	border: none;
	border-radius: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.course-card {
	overflow: hidden;
}

.course-card .card-img-top {
	transition: transform 0.3s ease;
}

.course-card:hover .card-img-top {
	transform: scale(1.05);
}

/* Buttons */
.btn {
	border-radius: 50px;
	padding: 12px 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.btn-lg {
	padding: 15px 40px;
	font-size: 1rem;
}

.btn-primary {
	background: linear-gradient(45deg, var(--primary-color), #0056b3);
	border: none;
}

.btn-primary:hover {
	background: linear-gradient(45deg, #0056b3, var(--primary-color));
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.btn-warning {
	background: linear-gradient(45deg, var(--warning-color), #ff8c00);
	border: none;
	color: var(--dark-color);
}

.btn-warning:hover {
	background: linear-gradient(45deg, #ff8c00, var(--warning-color));
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* Forms */
.form-control,
.form-select {
	border-radius: 10px;
	border: 2px solid #e9ecef;
	padding: 12px 20px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 8px;
}

/* Cookie Consent Banner */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(33, 37, 41, 0.95);
	color: white;
	padding: 20px 0;
	z-index: 9999;
	backdrop-filter: blur(10px);
	border-top: 3px solid var(--primary-color);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-consent.show {
	transform: translateY(0);
}

.cookie-consent .btn {
	border-radius: 25px;
	padding: 8px 20px;
	font-size: 0.9rem;
}

/* Contact Info */
.contact-info p {
	margin-bottom: 10px;
}

.contact-info i {
	width: 20px;
	color: var(--primary-color);
}

/* Social Links */
.social-links a {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

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

/* Accordion */
.accordion-button {
	font-weight: 600;
	background: var(--light-color);
}

.accordion-button:not(.collapsed) {
	background: var(--primary-color);
	color: white;
}

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

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-primary-gradient {
	background: linear-gradient(45deg, var(--primary-color), #0056b3);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bg-gradient-primary {
	background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

.shadow-lg {
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-section {
		text-align: center;
	}

	.hero-section .display-4 {
		font-size: 2rem;
	}

	.page-header {
		padding: 100px 0 60px;
	}

	.feature-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}

	.btn-lg {
		padding: 12px 25px;
		font-size: 0.9rem;
	}

	.social-links a {
		width: 35px;
		height: 35px;
		line-height: 35px;
	}
}

@media (max-width: 576px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.hero-section .lead {
		font-size: 1rem;
	}

	.card-body {
		padding: 1.5rem;
	}

	.btn {
		padding: 10px 20px;
		font-size: 0.8rem;
	}
}

/* Print Styles */
@media print {
	.navbar,
	.cookie-consent,
	.btn,
	.social-links {
		display: none !important;
	}

	.hero-section {
		background: none;
		color: black;
	}

	.page-header {
		background: none !important;
		color: black !important;
	}
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
	.card {
		border: 2px solid var(--dark-color);
	}

	.btn {
		border: 2px solid currentColor;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Loading States */
.btn-loading {
	position: relative;
	pointer-events: none;
}

.btn-loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid transparent;
	border-top: 2px solid currentColor;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Success/Error States */
.alert {
	border-radius: 10px;
	border: none;
	padding: 15px 20px;
}

.alert-success {
	background: linear-gradient(45deg, var(--success-color), #20c997);
	color: white;
}

.alert-warning {
	background: linear-gradient(45deg, var(--warning-color), #ff8c00);
	color: var(--dark-color);
}

.alert-info {
	background: linear-gradient(45deg, var(--info-color), #00bcd4);
	color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--light-color);
}

::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #0056b3;
}

/* Statistics Counters */
.counter {
	color: inherit;
	font-weight: 700;
	transition: all 0.3s ease;
}

.counter:hover {
	transform: scale(1.05);
}

/* Testimonials */
.blockquote {
	font-style: italic;
	border-left: 4px solid var(--primary-color);
	padding-left: 1rem;
	margin-left: 0;
}

.blockquote-footer {
	margin-top: 1rem;
}

/* Partner Logos */
.partner-logo {
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.partner-logo:hover {
	border-color: var(--primary-color);
	background: white !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo i {
	transition: color 0.3s ease;
}

.partner-logo:hover i {
	color: var(--primary-color) !important;
}

/* Instructor Cards */
.instructor-avatar {
	transition: all 0.3s ease;
}

.instructor-avatar:hover {
	transform: scale(1.1);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Learning Process Steps */
.step-number {
	font-size: 1.5rem;
	font-weight: 700;
	transition: all 0.3s ease;
	position: relative;
}

.step-number:hover {
	transform: scale(1.15);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Add connecting lines between steps on desktop */
@media (min-width: 992px) {
	.step-number::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 100%;
		width: 100px;
		height: 2px;
		background: linear-gradient(90deg, var(--primary-color), transparent);
		transform: translateY(-50%);
	}

	.step-number:last-child::after {
		display: none;
	}
}

/* FAQ Accordion Enhancements */
.accordion-button {
	font-size: 1.1rem;
	padding: 1.5rem;
	border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
	box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.accordion-body {
	padding: 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
}

/* Star Ratings */
.fas.fa-star {
	font-size: 1rem;
	margin: 0 2px;
}

/* Enhanced Card Hover Effects */
.card {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gradient Text Effect */
.text-gradient {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--warning-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Floating Animation */
@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.float-animation {
	animation: float 3s ease-in-out infinite;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
	}
}

.btn-warning {
	animation: pulse 2s infinite;
}

/* Social Links Enhancement */
.social-links a {
	position: relative;
	overflow: hidden;
}

.social-links a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: left 0.5s;
}

.social-links a:hover::before {
	left: 100%;
}

/* Section Dividers */
.section-divider {
	width: 60px;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--warning-color)
	);
	margin: 0 auto 2rem;
	border-radius: 2px;
}

/* Enhanced Typography */
.display-5 {
	background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Loading Shimmer Effect */
@keyframes shimmer {
	0% {
		background-position: -468px 0;
	}
	100% {
		background-position: 468px 0;
	}
}

.shimmer {
	background: linear-gradient(
		to right,
		#f6f7f8 0%,
		#edeef1 20%,
		#f6f7f8 40%,
		#f6f7f8 100%
	);
	background-size: 800px 104px;
	animation: shimmer 1.5s linear infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
	.counter {
		font-size: 2.5rem;
	}

	.step-number {
		width: 50px;
		height: 50px;
		font-size: 1.2rem;
	}

	.instructor-avatar {
		width: 60px;
		height: 60px;
	}

	.partner-logo {
		margin-bottom: 1rem;
	}

	.blockquote {
		font-size: 0.95rem;
	}
}

@media (max-width: 576px) {
	.counter {
		font-size: 2rem;
	}

	.display-5 {
		font-size: 2rem;
	}

	.step-number::after {
		display: none;
	}

	.accordion-button {
		font-size: 1rem;
		padding: 1rem;
	}
}

/* Print Styles for New Sections */
@media print {
	.counter,
	.step-number,
	.instructor-avatar,
	.partner-logo {
		box-shadow: none !important;
		transform: none !important;
	}

	.accordion-button::after {
		display: none;
	}
}

/* High Contrast Mode for New Elements */
@media (prefers-contrast: high) {
	.partner-logo {
		border: 3px solid var(--dark-color) !important;
	}

	.step-number {
		border: 2px solid currentColor;
	}

	.instructor-avatar {
		border: 2px solid currentColor;
	}
}

/* Reduced Motion for New Animations */
@media (prefers-reduced-motion: reduce) {
	.counter,
	.step-number,
	.instructor-avatar,
	.partner-logo,
	.float-animation {
		animation: none !important;
		transition: none !important;
	}

	.btn-warning {
		animation: none !important;
	}

	.card:hover {
		transform: none !important;
	}
}

/* Timeline Styles */
.timeline {
	position: relative;
	padding: 2rem 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	height: 100%;
	width: 2px;
	background: linear-gradient(
		to bottom,
		var(--primary-color),
		var(--warning-color)
	);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	margin: 2rem 0;
	width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
	margin-right: 50%;
	padding-right: 2rem;
	text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
	margin-left: 50%;
	padding-left: 2rem;
	text-align: left;
}

.timeline-marker {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	box-shadow: 0 0 0 4px white;
}

.timeline-content {
	background: white;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.timeline-content:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Award Icons */
.award-icon {
	transition: all 0.3s ease;
}

.award-icon:hover {
	transform: rotateY(180deg);
}

/* Leadership Team */
.leader-avatar {
	transition: all 0.3s ease;
}

.leader-avatar:hover {
	transform: scale(1.1) rotateZ(5deg);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Value Icons */
.value-icon {
	transition: all 0.3s ease;
}

.value-icon:hover {
	transform: translateY(-10px) rotate(10deg);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Project Icons */
.project-icon {
	transition: all 0.3s ease;
}

.project-icon:hover {
	transform: scale(1.2);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Tech Stack Badges */
.tech-stack .badge {
	transition: all 0.3s ease;
}

.tech-stack .badge:hover {
	transform: scale(1.1);
	background: var(--primary-color) !important;
	color: white !important;
}

/* Pathway Steps */
.pathway-step {
	transition: all 0.3s ease;
	position: relative;
}

.pathway-step:hover {
	transform: scale(1.15) rotateY(10deg);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Table Hover Effects */
.table-hover tbody tr:hover {
	background-color: rgba(13, 110, 253, 0.05);
	transform: scale(1.01);
	transition: all 0.3s ease;
}

/* Mobile Timeline */
@media (max-width: 768px) {
	.timeline::before {
		left: 20px;
	}

	.timeline-item:nth-child(odd) .timeline-content,
	.timeline-item:nth-child(even) .timeline-content {
		margin: 0;
		margin-left: 40px;
		padding: 1rem;
		text-align: left;
	}

	.timeline-marker {
		left: 20px;
	}

	.award-icon,
	.leader-avatar {
		width: 60px !important;
		height: 60px !important;
	}

	.value-icon {
		width: 50px !important;
		height: 50px !important;
	}

	.pathway-step {
		width: 60px !important;
		height: 60px !important;
	}
}

/* Loading Animation for New Sections */
.section-loading {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.section-loaded {
	opacity: 1;
	transform: translateY(0);
}

/* Gradient Backgrounds */
.bg-gradient-purple {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-orange {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-gradient-green {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Footer Styles */
footer.bg-dark {
	background: linear-gradient(
		135deg,
		#1a1a2e 0%,
		#16213e 50%,
		#0f3460 100%
	) !important;
	position: relative;
}

footer.bg-dark::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--warning-color),
		var(--success-color),
		var(--info-color)
	);
}

.footer-text {
	color: #b8c6db !important;
	line-height: 1.6;
}

.footer-link {
	color: #e2e8f0 !important;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
	position: relative;
}

.footer-link:hover {
	color: var(--warning-color) !important;
	padding-left: 5px;
	transform: translateX(5px);
}

.footer-link:hover i.fa-chevron-right {
	color: var(--warning-color);
	transform: scale(1.2);
}

.footer-links li {
	transition: all 0.3s ease;
}

.footer-links li:hover {
	background: rgba(255, 193, 7, 0.1);
	border-radius: 8px;
	padding: 5px 10px;
	margin: -5px -10px;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.1);
	color: #e2e8f0 !important;
	border-radius: 50%;
	margin-right: 15px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	backdrop-filter: blur(10px);
	border: 2px solid transparent;
}

.footer-social-link:hover {
	color: white !important;
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
	border-color: var(--warning-color);
}

.footer-social-link:nth-child(1):hover {
	background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.footer-social-link:nth-child(2):hover {
	background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.footer-social-link:nth-child(3):hover {
	background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.footer-social-link:nth-child(4):hover {
	background: linear-gradient(135deg, #e4405f, #fd5949);
}

.footer-contact {
	padding: 10px 0;
}

.footer-contact p {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.footer-contact i {
	margin-top: 3px;
	min-width: 20px;
}

.footer-copyright {
	color: #94a3b8 !important;
	font-size: 0.95rem;
}

.footer-reg {
	color: #94a3b8 !important;
	background: rgba(255, 255, 255, 0.05);
	padding: 8px 16px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer heading icons */
footer h5 i {
	color: var(--warning-color);
}

/* Footer responsive */
@media (max-width: 768px) {
	.footer-social-link {
		width: 40px;
		height: 40px;
		margin-right: 10px;
		margin-bottom: 10px;
	}

	.footer-links li:hover {
		background: none;
		border-radius: 0;
		padding: 0;
		margin: 0;
	}

	.footer-link:hover {
		padding-left: 0;
		transform: none;
	}

	.footer-copyright {
		text-align: center;
		margin-bottom: 10px;
		font-size: 0.9rem;
	}

	.footer-reg {
		text-align: center;
		display: inline-block;
		margin: 0 auto;
	}
}

@media (max-width: 576px) {
	footer h5 {
		font-size: 1.1rem;
		margin-bottom: 20px;
	}

	.footer-text {
		font-size: 0.9rem;
	}

	.footer-social-link {
		width: 35px;
		height: 35px;
	}
}
