/**************************************
 * Base Styles
 * Global styles, typography, and utilities
 **************************************/

*, *:before, *:after {
  box-sizing: inherit;
}

* {
  scroll-behavior: inherit !important;
}

html, body {
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
	background: #0a0a0a;
	color: #ffffff;
	font-family: 'Raleway', sans-serif;
	font-size: 15px;
	font-weight: normal;
	line-height: 26px;
	overflow-x: hidden;
	margin: 0 auto;
	padding: 0;
	letter-spacing: 0.5px;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	font-weight: normal;
	color: #ffffff;
	line-height: 1.5;
}

a {
	color: #ff6b35;
	text-decoration: none !important;
	-moz-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-webkit-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

img {
	max-width: 100%;
}

a:hover {
	color: #ff6b35;
	-moz-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	-o-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

a:hover,
a:focus {
	color: #ff6b35;
	text-decoration: none;
}

p {
	padding: 0;
	margin: 0;
	font-size: 15px;
	color: #ffffff;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: 0.5px;
	font-family: 'Raleway', sans-serif;
}

::placeholder {
	color: #ffffff;
}
::-ms-input-placeholder {
	color: #ffffff;
}

button,
input,
textarea {
	color: #ffffff;
}
button,
input,
textarea:focus {
	border: none;
	outline: none;
}

/**************************************
 * Skills Section Styles
 **************************************/

/* Skills Filter List */
.skills-filter-list {
	text-align: center;
	margin-bottom: 40px;
}

.skills-filter-list .nav {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.skills-filter-list .nav li {
	display: inline-block;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-transform: capitalize;
	padding: 12px 24px;
	background-color: #1a1a1a;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid #333333;
	backdrop-filter: blur(10px);
}

.skills-filter-list .nav li.filter-active {
	color: #ffffff;
	background-color: #ff6b35;
	border-color: #ff6b35;
}

/* Skills Container */
.skills-container {
	margin-top: 40px;
}

.skills-grid-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.skills-grid-item {
	margin-bottom: 30px;
}

/* Skill Card */
.skill-card {
	background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
	border: 1px solid #333333;
	border-radius: 15px;
	padding: 20px;
	backdrop-filter: blur(10px);
	height: 80px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
	gap: 15px;
}

/* Skill Icon */
.skill-icon {
	font-size: 40px;
	color: #ff6b35;
	margin-bottom: 0;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Skill Content */
.skill-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
}

/* Skill Title */
.skill-card h6 {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 4px;
	font-family: 'Raleway', sans-serif;
	position: relative;
	z-index: 2;
	line-height: 1.2;
}

/* Skill Level */
.skill-level {
	font-size: 12px;
	color: #cccccc;
	font-weight: 500;
	padding: 3px 10px;
	background-color: #2a2a2a;
	border-radius: 12px;
	display: inline-block;
	position: relative;
	z-index: 2;
	width: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
	.skills-filter-list .nav {
		flex-direction: column;
		align-items: center;
	}
	
	.skills-filter-list .nav li {
		margin-bottom: 10px;
		width: 200px;
	}
	
	.skill-card {
		padding: 15px;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
	}
	
	.skill-content {
		text-align: center;
	}
	
	.skill-icon {
		font-size: 32px;
	}
	
	.skill-card h6 {
		font-size: 14px;
	}
}

/**************************************
 * Global Dark Theme Overrides
 **************************************/

/* Ensure all sections have consistent dark backgrounds */
section {
	background-color: #0a0a0a !important;
}

section.bg-dark {
	background-color: #1a1a1a !important;
}

/* Override any remaining blue or light backgrounds */
[style*="background-color: #0"] {
	background-color: #1a1a1a !important;
}

/* Timeline and card overrides */
.timeline,
.single-services-item,
.single-blog {
	background-color: #1a1a1a !important;
}

/* Navigation overrides */
.navbar-reduce {
	background-color: #1a1a1a !important;
}
