/**
* Template Name: MyResume
* Updated: Jan 29 2024 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
	font-family: "Open Sans", sans-serif;
	color: #272829;
}

a {
	color: #0563bb;
	text-decoration: none;
}

a:hover {
	color: #067ded;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: 15px;
	z-index: 996;
	background: #0563bb;
	width: 40px;
	height: 40px;
	border-radius: 50px;
	transition: all 0.4s;
}

.back-to-top i {
	font-size: 28px;
	color: #fff;
	line-height: 0;
}

.back-to-top:hover {
	background: #0678e3;
	color: #fff;
}

.back-to-top.active {
	visibility: visible;
	opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	overflow: hidden;
	background: #fff;
}

#preloader:before {
	content: "";
	position: fixed;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	border: 6px solid #0563bb;
	border-top-color: #fff;
	border-bottom-color: #fff;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	[data-aos-delay] {
		transition-delay: 0 !important;
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 9997;
	transition: all 0.5s;
	padding: 15px;
	overflow-y: auto;
}

@media (max-width: 991px) {
	#header {
		width: 300px;
		background: #fff;
		border-right: 1px solid #e6e9ec;
		left: -300px;
	}
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nav-menu {
	padding: 0;
	display: block;
}

.nav-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu > ul > li {
	position: relative;
	white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
	display: flex;
	align-items: center;
	color: #45505b;
	padding: 10px 18px;
	margin-bottom: 8px;
	transition: 0.3s;
	font-size: 15px;
	border-radius: 50px;
	background: #f2f3f5;
	height: 56px;
	width: 100%;
	overflow: hidden;
	transition: 0.3s;
}

.nav-menu a i,
.nav-menu a:focus i {
	font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
	padding: 0 5px 0 7px;
	color: #45505b;
}

@media (min-width: 992px) {
	.nav-menu a,
	.nav-menu a:focus {
		width: 56px;
	}

	.nav-menu a span,
	.nav-menu a:focus span {
		display: none;
		color: #fff;
	}
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
	color: #fff;
	background: #0563bb;
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover > a span {
	color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover > a {
	width: 100%;
	color: #fff;
}

.nav-menu a:hover span,
.nav-menu li:hover > a span {
	display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
	position: fixed;
	right: 10px;
	top: 10px;
	z-index: 9998;
	border: 0;
	background: none;
	font-size: 28px;
	transition: all 0.4s;
	outline: none !important;
	line-height: 0;
	cursor: pointer;
	border-radius: 50px;
	padding: 5px;
}

.mobile-nav-toggle i {
	color: #45505b;
}

.mobile-nav-active {
	overflow: hidden;
}

.mobile-nav-active #header {
	left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
	color: #fff;
	background-color: #0563bb;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
	width: 100%;
	height: 100vh;
	background: url("../img/hero-bg.jpg") top right no-repeat;
	background-size: cover;
	position: relative;
}

@media (min-width: 992px) {
	#hero {
		padding-left: 160px;
	}
}

#hero:before {
	content: "";
	background: rgba(22, 1, 1, 0.3);
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
}

#hero h1 {
	margin: 0;
	font-size: 64px;
	font-weight: 700;
	line-height: 56px;
	color: #ffffff;
}

#hero p {
	color: #ffffff;
	margin: 15px 0 0 0;
	font-size: 26px;
	font-family: "Poppins", sans-serif;
	margin-left: 4px;
}

#hero p span {
	color: #ffffff;
	letter-spacing: 1px;
}

#hero .social-links {
	margin-top: 30px;
}

#hero .social-links a {
	font-size: 24px;
	display: inline-block;
	color: #45505b;
	line-height: 1;
	margin-right: 20px;
	transition: 0.3s;
}

#hero .social-links a:hover {
	color: #0563bb;
}

@media (max-width: 992px) {
	#hero {
		text-align: center;
	}

	#hero h1 {
		font-size: 32px;
		line-height: 36px;
	}

	#hero p {
		margin-top: 10px;
		font-size: 20px;
		line-height: 24px;
	}
}

/*--------------------------------------------------------------
# Download BUtton
--------------------------------------------------------------*/
.cv-btn {
	position: relative;
	display: inline-block;
	padding: 4px 30px;
	border-radius: 0;
	text-decoration: none;
	color: #ffffff;
	border: solid #ffffff 2px;
	background-color: transparent;
	font-weight: bold;
	overflow: hidden;
	transition: color 0.4s ease-out;
	font-size: 1rem;
	margin-top: 20px;
	text-align: left;
}

.cv-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: 0;
	transition: left 0.4s ease-out;
}

.cv-btn:hover::before {
	left: 0;
}

.cv-btn:hover span,
.cv-btn:hover i {
	color: #000000 !important;
}

.cv-btn span {
	position: relative;
	z-index: 1;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
	padding: 60px 0;
	overflow: hidden;
}

.section-title {
	text-align: center;
}

.section-title h2 {
	font-size: 32px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
	color: #000000;
}

.section-title h2::before {
	content: "";
	position: absolute;
	display: block;
	width: 120px;
	height: 1px;
	background: #ddd;
	bottom: 1px;
	left: calc(50% - 60px);
}

.section-title h2::after {
	content: "";
	position: absolute;
	display: block;
	width: 40px;
	height: 3px;
	background: #0563bb;
	bottom: 0;
	left: calc(50% - 20px);
}

.section-title p {
	max-width: 1000px;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
	font-weight: 700;
	font-size: 26px;
	color: #000000;
}

@media screen and (max-width: 600px) {
	.about .content h3 {
		text-align: center;
	}

	.about .content p {
		text-align: center;
	}
}

.about .content ul {
	list-style: none;
	padding: 0;
}

.about .content ul li {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}

.about .content ul strong {
	margin-right: 10px;
}

.about .content ul i {
	font-size: 16px;
	margin-right: 5px;
	color: #0563bb;
	line-height: 0;
}

.about .content p:last-child {
	margin-bottom: 0;
}

@keyframes slideInRight {
	0% {
		opacity: 0;
		transform: translateX(100px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-top: 20px;
	animation: slideInRight 0.8s ease forwards;
}

@media screen and (max-width: 600px) {
	.skills-grid {
		grid-template-columns: repeat(1, minmax(200px, 1fr)) !important;
	}
}

@media screen and (max-width: 700px) {
	.skills-grid {
		grid-template-columns: repeat(2, minmax(200px, 1fr));
	}
}

@media screen and (max-width: 1024px) {
	.skills-grid {
		grid-template-columns: repeat(2, minmax(200px, 1fr));
	}
}

.skill-category {
	text-align: center;
	padding: 20px 0px;
	transition: transform 0.3s ease;
}

.skill-category:hover {
	transform: translateY(-5px);
}

.skill-circle {
	width: 200px;
	border-radius: 25px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 600;
	color: white;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 12px 20px;
}

.skill-circle::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.6s ease;
}

.skill-category:hover .skill-circle::before {
	left: 100%;
}

.skill-category:hover .skill-circle {
	transform: scale(1.05);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.frontend-circle {
	background: linear-gradient(135deg, #254fe7, #471091a8);
}

.backend-circle {
	background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.sql-circle {
	background: linear-gradient(135deg, #f97316, #c2410c);
}

.framework-circle {
	background: linear-gradient(135deg, #b91c1c, #ee4344);
}

.skill-list {
	list-style: none;
	max-width: 200px;
	margin: 0 auto;
}

.skill-item {
	background: #f8f9fa;
	padding: 12px 20px;
	margin-bottom: 8px;
	border-radius: 25px;
	font-size: 0.95rem;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

.skill-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(0, 123, 255, 0.1),
		transparent
	);
	transition: left 0.4s ease;
}

.skill-item:hover::before {
	left: 100%;
}

.skill-item:hover {
	background: white;
	border-color: #007bff;
	transform: translateX(8px);
}

.frontend-hover:hover {
	border: 2px solid transparent;
	background: linear-gradient(white, white) padding-box,
		linear-gradient(135deg, #254fe7, #471091a8) border-box;
}

.backend-hover:hover {
	border: 2px solid transparent;
	background: linear-gradient(white, white) padding-box,
		linear-gradient(135deg, #ff6b9d, #c44569) border-box;
}

.sql-hover:hover {
	border: 2px solid transparent;
	background: linear-gradient(white, white) padding-box,
		linear-gradient(135deg, #f97316, #c2410c) border-box;
}

.framework-hover:hover {
	border: 2px solid transparent;
	background: linear-gradient(white, white) padding-box,
		linear-gradient(135deg, #b91c1c, #ee4344) border-box;
}

/* Subtle background pattern */
.skills-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(
		circle at 1px 1px,
		rgba(0, 0, 0, 0.1) 1px,
		transparent 0
	);
	background-size: 20px 20px;
	opacity: 0.03;
	pointer-events: none;
}

.skills-section {
	position: relative;
}

/*--------------------------------------------------------------
# Experience
--------------------------------------------------------------*/

.experience {
	background-color: #f7f8f9;
}

.experience .experience-title {
	font-size: 26px;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 20px;
	color: #000000;
}

.experience .experience-item {
	padding: 0 0 20px 20px;
	margin-top: -2px;
	border-left: 2px solid #0563bb;
	position: relative;
}

.experience .experience-item h4 {
	line-height: 18px;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	font-family: "Poppins", sans-serif;
	color: #0563bb;
	margin-bottom: 10px;
}

.experience .experience-item h5 {
	font-size: 16px;
	background: #f7f8f9;
	padding: 5px 15px;
	display: inline-block;
	font-weight: 600;
	margin-bottom: 10px;
}

.experience .experience-item ul {
	padding-left: 20px;
}

.experience .experience-item ul li {
	padding-bottom: 10px;
}

.experience .experience-item:last-child {
	padding-bottom: 0;
}

.experience .experience-item::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50px;
	left: -9px;
	top: 0;
	background: #fff;
	border: 2px solid #0563bb;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.project-item {
	display: flex;
	flex-direction: row;
	max-width: 1000px;
	margin: 40px auto;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(20, 20, 20, 0.603);
}

.project-item::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		0deg,
		transparent,
		transparent 20%,
		rgba(0, 0, 0, 0.74)
	);
	transform: rotate(-45deg);
	transition: all 0.5s ease;
	opacity: 0;
}

.project-item:hover {
	transform: scale(1.05);
	box-shadow: 0 0 20px rgba(20, 20, 20, 0.603);
}

.project-item:hover::before {
	overflow: hidden;
}

@media screen and (min-width: 1280px) {
	.project-item:hover::before {
		opacity: 1;
		transform: rotate(-45deg) translateY(820px);
	}
}

.project-img img {
	width: 100%;
	height: 100%;
	max-width: 500px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.project-img {
	overflow: hidden;
	flex-shrink: 0;
}

.project-img:hover img {
	transform: scale(1.08);
}

.project-about {
	padding: 30px 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-image: linear-gradient(
		135deg,
		rgb(54, 209, 220) 0%,
		rgb(91, 134, 229) 100%
	);
	color: #ffffff;
}

.project-about h3 {
	font-size: 1.8rem;
	margin-bottom: 10px;
	color: #2d3748;
	color: #ffffff;
}

.project-about p {
	margin-bottom: 16px;
	color: #4a5568;
	line-height: 1.6;
	font-size: 0.95rem;
	color: #ffffff;
}

.project-details {
	font-style: italic;
}

.tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
}

.tech-tag {
	background: linear-gradient(to right, #000000, #00000087);
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

.card-actions {
	display: flex;
	justify-content: right;
}

.btn {
	position: relative;
	display: inline-block;
	padding: 4px 30px !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	color: #ffffff !important;
	border: solid #ffffff 2px !important;
	background-color: transparent !important;
	font-weight: bold !important;
	overflow: hidden;
	transition: color 0.4s ease-out !important;
	font-size: 0.8rem;
}

.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: 0; /* background layer */
	transition: left 0.4s ease-out;
}

.btn:hover::before {
	left: 0;
}

.btn:hover span {
	color: rgb(91, 134, 229) !important;
	/* color: #000000; */
}

/* Text layer */
.btn span {
	position: relative;
	z-index: 1;
}

@media screen and (max-width: 1000px) {
	.project-item {
		flex-direction: column;
	}

	.project-img img {
		max-width: 100%;
		height: auto;
	}
}

/*--------------------------------------------------------------
# Certificate
--------------------------------------------------------------*/
#certificates {
	background-color: #f7f8f9;
}

.certificates {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	max-width: 1100px;
	margin: 40px auto;
}

@media (max-width: 600px) {
	.certificates {
		grid-template-columns: repeat(2, 1fr);
	}
}

.certificates a:hover {
	color: #fff;
}

.certificate {
	color: #fff;
	border-radius: 15px;
	padding: 20px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 180px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
	font-weight: bold;
	text-decoration: none;
}

.certificate.gold {
	background-image: linear-gradient(to right bottom, #c7a225, #ebda65);
}

.certificate.silver {
	background-image: linear-gradient(to right bottom, #949494, #eee);
}

.certificate:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.certificate p {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.certificate small {
	font-size: 0.8rem;
	opacity: 0.9;
}

.certificate .decoration {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 100px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
	background: #111827;
	color: #ffffff;
	font-size: 14px;
	text-align: center;
	padding: 30px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.contact {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 86vh;
}

footer h3 {
	font-size: 36px;
	font-weight: bold;
	font-family: "Poppins", sans-serif;
}

.contact-info {
	display: flex;
	gap: 20px;
}

.contact-info span {
	color: #61aaf9;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.social-items i {
	font-size: 2rem;
}

.social-items a {
	text-decoration: none;
	color: inherit;
}

@media screen and (max-width: 600px) {
	.contact-info {
		flex-direction: column;
		gap: 4px;
	}

	.contact-info p {
		margin: 0;
	}

	.social-icons {
		margin-top: 6px;
	}
}
