/* ----------------------------------------------------------------
	Custom CSS - Premium Professional Design
	BestOn Apps - Digital Excellence Since 2014
-----------------------------------------------------------------*/

:root {
	--primary: #5e72e4;
	--primary-dark: #4c63d2;
	--secondary: #f5365c;
	--success: #2dce89;
	--dark: #172b4d;
	--light: #f4f5f7;
	--white: #ffffff;
	--gray-100: #f8f9fa;
	--gray-200: #e9ecef;
	--gray-300: #dee2e6;
	--gray-600: #6c757d;
	--gray-900: #212529;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
	--border-radius: 0.375rem;
	--border-radius-lg: 0.5rem;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gray-900);
	background-color: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--dark);
	margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
	color: var(--gray-600);
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

/* Header Styles */
#header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
}

#header-wrap {
	padding: 1rem 0;
	transition: var(--transition);
}

#header.sticky-header #header-wrap {
	padding: 0.75rem 0;
}

.header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#logo {
	display: flex;
	align-items: center;
}

#logo img {
	height: 40px;
	width: auto;
}

/* Navigation */
.primary-menu {
	display: flex;
	align-items: center;
}

.menu-container {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2rem;
}

.menu-item {
	list-style: none;
}

.menu-link {
	color: var(--dark);
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0.5rem 0;
	position: relative;
	transition: var(--transition);
}

.menu-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.menu-link:hover {
	color: var(--primary);
}

.menu-link:hover::after {
	width: 100%;
}

/* Mobile Menu Toggle */
#primary-menu-trigger {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
	position: relative;
}

.svg-trigger {
	width: 100%;
	height: 100%;
}

.svg-trigger path {
	fill: none;
	stroke: var(--dark);
	stroke-width: 3;
	stroke-linecap: round;
	transition: var(--transition);
}

/* Hero Section */
.hero-section {
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	position: relative;
	padding-top: 80px;
	overflow: hidden;
}

.hero-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 2rem 0;
}

.hero-badge {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: var(--white);
	padding: 0.5rem 1.25rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 800;
	color: #2d3748;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.gradient-text {
	background: linear-gradient(to right, #ffd89b, #ffcf1b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	font-size: 1.125rem;
	color: #4a5568;
	line-height: 1.8;
	max-width: 600px;
	margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
	display: flex;
	gap: 3rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.stat-item h3 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--white);
	margin: 0;
	line-height: 1;
}

.stat-item p {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0.5rem 0 0 0;
}

/* Hero Buttons */
.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn-hero {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-radius: var(--border-radius-lg);
	font-weight: 600;
	transition: var(--transition);
	text-decoration: none;
	border: 2px solid #e2e8f0;
}

.btn-hero i {
	font-size: 1.5rem;
}

.btn-hero div {
	text-align: left;
}

.btn-hero small {
	display: block;
	font-size: 0.75rem;
	opacity: 0.9;
}

.btn-hero span {
	display: block;
	font-size: 1rem;
	font-weight: 700;
}

.btn-android {
	background: #000000;
	color: var(--white);
	border-color: #000000;
}

.btn-android:hover {
	background: #2d3748;
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: #2d3748;
}

.btn-apple {
	background: #667eea;
	color: var(--white);
	border-color: #667eea;
}

.btn-apple:hover {
	background: #764ba2;
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: #764ba2;
}

/* Hero Graphics */
.hero-graphic {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
}

.floating-card {
	position: absolute;
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: float 6s ease-in-out infinite;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card i {
	font-size: 2.5rem;
	color: var(--white);
}

.card-1 {
	top: 10%;
	right: 10%;
	animation-delay: 0s;
}

.card-2 {
	top: 40%;
	right: 30%;
	animation-delay: 2s;
}

.card-3 {
	bottom: 20%;
	right: 15%;
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(5deg); }
}

/* Wave Divider */
.hero-wave {
	position: absolute;
	bottom: -22px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.hero-wave svg {
	position: relative;
	display: block;
	width: calc(100% + 1.3px);
	height: 60px;
}

/* Services Section */
.services-section {
	padding: 5rem 0;
	background: var(--white);
}

.section-badge {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: var(--white);
	padding: 0.375rem 1rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 1rem;
}

.section-description {
	font-size: 1.125rem;
	color: var(--gray-600);
	line-height: 1.8;
	margin-bottom: 0;
}

.service-card {
	background: var(--gray-100);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	text-align: center;
	height: 100%;
	transition: var(--transition);
	border: 1px solid var(--gray-200);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-color: transparent;
}

.service-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
}

.service-icon i {
	font-size: 1.75rem;
	color: var(--white);
}

.service-card h4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: var(--dark);
}

.service-card p {
	font-size: 0.95rem;
	color: var(--gray-600);
	margin: 0;
}

.service-card:hover h4,
.service-card:hover p {
	color: var(--white);
}

.service-card:hover .service-icon {
	background: rgba(255, 255, 255, 0.2);
}

/* Tech Stack Section */
.tech-section {
	padding: 3rem 0;
	background: var(--gray-100);
	border-top: 1px solid var(--gray-200);
	border-bottom: 1px solid var(--gray-200);
}

.tech-stack-wrapper {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.tech-stack-label {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--gray-600);
	white-space: nowrap;
}

.tech-stack-slider {
	display: flex;
	gap: 3rem;
	align-items: center;
	overflow-x: auto;
	flex: 1;
	padding: 0.5rem 0;
}

.tech-stack-slider::-webkit-scrollbar {
	display: none;
}

.tech-item img {
	height: 35px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: var(--transition);
}

.tech-item:hover img {
	filter: grayscale(0);
	opacity: 1;
	transform: scale(1.1);
}

/* Legal Section */
.legal-section {
	padding: 4rem 0;
	background: var(--white);
	border-bottom: 1px solid var(--gray-200);
}

.legal-section h3 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 1rem;
}

.btn-outline-primary {
	display: inline-block;
	color: var(--primary);
	background: transparent;
	border: 2px solid var(--primary);
	padding: 0.75rem 1.75rem;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-size: 0.95rem;
	transition: var(--transition);
	text-decoration: none;
	margin: 0.25rem;
}

.btn-outline-primary:hover {
	background: var(--primary);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials-section {
	padding: 5rem 0;
	background: var(--gray-100);
}

.testimonial-card {
	background: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: var(--transition);
	border: 1px solid var(--gray-200);
	box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.testimonial-rating {
	color: #ffc107;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.testimonial-text {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--gray-600);
	flex-grow: 1;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.testimonial-author {
	padding-top: 1rem;
	border-top: 1px solid var(--gray-200);
}

.testimonial-author strong {
	display: block;
	font-size: 1rem;
	color: var(--dark);
	margin-bottom: 0.25rem;
}

.testimonial-author span {
	font-size: 0.875rem;
	color: var(--gray-600);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Footer */
#footer {
	background: var(--dark);
	color: var(--white);
	padding: 0;
}

#copyrights {
	padding: 3rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#copyrights p {
	margin-bottom: 0.5rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
}

#copyrights a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--transition);
}

#copyrights a:hover {
	color: var(--white);
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--white);
	transition: var(--transition);
	text-decoration: none;
	margin: 0 0.25rem;
}

.social-icon:hover {
	background: var(--primary);
	transform: translateY(-3px);
	color: var(--white);
}

/* Go to Top Button */
#gotoTop {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	background: var(--primary);
	color: var(--white);
	text-align: center;
	line-height: 44px;
	border-radius: 50%;
	font-size: 1.25rem;
	box-shadow: var(--shadow);
	transition: var(--transition);
	z-index: 999;
	cursor: pointer;
}

#gotoTop:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
}

/* Utility Classes */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.col-lg-4,
.col-lg-6,
.col-lg-7,
.col-lg-5,
.col-lg-8,
.col-md-4,
.col-md-6,
.col-12 {
	padding: 0 15px;
}

.col-12 { width: 100%; }
.col-md-4 { width: 33.333333%; }
.col-md-6 { width: 50%; }
.col-lg-4 { width: 33.333333%; }
.col-lg-5 { width: 41.666667%; }
.col-lg-6 { width: 50%; }
.col-lg-7 { width: 58.333333%; }
.col-lg-8 { width: 66.666667%; }

.text-center { text-align: center; }
.text-lg-end { text-align: right; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-lg-block { display: block !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.text-muted { color: var(--gray-600) !important; }
.bg-light { background-color: var(--gray-100) !important; }

/* Responsive Design */
@media (max-width: 991px) {
	.col-lg-4,
	.col-lg-5,
	.col-lg-6,
	.col-lg-7,
	.col-lg-8 {
		width: 100%;
	}
	
	.d-lg-block {
		display: none !important;
	}
	
	.text-lg-end {
		text-align: center;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-stats {
		gap: 2rem;
	}
	
	.stat-item h3 {
		font-size: 2rem;
	}
}

@media (max-width: 767px) {
	#primary-menu-trigger {
		display: block;
	}
	
	.primary-menu {
		display: none;
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
		padding: 2rem;
		box-shadow: var(--shadow-lg);
		z-index: 999;
	}
	
	.primary-menu.active {
		display: block;
	}
	
	.menu-container {
		flex-direction: column;
		gap: 1rem;
	}
	
	.menu-link {
		display: block;
		padding: 0.75rem 0;
		font-size: 1rem;
	}
	
	.col-md-4,
	.col-md-6 {
		width: 100%;
	}
	
	.hero-section {
		padding-top: 70px;
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-description {
		font-size: 1rem;
	}
	
	.hero-stats {
		gap: 1.5rem;
	}
	
	.stat-item {
		width: 45%;
	}
	
	.stat-item h3 {
		font-size: 1.75rem;
	}
	
	.hero-buttons {
		flex-direction: column;
	}
	
	.btn-hero {
		width: 100%;
		justify-content: center;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.tech-stack-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.legal-section .row {
		flex-direction: column;
		text-align: center;
	}
	
	.legal-section .text-lg-end {
		margin-top: 1rem;
	}
}

/* Text Rotator Fix */
.text-rotater {
	display: inline-block;
	vertical-align: middle;
	color: #667eea;
	font-weight: 700;
}

.t-rotate {
	display: inline-block;
	min-width: 120px;
}

/* Override Bootstrap and Template Styles */
.slider-element {
	all: unset;
	display: block;
	background: #ffffff;
}

.heading-block {
	all: unset;
	display: block;
}

.nott {
	all: unset;
}

.section {
	all: unset;
	display: block;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary-dark);
}

/* Selection */
::selection {
	background: var(--primary);
	color: var(--white);
}

::-moz-selection {
	background: var(--primary);
	color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-on-scroll {
	animation: fadeInUp 0.6s ease forwards;
}