/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Brand palette (from hero-bg.jpg) + theme tokens
# Charcoal: #2F3031 | Deep charcoal: #1a1b1c | Red: #E22B2B | Red hover: #c72525
# Light: bg #fff, surface #fff, text #2F3031, border #e8e8e8, muted #5c5d5e
# Dark:  bg #1a1b1c, surface #2F3031, text #fff, border #404040, muted #9ca3af
--------------------------------------------------------------*/

/* Font System - Inter (single font across the whole site) */
:root {
	--font: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Theme: Light Mode (default) */
:root {
	--color-charcoal: #2F3031;
	--color-charcoal-deep: #1a1b1c;
	--color-red: #E22B2B;
	--color-red-hover: #c72525;

	--background-color: #ffffff;
	--default-color: var(--color-charcoal);
	--heading-color: var(--color-charcoal-deep);
	--accent-color: var(--color-red);
	--surface-color: #ffffff;
	--contrast-color: #ffffff;
	--border-color: #e8e8e8;
	--text-muted: #5c5d5e;
	--shadow-color: rgba(0, 0, 0, 0.08);
	--shadow-strong: rgba(0, 0, 0, 0.1);
}

:root {
	--nav-color: var(--text-muted);
	--nav-hover-color: var(--heading-color);
	--nav-mobile-background-color: var(--color-charcoal-deep);
	--nav-dropdown-background-color: var(--color-charcoal-deep);
	--nav-dropdown-color: #a8a9b4;
	--nav-dropdown-hover-color: #ffffff;
}

.light-background {
	--background-color: #fafafa;
	--surface-color: #ffffff;
}

.dark-background {
	--background-color: var(--color-charcoal-deep);
	--default-color: #ffffff;
	--heading-color: #ffffff;
	--surface-color: var(--color-charcoal);
	--contrast-color: #ffffff;
	--border-color: #404040;
	--text-muted: #9ca3af;
	--shadow-color: rgba(0, 0, 0, 0.2);
	--shadow-strong: rgba(0, 0, 0, 0.25);
}

/* Theme: Dark Mode (body.dark-mode) */
body.dark-mode {
	--background-color: var(--color-charcoal-deep);
	--default-color: #ffffff;
	--heading-color: #ffffff;
	--surface-color: var(--color-charcoal);
	--contrast-color: #ffffff;
	--border-color: #404040;
	--text-muted: #9ca3af;
	--shadow-color: rgba(0, 0, 0, 0.3);
	--shadow-strong: rgba(0, 0, 0, 0.4);
}

body.dark-mode .light-background {
	--background-color: var(--color-charcoal);
	--surface-color: #3d3e40;
}

/* Smooth scroll */
:root {
	scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
	color: var(--default-color);
	background-color: var(--background-color);
	font-family: var(--font);
	font-weight: 400;
	line-height: 1.6;
	font-size: 1rem;
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: var(--color-red-hover);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	font-family: var(--font);
	font-weight: 600;
	line-height: 1.3;
}

h1 {
	font-size: 2.5rem;
	font-weight: 700;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.125rem;
}

h6 {
	font-size: 1rem;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
	display: none;
	background: #df1529;
	color: #ffffff;
	text-align: left;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .sent-message {
	display: none;
	color: #ffffff;
	background: #059652;
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .loading {
	display: none;
	background: var(--surface-color);
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
}

.php-email-form .loading:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid var(--accent-color);
	border-top-color: var(--surface-color);
	animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
	0% {
		transform: rotate(0deg);
	}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
	color: var(--default-color);
	background-color: var(--background-color);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	padding: 0 15px;
	width: 300px;
	transition: all ease-in-out 0.3s;
	overflow-y: auto;
	z-index: 997;
	border-right: 1px solid var(--border-color);
}

.header .profile-img img {
	margin: 15px auto;
	display: block;
	width: 120px;
	border: 8px solid var(--border-color);
}

.header .logo {
	line-height: 1;
	margin-bottom: 15px;
}

.header .logo img {
	max-height: 32px;
	margin-right: 8px;
}

.header .logo h1 {
	font-size: 24px;
	margin: 0;
	font-weight: 700;
	color: var(--heading-color);
}

.header .social-links {
	margin: 0 0 20px 0;
}

.header .social-links a {
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--default-color) 12%, transparent);
	color: var(--default-color);
	margin: 0 2px;
	border-radius: 50%;
	text-align: center;
	width: 40px;
	height: 40px;
	transition: 0.3s;
}

.header .social-links a:hover {
	color: var(--contrast-color);
	background: var(--accent-color);
}

@media (min-width: 1200px) {

	.header~main,
	.header~#footer {
		margin-left: 300px;
	}
}

@media (max-width: 1199px) {
	.header {
		left: -100%;
	}
}

.header.header-show {
	left: 0;
}

.header .header-toggle {
	color: var(--contrast-color);
	background-color: var(--accent-color);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 9999;
	transition: background-color 0.3s;
}

.header .header-toggle:hover {
	color: var(--contrast-color);
	background-color: var(--color-red-hover);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
	display: none;
}

.navmenu {
	padding: 0;
	z-index: 9997;
}

.navmenu ul {
	list-style: none;
	padding: 0 0 20px 0;
	margin: 0;
}

.navmenu a,
.navmenu a:focus {
	color: var(--nav-color);
	padding: 15px 10px;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	display: flex;
	align-items: center;
	white-space: nowrap;
	transition: 0.3s;
	width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
	font-size: 20px;
	margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
	font-size: 12px;
	line-height: 0;
	margin-left: auto;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: 0.3s;
	flex-shrink: 0;
	background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
	background-color: var(--accent-color);
	color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
	color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
	color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
	background-color: var(--accent-color);
	color: var(--contrast-color);
	transform: rotate(180deg);
}

/*--------------------------------------------------------------
# Sidebar (header) only: white text, red icons, red text on hover/active
--------------------------------------------------------------*/
.header .navmenu a,
.header .navmenu a:focus {
	color: #ffffff;
}

.header .navmenu a:hover,
.header .navmenu .active,
.header .navmenu .active:focus {
	color: var(--accent-color);
}

.header .navmenu a .navicon {
	color: #ffffff;
}

.header .navmenu a:hover .navicon,
.header .navmenu a:focus .navicon,
.header .navmenu .active .navicon,
.header .navmenu .active:focus .navicon {
	color: var(--accent-color);
}

.header .navmenu .dropdown a,
.header .navmenu .dropdown a:focus {
	color: #ffffff;
}

.header .navmenu .dropdown a:hover,
.header .navmenu .dropdown .active,
.header .navmenu .dropdown .active:focus {
	color: var(--accent-color);
}

.navmenu .dropdown {
	display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
	color: var(--nav-dropdown-color);
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
	color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
	position: static;
	display: none;
	z-index: 99;
	padding: 5px 10px;
	margin: 5px 10px;
	background-color: var(--nav-dropdown-background-color);
	border: 1px solid var(--border-color);
	box-shadow: none;
	transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
	background-color: color-mix(in srgb, var(--default-color) 8%, transparent);
}

.navmenu .dropdown>.dropdown-active {
	display: block;
	background-color: color-mix(in srgb, var(--default-color) 4%, transparent);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
	color: var(--default-color);
	background-color: var(--background-color);
	font-size: 14px;
	padding: 40px 0;
	position: relative;
	border-top: 1px solid var(--border-color);
}

.footer .copyright p {
	margin-bottom: 0;
}

.footer .credits {
	margin-top: 4px;
	font-size: 13px;
	text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	overflow: hidden;
	background: var(--background-color);
	transition: all 0.6s ease-out;
}

#preloader:before {
	content: "";
	position: fixed;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	border: 6px solid var(--surface-color);
	border-color: var(--accent-color) transparent var(--accent-color) transparent;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: -15px;
	z-index: 99999;
	background-color: var(--accent-color);
	width: 44px;
	height: 44px;
	border-radius: 50px;
	transition: all 0.4s;
}

.scroll-top i {
	font-size: 24px;
	color: var(--contrast-color);
	line-height: 0;
}

.scroll-top:hover {
	background-color: var(--color-red-hover);
	color: var(--contrast-color);
}

.scroll-top.active {
	visibility: visible;
	opacity: 1;
	bottom: 15px;
}

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



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 60px 0;
	overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
	padding-bottom: 60px;
	position: relative;
}

.section-title h2 {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
}

.section-title h2:after {
	content: "";
	position: absolute;
	display: block;
	width: 50px;
	height: 3px;
	background: var(--accent-color);
	left: 0;
	bottom: 0;
}

.section-title p {
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--default-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
	width: 100%;
	min-height: 100vh;
	position: relative;
	padding: 80px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero:before {
	content: "";
	background: color-mix(in srgb, var(--background-color), transparent 70%);
	position: absolute;
	inset: 0;
	z-index: 2;
}

.hero .container {
	position: relative;
	z-index: 3;
}

.hero h2 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.2;
}

.hero p {
	margin: 5px 0 0 0;
	font-size: 1.375rem;
	line-height: 1.5;
}

.hero p span {
	letter-spacing: 1px;
	border-bottom: 2px solid var(--accent-color);
}

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

.hero .social-links a {
	font-size: 24px;
	display: inline-block;
	color: var(--text-muted);
	line-height: 1;
	margin-right: 20px;
	transition: 0.3s;
}

.hero .social-links a:hover {
	color: var(--accent-color);
}

.contact .social-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.contact .social-links a {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 14px;
	margin-right: 0;
	transition: 0.3s;
	color: var(--default-color);
}

.contact .social-links a i {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 8px;
	color: var(--text-muted);
	transition: 0.3s;
}

.contact .social-links a:hover i,
.contact .social-links a:hover {
	color: var(--accent-color);
}

.contact .social-links a:hover {
	color: var(--accent-color);
}

@media (max-width: 768px) {
	.hero h2 {
		font-size: 32px;
	}

	.hero p {
		font-size: 20px;
	}
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
	font-weight: 700;
	font-size: 24px;
}

.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: var(--accent-color);
	line-height: 0;
}



/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
	color: var(--heading-color);
	font-size: 26px;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 20px;
}

.resume .resume-item {
	padding: 0 0 20px 20px;
	margin-top: -2px;
	border-left: 2px solid var(--accent-color);
	position: relative;
}

.resume .resume-item h4 {
	line-height: 18px;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--heading-color);
	margin-bottom: 10px;
}

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

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

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

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

.resume .resume-item::before {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50px;
	left: -9px;
	top: 0;
	background: var(--background-color);
	border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
	background-color: var(--surface-color);
	box-shadow: 0px 0px 20px var(--shadow-strong);
	padding: 30px;
}

@media (max-width: 575px) {
	.contact .info-wrap {
		padding: 20px;
	}
}

.contact .info-item {
	margin-bottom: 40px;
}

.contact .info-item i {
	font-size: 20px;
	color: var(--accent-color);
	background: color-mix(in srgb, var(--accent-color), transparent 92%);
	width: 44px;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	transition: all 0.3s ease-in-out;
	margin-right: 15px;
}

.contact .info-item h3 {
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 5px;
}

.contact .info-item p {
	padding: 0;
	margin-bottom: 0;
	font-size: 14px;
}

.contact .info-item:hover i {
	background: var(--accent-color);
	color: var(--contrast-color);
}

.contact .php-email-form {
	background-color: var(--surface-color);
	height: 100%;
	padding: 30px;
	box-shadow: 0px 0px 20px var(--shadow-strong);
}

@media (max-width: 575px) {
	.contact .php-email-form {
		padding: 20px;
	}
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
	font-size: 0.875rem;
	padding: 10px 15px;
	box-shadow: none;
	border-radius: 0;
	color: var(--default-color);
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
	border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
	color: var(--text-muted);
}

.contact .php-email-form button[type=submit] {
	color: var(--contrast-color);
	background: var(--accent-color);
	border: 0;
	padding: 10px 30px;
	transition: 0.4s;
	border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
	background: var(--color-red-hover);
}

/*--------------------------------------------------------------
# Custom Portfolio Styles
--------------------------------------------------------------*/
.projects .portfolio-item {
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects-list .project-card,
.volunteering .volunteering-card {
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	padding: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	transition: all 0.3s ease-in-out;
}

.projects-list .project-card:hover,
.volunteering .volunteering-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 15px var(--shadow-color);
}

.projects-list .project-card h3,
.volunteering .volunteering-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 5px;
}

.projects-list .project-card p,
.volunteering .volunteering-card p {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
	/* Add your styles here */
}

/*--------------------------------------------------------------
# Dark Mode - Component overrides (theme variables set at top)
--------------------------------------------------------------*/
body.dark-mode .card {
	background-color: var(--surface-color);
	color: var(--default-color);
	border-color: var(--border-color);
}

body.dark-mode .card-subtitle {
	color: var(--text-muted) !important;
}

/* Bootstrap overrides - use theme accent for primary/outline buttons */
.btn-outline-primary {
	border-color: var(--accent-color);
	color: var(--accent-color);
}

.btn-outline-primary:hover {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--contrast-color);
}

/* Smooth transition for theme switch */
body,
.header,
.section,
.card {
	transition: background-color 0.3s, color 0.3s;
}

/*--------------------------------------------------------------
# RTL Support (same font system)
--------------------------------------------------------------*/
[dir="rtl"] {
	font-family: var(--font);
	text-align: right;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
	font-family: var(--font);
}

/* Sidebar Positioning in RTL */
[dir="rtl"] .header {
	border-right: none;
	border-left: 1px solid var(--border-color);
	left: auto;
	right: 0;
}

/* Main Content Offset in RTL */
@media (min-width: 1200px) {

	[dir="rtl"] .header~main,
	[dir="rtl"] .header~#footer {
		margin-left: 0;
		margin-right: 300px;
	}
}

/* Mobile View Reset */
@media (max-width: 1199px) {
	[dir="rtl"] .header {
		right: -100%;
		left: auto;
	}

	[dir="rtl"] .header.header-show {
		right: 0;
		left: auto;
	}

	[dir="rtl"] .header~main,
	[dir="rtl"] .header~#footer {
		margin-right: 0;
		margin-left: 0;
	}
}

[dir="rtl"] .navmenu a .navicon {
	margin-right: 0;
	margin-left: 10px;
}

[dir="rtl"] .navmenu a .toggle-dropdown {
	margin-left: 0;
	margin-right: auto;
}

[dir="rtl"] .section-title h2:after {
	left: auto;
	right: 0;
}

[dir="rtl"] .resume .resume-item {
	border-left: none;
	border-right: 2px solid var(--accent-color);
	padding-left: 0;
	padding-right: 20px;
}

[dir="rtl"] .resume .resume-item::before {
	left: auto;
	right: -9px;
}

[dir="rtl"] .contact .info-item i {
	margin-right: 0;
	margin-left: 15px;
}

/* Header Toggle Button in RTL */
[dir="rtl"] .header-toggle {
	right: auto;
	left: 15px;
}

.sidebar-footer {
	width: 100%;
	padding: 0 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.sidebar-btn {
	background: color-mix(in srgb, var(--default-color) 12%, transparent);
	color: var(--default-color);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.3s;
}

.sidebar-btn:hover {
	background-color: var(--accent-color);
	color: var(--contrast-color);
}

[dir="rtl"] .header-toggle {
	right: auto;
	left: 15px;
}

[dir="rtl"] .mobile-nav-active .header {
	right: 0;
	left: auto;
}

/*--------------------------------------------------------------
# Certifications Section
--------------------------------------------------------------*/
.cert-filters {
	padding: 0;
	margin: 0 auto 30px auto;
	list-style: none;
	text-align: center;
	background: var(--surface-color);
	border-radius: 50px;
	padding: 2px 15px;
	display: inline-block;
	box-shadow: var(--shadow-color);
	border: 1px solid var(--border-color);
}

.cert-filters li {
	cursor: pointer;
	display: inline-block;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	color: var(--default-color);
	transition: all 0.3s ease-in-out;
	margin: 0 4px;
	border-radius: 50px;
}

.cert-filters li:hover,
.cert-filters li.filter-active {
	color: #ffffff;
	background: var(--accent-color);
}

.cert-filters li:first-child {
	margin-left: 0;
}

.cert-filters li:last-child {
	margin-right: 0;
}

.cert-item {
	transition: 0.3s;
}

.cert-item.filter-hidden {
	display: none;
	opacity: 0;
	transform: scale(0.8);
}

.cert-item.filter-show {
	display: block;
	animation: showCert 0.4s ease forwards;
}

@keyframes showCert {
	from {
		opacity: 0;
		transform: scale(0.8);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.certifications .card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certifications .card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-strong) !important;
}