body {
	font-size: 14px;
    color: #333;
    background-color: #fff;
    letter-spacing: 1px;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 3;
	background-color: rgba(0, 0, 0, 0.4);
}

.slides-navigation {
	z-index: 6;
}

.slides-navigation .prev,
.slides-navigation .next {
	width: 47px;
	height: 47px;
	background-size: cover;
	background-repeat: no-repeat;
}

.slides-navigation a.prev {
	left: 20px;
	background-image: url(../img/icons/prev.png);
}

.slides-navigation a.next {
	right: 20px;
	background-image: url(../img/icons/next.png);
}

.titleMessage {
    position: absolute;
    width: 100%;
    height: 250px;
    top: 50%;
    z-index: 5;
    text-align: center;
    margin-top: -125px;
}

.titleMessage .heading p {
	color: #fff;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
    font-weight: 100;
    letter-spacing: 7px;
}

.titleMessage .heading .main {
	font-size: 50px;
}

.titleMessage .heading .sub {
	font-size: 23px;
}

.section {
	padding: 100px 0;
}

.aboutImage {
	max-width: 100%;
}

.skillsSection,
.contactSection {
	background-color: #636e72;
	color: #fff;
}

.skill {
	text-align: center;
	margin-left: 10px;
}

.chart {
	position: relative;
    width: 152px;
    height: 152px;
    display: inline-block;
    text-align: center;
}

.chart canvas {
	position: absolute;
    left: 0;
    top: 0;
}

.chart .percent {
	color: #000;
    line-height: 152px;
    display: inline-block;
    font-size: 35px;
}

.chart .percent:after {
	content: '%';
}

.squareItem {
	margin-top: 30px;
    position: relative;
}

.squareInnerContainer {
	position: relative;
	padding: 50px 15px 35px;
	text-align: center;
	border: 2px solid #222;
	border-top: none;
}

.squareInnerContainer:before,
.squareInnerContainer:after {
	content: '';
	position: absolute;
	top: 0px;
	width: 30%;
	border-bottom: 2px solid #222;
}

.squareInnerContainer:before {
	right: 0px;
}

.squareInnerContainer:after {
	left: 0px
}

.squareContent h2 {
	font-size: 56px;
	margin-bottom: 10px;
	font-weight: 400;
	color: #222;
}

.squareContent h3 {
	font-size: 13px;
	font-weight: 600;
	margin: 0;

}

.squareIcon {
	position: absolute;
    left: 50%;
    top: -30px;
    width: 40%;
    height: 60px;
    font-size: 45px;
    margin-left: -20%;
    color: #222;
}

.contactButton {
	text-decoration: none;
	color: #fff;
    padding: 15px 20px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid #fff;
    border-radius: 2px;
}

.contactButton:hover {
	text-decoration: none;
	color: #636e72;
	background-color: #fff;
}

.filter a {
	text-decoration: none;
	color: #bdc3c7;
	border: 1px solid #bdc3c7;
	padding: 10px 18px;
	display: block;
}

.filter li {
	display: inline-block;
	padding: 5px
}

.filter current {
	background-color: #bdc3c7;
	border-color: #bdc3c7;
	color: #fff;
}

.filter {
	text-align: center;
	width: 100%;
}

.section .heading {
	text-align: center;
	padding-bottom: 40px;
	width: 100%;
}

.items li {
	display: inline-block;
	padding: 5px;
}

.itemsContainer {
	width: 100%;
}


.items li img {
	width: 100%;
	-webkit-transition: all 0.2s linear, 1s;
    -moz-transition: all 0.2s linear, 1s;
    -o-transition: all 0.2s linear, 1s;
    -ms-transition: all 0.2s linear, 1s;
    -transition: all 0.2s linear, 1s;
}

.items .item {
	position: relative;
	display: block;
	overflow: hidden;
}

.items .icons {
	position: absolute;
    width: 90px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin: -20px auto 0 -45px;
    text-align: center;
    z-index: 3;
}

.items .icons i {
	color: #fff;
    font-size: 20px;
    margin-top: 9px;
}

.items a {
	width: 40px;
    height: 40px;
    background-color: #bdc3c7;
    position: relative;
    display: inline-block;


    -webkit-transition: all 0.2s linear, 0.2s;
    -moz-transition: all 0.2s linear, 0.2s;
    -o-transition: all 0.2s linear, 0.2s;
    -ms-transition: all 0.2s linear, 0.2s;
    -transition: all 0.2s linear, 0.2s;

}

.items .imageOverlay {
	width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;

    -webkit-transition: all 0.2s linear, 1s;
    -moz-transition: all 0.2s linear, 1s;
    -o-transition: all 0.2s linear, 1s;
    -ms-transition: all 0.2s linear, 1s;
    -transition: all 0.2s linear, 1s;
}

.items .item:hover .imageOverlay {
	opacity: 1;
}

.items .openButton {
	float: left;
	left: -200px;
}

.items .projectLink {
	float: right;
	right: -200px;
}

.items .item:hover .openButton {
	left: 0px;
}

.items .item:hover .projectLink {
	right: 0px;
}

.items .item:hover img {
	-webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -transform: scale(1.05, 1.05);
}



.items {
	padding: 0;
}

.copyrightSection {
	background-color: #000;
	color: #fff;
	padding: 30px 5px;
}

.copyrightSection p {
	margin: 0;
}

#navigation {
	background-color: #bdc3c7;
    padding: 20px 10px;
    z-index: 100;
    width: 100%;
}

#navigation li {
	padding: 0 10px;
}

#navigation li a {
	color: #fff;
}

.navbar-brand,
.navbar-brand:hover {
	color: #fff;
}

.navbar-toggler-icon {
	background: url(../img/icons/menu.png);
	background-size: 100%;
}

.fixedNav #navigation {
	position: fixed;
	top: 0;
}

.loader {
	width: 100%;
	height: 100%;
	background-color: #fff;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 1000;
}

.loader .inner {
	width: 100%;
	height: 100%;
	background: url(../img/loader.gif) center center no-repeat;
}

/* Video-specific styles */
.items .openVideo {
	float: left;
	left: -200px;
}

.items .downloadVideo {
	float: right;
	right: -200px;
}

.items .item:hover .openVideo {
	left: 0px;
}

.items .item:hover .downloadVideo {
	right: 0px;
}

/* Video player styling */
.fancybox-video {
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
}

/* Loading spinner for video buttons */
.fa-spinner {
	animation: spin 1s linear infinite;
}

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

/* Demo section specific styling */
.items .demos .item {
	position: relative;
	overflow: hidden;
}

.items .demos .icons {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.items .demos .item:hover .icons {
	opacity: 1;
}

/* Video thumbnail styling */
.items .demos img {
	transition: transform 0.3s ease;
}

.items .demos .item:hover img {
	transform: scale(1.05);
}

/* Diary Sections Styling */
.diary-content {
	padding: 20px 0;
}

.diary-content h3 {
	color: #333;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 600;
}

.diary-content p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.diary-topics {
	background-color: #f8f9fa;
	padding: 25px;
	border-radius: 8px;
	margin: 20px 0;
	border-left: 4px solid #007bff;
}

.diary-topics h4 {
	color: #333;
	margin-bottom: 15px;
	font-size: 18px;
	font-weight: 600;
}

.diary-topics ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.diary-topics li {
	padding: 8px 0;
	border-bottom: 1px solid #e9ecef;
	color: #555;
}

.diary-topics li:last-child {
	border-bottom: none;
}

.diary-topics strong {
	color: #007bff;
	font-weight: 600;
}

.video-placeholder {
	background-color: #e3f2fd;
	padding: 25px;
	border-radius: 8px;
	margin: 20px 0;
	border-left: 4px solid #2196f3;
	text-align: center;
}

.video-placeholder h4 {
	color: #1976d2;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
}

.video-placeholder p {
	color: #424242;
	margin: 0;
}

/* Books Section Styling */
.books-content {
	padding: 20px 0;
}

.books-content h3 {
	color: #333;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 600;
}

.books-content p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 30px;
}

.books-by-year {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.year-section {
	background-color: #f8f9fa;
	padding: 25px;
	border-radius: 8px;
	border-left: 4px solid #28a745;
}

.year-section h4 {
	color: #28a745;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}

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

.book-list li {
	padding: 10px 0;
	border-bottom: 1px solid #e9ecef;
	color: #555;
	line-height: 1.4;
}

.book-list li:last-child {
	border-bottom: none;
}

.book-list em {
	color: #999;
	font-style: italic;
}

.reading-stats {
	background-color: #fff3cd;
	padding: 25px;
	border-radius: 8px;
	margin: 30px 0;
	border-left: 4px solid #ffc107;
	text-align: center;
}

.reading-stats h4 {
	color: #856404;
	margin-bottom: 15px;
	font-size: 18px;
	font-weight: 600;
}

.reading-stats p {
	color: #856404;
	margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.books-by-year {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.diary-topics,
	.video-placeholder,
	.year-section,
	.reading-stats {
		padding: 20px;
	}
}

/* Projects Section Styles */
.projects-content {
	width: 100%;
}

/* Featured Demo Styles */
.featured-demo {
	background: linear-gradient(135deg, #6d6e6f 0%, #161517 100%);
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 30px;
	color: white;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.demo-header h4 {
	color: white;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.demo-header h4 i {
	color: #ffd700;
	margin-right: 10px;
}

.demo-header p {
	color: rgba(255,255,255,0.9);
	font-size: 1em;
	margin-bottom: 20px;
}

.demo-links {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.demo-link {
	background: rgba(255,255,255,0.2);
	color: white;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 1px solid rgba(255,255,255,0.3);
}

.demo-link:hover {
	background: rgba(255,255,255,0.3);
	color: white;
	text-decoration: none;
	transform: translateY(-2px);
}

.demo-link i {
	margin-right: 8px;
}

.demo-tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.demo-tech {
	background: rgba(255,255,255,0.15);
	color: white;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 0.85em;
	border: 1px solid rgba(255,255,255,0.2);
}

.access-note {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	text-align: center;
}

.access-note p {
	margin: 0;
	color: #495057;
	font-size: 0.95em;
}

.access-note i {
	color: #007bff;
	margin-right: 8px;
}

.demo-request-btn {
	display: inline-block;
	background: #007bff;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	margin-top: 10px;
	margin-bottom: 40px;
	transition: background 0.3s ease;
}

.demo-request-btn:hover {
	background: #0056b3;
	color: white;
	text-decoration: none;
}

.project-category {
	margin-bottom: 40px;
	width: 100%;
}

.project-category h4 {
	color: #333;
	font-size: 1.4em;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f0;
}

.project-category h4 i {
	margin-right: 10px;
	color: #007bff;
}

.project-tiles {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	gap: 20px !important;
	margin-bottom: 30px;
	width: 100%;
	clear: both;
}

.project-tile {
	background: #fff;
	border-radius: 8px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	min-height: 140px;
	flex: 0 0 calc(25% - 15px) !important;
	margin: 0 !important;
	float: none !important;
}

.project-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.tile-icon {
	font-size: 2.5em;
	color: #007bff;
	margin-bottom: 15px;
}

.project-tile h5 {
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.project-tile p {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 15px;
}

.tile-link {
	display: inline-block;
	background: #007bff;
	color: white;
	padding: 8px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9em;
	transition: background 0.3s ease;
}

.tile-link:hover {
	background: #0056b3;
	color: white;
	text-decoration: none;
}

/* Fallback for older browsers */
@supports not (display: grid) {
	.project-tiles {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.project-tile {
		flex: 0 0 calc(25% - 15px);
		margin-bottom: 15px;
	}
}

/* Responsive adjustments */
@media (max-width: 1200px) {
	.project-tile {
		flex: 0 0 calc(33.333% - 15px) !important;
	}
}

@media (max-width: 768px) {
	.project-tile {
		flex: 0 0 calc(50% - 10px) !important;
		padding: 12px;
		min-height: 120px;
	}
	
	.tile-icon {
		font-size: 2em;
	}
}

@media (max-width: 480px) {
	.project-tile {
		flex: 0 0 calc(50% - 10px) !important;
	}
}

/* Force flexbox layout - override any conflicting styles */
#projects .project-tiles {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	gap: 20px !important;
}

#projects .project-tile {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	flex: 0 0 calc(25% - 15px) !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}

/* Case Studies Section Styles */
.case-study {
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	border: 1px solid #e9ecef;
}

.case-study-header {
	border-bottom: 2px solid #f8f9fa;
	padding-bottom: 20px;
	margin-bottom: 25px;
}

.case-study-header h3 {
	color: #333;
	font-size: 1.6em;
	margin-bottom: 15px;
}

.case-study-header h3 i {
	color: #007bff;
	margin-right: 10px;
}

.case-study-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.case-study-tag {
	background: #e3f2fd;
	color: #1976d2;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 500;
}

.case-study-content h4 {
	color: #333;
	font-size: 1.3em;
	margin-bottom: 15px;
	margin-top: 25px;
}

.case-study-content h5 {
	color: #495057;
	font-size: 1.1em;
	margin-bottom: 12px;
	margin-top: 20px;
}

.case-study-content h5 i {
	color: #007bff;
	margin-right: 8px;
}

.case-study-section {
	margin-bottom: 25px;
}

.case-study-section ul {
	margin-left: 20px;
}

.case-study-section li {
	margin-bottom: 8px;
	color: #555;
	line-height: 1.6;
}

.case-study-section li i.fa-check-circle {
	color: #28a745;
	margin-right: 8px;
	margin-top: 2px;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.tech-item {
	background: #f8f9fa;
	color: #495057;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.9em;
	border: 1px solid #dee2e6;
}

/* Video centering styles */
video {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

/* Center video elements when they appear */
.video-container {
	text-align: center;
	margin: 20px 0;
}

.video-container video {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

/* Certification badge styling */
.certificationBadge img {
	max-width: 120px;
	height: auto;
	display: block;
	margin: 10px auto 0;
}
















