:root {
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --text: #b0d4ff;
    --text-muted: #b0d4ff;
    --primary: #40c4ff;
    --primary-glow: rgba(64, 196, 255, 0.35);
    --accent: #a78bfa;
    --card: rgba(20, 25, 45, 0.82);
    --border: rgba(100, 180, 255, 0.18);
    --shadow: 0 12px 48px rgba(0, 0, 0, 0.5);

    --scrollbar-bg: #0f0c29;
    --scrollbar-thumb: #1e1b41;
    --scrollbar-hover: #5967ff;
    --profile-border: rgba(64, 196, 255, 0.45);
    --profile-inner-glow: rgba(64, 196, 255, 0.2);
    --item-bg-muted: rgba(64, 196, 255, 0.07);
    --item-bg-hover: rgba(64, 196, 255, 0.18);
    --btn-grad-start: #3a9eff;
    --btn-grad-end: #7a5aff;
    --btn-shadow: rgba(58, 158, 255, 0.25);
    --btn-hover-shadow: rgba(64, 196, 255, 0.4);
	--btn-hover-active: rgba(64, 196, 255, 0.3);
    --white: #ffffff;
    --black: #000000;
}

.light-theme {
    --bg-gradient: linear-gradient(135deg, #f5f7fa, #e4e9f2, #dbe2ef);
    --card: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 102, 204, 0.12);
    --shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    
    --text: #1a202c;
    --text-muted: #4a5568;
    
    --primary: #0066cc; 
    --primary-glow: rgba(0, 102, 204, 0.2);
    --accent: #6b46c1;
    
    --scrollbar-bg: #e2e8f0;
    --scrollbar-thumb: #cbd5e0;
    --scrollbar-hover: #0066cc;
    
    --profile-border: rgba(0, 102, 204, 0.2);
    --profile-inner-glow: rgba(0, 0, 0, 0.05);
    --item-bg-muted: rgba(0, 102, 204, 0.05);
    --item-bg-hover: rgba(0, 102, 204, 0.1);
    
    --btn-grad-start: #0066cc;
    --btn-grad-end: #6b46c1;
    --btn-shadow: rgba(0, 102, 204, 0.2);
    --btn-hover-shadow: rgba(0, 102, 204, 0.3);
	--btn-hover-active: rgba(0, 102, 204, 0.3);
}


*, *::before, *::after {
    transition: background-color 0.5s ease, 
                color 0.4s ease, 
                border-color 0.4s ease, 
                box-shadow 0.5s ease, 
                filter 0.5s ease,
                opacity 0.5s ease;
}



html,
body {
	width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
	background: var(--scrollbar-thumb);
	border-radius: 10px;
	border: 3px solid var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--scrollbar-hover);
}


body {
    font-family: "Tektur", sans-serif;
	background: var(--bg-gradient);
	color: var(--text);
	line-height: 1.78;
	min-height: 100vh;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 40px);
}

.header {
	padding: clamp(100px, 14vw, 160px) 0 80px;
	margin-top: -2em;
}


.profile-layout {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(4rem, 8vw, 10rem);
	max-width: 1300px;
	margin: 0 auto;
}

.profile-left {
	flex: 1;
	max-width: 780px;
}

.profile-right {
	flex-shrink: 0;
}

.name {
	font-size: clamp(4rem, 10vw, 8rem);
	font-weight: 900;
	background: linear-gradient(90deg, var(--primary), var(--accent) 70%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0 -0.02em 0.1em 0;
	line-height: 0.9;
	letter-spacing: -0.015em;
}

.role {
	font-size: clamp(1.7rem, 4.5vw, 2.4rem);
	color: var(--primary);
	font-weight: 500;
	margin: 0.7rem 0 2.2rem;
	letter-spacing: 1.5px;
	opacity: 0.95;
}

.contact-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 1.8rem 4rem;
	font-size: clamp(1.05rem, 2.4vw, 1.18rem);
	color: var(--text-muted);
	margin-top: 0.8rem;
}

.contact-bar span {
	display: flex;
	align-items: center;
}

.contact-bar i {
	margin-right: 0.65em;
	color: var(--primary);
	font-size: 1.18em;
}

.contact-bar a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.25s ease;
}

.contact-bar a:hover {
	color: var(--primary);
}

.profile-pic {
	width: clamp(200px, 30vw, 450px);
	height: clamp(200px, 30vw, 450px);
	object-fit: cover;
	margin-left: -2em;
	border-radius: 50%;
	border: 8px solid var(--profile-border);
	box-shadow: 0 0 60px var(--primary-glow), inset 0 0 30px var(--profile-inner-glow);
	transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-pic:hover {
	transform: scale(1.09) translateY(-10px);
	box-shadow: 0 0 100px var(--primary-glow);
}

.objective {
	max-width: 1100px;
	margin: 5rem auto 7rem;
	font-size: clamp(1.25rem, 3.4vw, 1.65rem);
	color: var(--text-muted);
	text-align: center;
	line-height: 1.72;
	font-weight: 400;
}

main {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: clamp(40px, 6vw, 80px);
	padding-bottom: 8rem;
}

aside {
	position: sticky;
	top: 2.5rem;
	height: fit-content;
}

.sidebar-card {
	background: var(--card);
	backdrop-filter: blur(16px);
	border-radius: 18px;
	border: 1px solid var(--border);
	padding: clamp(22px, 3vw, 32px) clamp(20px, 2.8vw, 28px);
	box-shadow: var(--shadow);
	margin-bottom: 2.2rem;
	transition: transform 0.3s ease;
}

.sidebar-card:hover {
	transform: translateY(-6px);
}

h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.2rem);
	color: var(--primary);
	margin-bottom: 1.2rem;
	font-weight: 600;
	position: relative;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), transparent);
	border-radius: 2px;
}


.strengths-list {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.strength-item {
	background: var(--item-bg-muted);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.1rem 1.3rem;
	color: var(--text-muted);
	font-size: clamp(0.9rem, 2vw, 0.98rem);
	line-height: 1.6;
}

.strength-title {
	color: var(--primary);
	font-weight: 600;
	font-size: clamp(1rem, 2.4vw, 1.08rem);
	margin-bottom: 0.45rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.strength-title i {
	font-size: 1.15rem;
	opacity: 0.9;
}

.skills-category {
	margin-bottom: 1.2rem;
}

.skills-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.4rem;
}

.skill-tag {
	background: var(--item-bg-muted);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 0.32rem 0.8rem;
	font-size: clamp(0.82rem, 1.8vw, 0.9rem);
	color: var(--text-muted);
	transition: all 0.22s ease;
	white-space: nowrap;
}

.skill-tag:hover {
	background: var(--item-bg-hover);
	color: var(--primary);
	border-color: var(--primary);
	transform: translateY(-1px);
}

.skill-tag strong {
	color: var(--text);
}

.timeline-item {
	position: relative;
	padding-left: 36px;
	margin-bottom: 1.8rem;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 6px;
	width: 16px;
	height: 16px;
	background: var(--primary);
	border-radius: 50%;
	border: 4px solid var(--card);
	box-shadow: 0 0 14px var(--primary-glow);
}

.timeline-item::after {
	content: '';
	position: absolute;
	left: 12px;
	top: 22px;
	bottom: -20px;
	width: 2px;
	background: var(--border);
}

.timeline-item:last-child::after {
	display: none;
}

.date {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
}

.title {
	font-size: 1.18rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.subtitle {
	color: var(--accent);
	font-weight: 500;
	font-size: 0.97rem;
}

.desc {
	margin-top: 0.7rem;
	color: var(--text-muted);
	font-size: clamp(1rem, 2.4vw, 1.18rem);
	line-height: 1.68;
}

.desc ul {
	padding-left: 1.5rem;
	margin-top: 0.8rem;
	list-style: disc;
}

.desc li {
	margin-bottom: 0.55rem;
}

.cert-item {
	margin-bottom: 1.5rem;
}

.cert-item strong {
	color: var(--text);
	font-size: clamp(1.05rem, 2.5vw, 1.22rem);
	display: block;
	margin-bottom: 0.4rem;
}

.cert-desc {
	font-size: clamp(0.98rem, 2.2vw, 1.08rem);
	color: var(--text-muted);
	line-height: 1.65;
	opacity: 0.92;
}


@media (max-width: 1023px) {
	.profile-layout {
		flex-direction: column-reverse;
		text-align: center;
		gap: 3.2rem;
		justify-content: center;
		align-items: center;
	}

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

	.name {
		font-size: clamp(4rem, 12vw, 6.8rem);
	}

	.role {
		font-size: clamp(1.7rem, 5.5vw, 2.2rem);
	}

	.contact-bar {
		justify-content: center;
		gap: 1.8rem 3.5rem;
		font-size: clamp(1.1rem, 3vw, 1.2rem);
		width: 100%;
	}

	.profile-pic {
		width: clamp(240px, 55vw, 340px);
		height: clamp(240px, 55vw, 340px);
		margin-left: 0 !important;
		margin-top: 1rem;
		align-self: center;
	}

	.objective {
		text-align: center;
		margin: 4rem auto 6rem;
	}

	main {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	aside {
		position: static;
	}
}

@media (max-width: 767px) {
	.header {
		padding: 80px 0 60px;
		margin-top: -1.5em;
	}

	.name {
		font-size: clamp(3.6rem, 13vw, 6rem);
	}

	.role {
		font-size: clamp(1.6rem, 6vw, 2rem);
		margin: 0.6rem 0 1.8rem;
	}

	.contact-bar {
		flex-direction: column;
		gap: 1.4rem;
		font-size: clamp(1rem, 3.5vw, 1.12rem);
	}

	.profile-pic {
		width: clamp(220px, 65vw, 300px);
		height: clamp(220px, 65vw, 300px);
		margin-left: 0 !important;
		margin-top: 1.5rem;
		align-self: center;
	}

	.objective {
		font-size: clamp(1.2rem, 4.5vw, 1.4rem);
		margin: 3.5rem auto 5rem;
	}

	.sidebar-card {
		padding: 20px 18px;
		margin-bottom: 1.8rem;
	}

	h2 {
		font-size: clamp(2rem, 35vw, 2.5rem);
	}

	.strength-item {
		padding: 1rem 1.2rem;
		font-size: clamp(0.9rem, 2.5vw, 0.96rem);
	}

	.strength-title {
		font-size: clamp(1rem, 3vw, 1.05rem);
	}

	.skill-tag {
		font-size: clamp(0.85rem, 2.5vw, 0.9rem);
		padding: 0.3rem 0.75rem;
	}

	.contact-bar span {
		font-size: 1rem;
		margin: 0 auto;
		text-align: center;
		justify-content: center;
		display: flex;
	}
}

@media (max-width: 480px) {
	.profile-pic {
		width: clamp(200px, 70vw, 260px);
		height: clamp(200px, 70vw, 260px);
		margin-top: 1.2rem;
		align-self: center;
	}

	.name {
		font-size: clamp(3.2rem, 14vw, 5.2rem);
	}

	.role {
		font-size: clamp(1.4rem, 7vw, 1.8rem);
	}

	.objective {
		font-size: clamp(1.15rem, 5vw, 1.3rem);
		margin: 3rem auto 4rem;
	}

	.contact-bar span {
		font-size: 1rem;
		margin: 0 auto;
		text-align: center;
		justify-content: center;
		display: flex;
	}

	h2 {
		font-size: clamp(1.2rem, 35vw, 1.8rem);
	}
}

@media print {
	body {
		background: white;
		color: black;
	}

	.name,
	h2,
	.title,
	.subtitle,
	.strength-title {
		color: black !important;
	}

	.profile-pic {
		border: 4px solid #0066cc;
		filter: grayscale(25%);
	}

	a {
		color: black;
		text-decoration: underline;
	}

	.sidebar-card,
	.timeline-item::after {
		border-color: #ccc;
		background: transparent;
		backdrop-filter: none;
		box-shadow: none;
	}

	.timeline-item::before {
		background: #0066cc;
		border-color: white;
	}

	.skill-tag {
		border: 1px solid #ccc;
		background: #f9f9f9;
	}

	.download-section {
		display: none;
	}

	main {
		padding-bottom: 0;
	}
}

.download-section {
	text-align: center;
	margin: 3rem 0 5rem;
	padding: 2rem 0;
}

.download-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.8rem;
}

.download-subtitle {
	font-size: 1.05rem;
	color: var(--text-muted);
	margin-bottom: 1.8rem;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.1rem 2.8rem;
	font-size: clamp(1.1rem, 2.4vw, 1.25rem);
	font-weight: 600;
	color: var(--white);
	background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.35s ease;
	text-decoration: none;
	box-shadow: 0 6px 25px var(--btn-shadow);
}

.download-btn:hover {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	transform: translateY(-3px);
	box-shadow: 0 12px 40px var(--btn-hover-shadow);
}

.download-btn:active {
	transform: translateY(0);
	box-shadow: 0 6px 20px var(--btn-hover-active);
}

.download-btn i {
	font-size: 1.4rem;
}

@media (max-width: 767px) {
	.download-section {
		margin: 2rem 0 4rem;
		padding: 2rem 0;
	}

	.download-title {
		font-size: 1.35rem;
	}

	.download-subtitle {
		font-size: 1rem;
	}

	.download-btn {
		padding: 1rem 2.4rem;
		font-size: 1.15rem;
	}
}


/*================================== FOOTER MEDIAS ======================================= */
@media (min-width: 1100px) {
	.footer-container {
		gap: 6rem;
	}

	.links {
		gap: 3rem 4rem;
	}
}


@media (max-width: 767px) {
	.footer-container {
		grid-template-columns: 1fr 3fr;
		gap: 4rem;
		align-items: start;
	}

	.left {
		align-items: flex-start;
		text-align: left;
	}

	.tech-icons,
	.social-links {
		justify-content: flex-start;
	}

	.links {
		grid-template-columns: repeat(4, 1fr);
		text-align: left;
	}
}