:root {
	--bg-color: #1F2123;
	--accent: #044A67;
	--accent-rgb: 4, 74, 103;
	--text-main: #A8B1B7;
	--text-secondary: #D3DADE;
	--border-color: #b1babf1a;
	--banner-gradient-start: #001220;
	--banner-gradient-end: #044A67;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', sans-serif;
}

body {
	background: var(--bg-color);
	color: var(--text-main);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

section {
	min-height: 100vh;
	min-height: 100svh;
}

section[id] {
	scroll-margin-top: 6.5rem;
}

.section-anchor {
	display: block;
	height: 0;
	pointer-events: none;
	scroll-margin-top: 6.5rem;
}

.header {
	padding: 1.5rem 5%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	width: 100%;
	background: var(--bg-color);
	z-index: 1000;
}

.mobile-header-title {
	display: none;
}

.banner {
	min-height: 100vh;
	min-height: 100svh;
	position: relative;
	overflow: hidden;
	background: linear-gradient(45deg, var(--banner-gradient-start), var(--banner-gradient-end));
	display: flex;
	align-items: center;
}

.particles-container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
}

.particle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	animation: float 15s infinite linear;
	mix-blend-mode: screen;
	filter: blur(1px);
}

@keyframes float {
	0%, 100% {
		transform: translateY(0) translateX(0) scale(1);
		opacity: 0.8;
	}
	25% {
		transform: translateY(-20vh) translateX(10vw) scale(0.8);
		background: rgba(255,100,100,0.4);
	}
	50% {
		transform: translateY(10vh) translateX(-10vw) scale(1.2);
		background: rgba(100,255,100,0.4);
	}
	75% {
		transform: translateY(-10vh) translateX(15vw) scale(0.9);
		background: rgba(100,100,255,0.4);
	}
}

.banner-content {
	position: relative;
	z-index: 1;
	padding: clamp(7rem, 12vh, 10rem) 5% clamp(3rem, 8vh, 6rem);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

.profile-img {
	width: clamp(220px, 32vw, 350px);
	height: clamp(220px, 32vw, 350px);
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(255,255,255,0.1);
	box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.5);
	margin-left: auto;
	transition: transform 0.3s ease;
}

.profile-img:hover {
	transform: scale(1.05);
}

.banner-text h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	color: #fff;
	margin-bottom: 1rem;
	text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
}

@media (max-width: 768px) {
	.banner-content {
		grid-template-columns: 1fr;
		text-align: center;
		padding-top: 7.5rem;
	}

	.banner-text {
		margin-bottom: 2rem;
	}

	.profile-img {
		margin: 2rem auto;
		width: clamp(200px, 54vw, 250px);
		height: clamp(200px, 54vw, 250px);
	}
}

.about {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background: linear-gradient(
	145deg,
	rgba(var(--accent-rgb), 0.03) 0%,
	var(--bg-color) 100%
	);
	padding: clamp(5rem, 10vh, 6.5rem) 0 clamp(1.25rem, 3vh, 3rem);
}

.about-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 5%;
}

.content-wrapper {
	width: 100%;
}

.section-title {
	font-size: 2.5rem;
	color: var(--text-secondary);
	margin-bottom: clamp(1.25rem, 3vh, 3rem);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.title-decorator {
	width: 60px;
	height: 4px;
	background: var(--accent);
	border-radius: 2px;
}

.content-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4rem;
	align-items: center;
}

.lead-text {
	font-size: 1.8rem;
	line-height: 1.4;
	color: var(--text-secondary);
	margin-bottom: clamp(1rem, 2.5vh, 3rem);
	position: relative;
	padding-left: 2rem;
}

.lead-text::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 3px;
	background: var(--accent);
}

.key-points {
	display: grid;
	gap: clamp(0.9rem, 1.8vh, 2rem);
}

.point {
	display: flex;
	gap: 1.5rem;
	padding: clamp(0.9rem, 1.8vh, 1.5rem);
	background: rgba(var(--accent-rgb), 0.05);
	border-radius: 12px;
	border: 1px solid var(--border-color);
	transition: transform 0.3s ease;
}

.point:hover {
	transform: translateY(-5px);
	border-color: var(--accent);
}

.icon {
	font-size: 2rem;
	color: var(--accent);
	flex-shrink: 0;
}

.point-content h3 {
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.point-content p {
	color: var(--text-main);
	line-height: 1.6;
}

.decorative-aside {
	position: relative;
	height: 100%;
	width: 1px;
}

.line-grid {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.vertical-line {
	width: 1px;
	height: 100%;
	background: var(--border-color);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.horizontal-line {
	width: 100%;
	height: 1px;
	background: var(--border-color);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	.about {
		padding: 6.5rem 0 2.5rem;
	}

	.content-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.lead-text {
		font-size: 1.4rem;
		padding-left: 1rem;
	}

	.point {
		padding: 1rem;
		gap: 1rem;
	}

	.decorative-aside {
		display: none;
	}
}

@media (max-height: 860px) and (min-width: 769px) {
	.about {
		padding: 5rem 0 1.25rem;
	}

	.about .section-title {
		font-size: 2.2rem;
		margin-bottom: 1.25rem;
	}

	.about .lead-text {
		font-size: 1.5rem;
		margin-bottom: 1.25rem;
	}

	.about .key-points {
		gap: 0.9rem;
	}

	.about .point {
		padding: 0.9rem;
	}
}

.highlight {
	color: var(--text-main);
	font-weight: 700;
	text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

footer {
	padding: 0 5% 1.5rem;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(4, 74, 103, 0.08) 100%),
		var(--bg-color);
	border-top: 1px solid var(--border-color);
}

.contact-section {
	min-height: 100vh;
	min-height: 100svh;
	max-width: min(1400px, 96vw);
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.85rem;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.footer-name {
	font-size: clamp(1.8rem, 4.4vw, 3rem);
	color: var(--text-secondary);
	margin-bottom: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.social-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
	width: 100%;
}

.social-link {
	color: var(--text-secondary);
	text-decoration: none;
	background: rgba(4, 74, 103, 0.15);
	border: 1px solid rgba(4, 74, 103, 0.3);
	padding: 0.8rem 1rem;
	border-radius: 999px;
	transition: all 0.3s ease;
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	line-height: 1.2;
	flex: 1 1 180px;
	max-width: 320px;
	min-width: 0;
}

.social-link:hover {
	color: #fff;
	background: rgba(4, 74, 103, 0.5);
	transform: translateY(-2px);
}

.social-link:focus-visible {
	outline: 2px solid var(--text-secondary);
	outline-offset: 2px;
}

.footer-email {
	color: var(--text-secondary);
	display: block;
	font-size: clamp(1.05rem, 2.3vw, 1.4rem);
	transition: color 0.3s ease;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.footer-email:hover {
	color: #fff;
}

.email-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.copy-email-btn {
	border: 1px solid rgba(4, 74, 103, 0.35);
	background: rgba(4, 74, 103, 0.2);
	color: var(--text-secondary);
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	font-size: 0.92rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.copy-email-btn:hover {
	background: rgba(4, 74, 103, 0.4);
	transform: translateY(-1px);
}

.copy-email-btn:focus-visible {
	outline: 2px solid var(--text-secondary);
	outline-offset: 2px;
}

.copy-status {
	min-height: 1.3rem;
	color: var(--text-main);
	font-size: 0.92rem;
}

.back-to-top {
	color: var(--text-secondary);
	text-decoration: none;
	border-bottom: 1px dashed rgba(177, 186, 191, 0.45);
	padding-bottom: 0.15rem;
}

.back-to-top:hover {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.75);
}

.copyright {
	color: var(--text-main);
	font-size: clamp(0.95rem, 1.8vw, 1.1rem);
	opacity: 0.7;
	letter-spacing: 0.3px;
}

@media (max-width: 768px) {
	footer {
		padding: 0 1rem 1.25rem;
	}

	.contact-section {
		max-width: min(100%, 96vw);
		padding: 1.25rem 0.5rem;
	}

	.social-link {
		flex-basis: 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.timeline::before {
		left: 20px;
	}

	.timeline-item,
	.timeline-item:nth-child(odd),
	.timeline-item:nth-child(even) {
		width: 100%;
		left: 0;
		text-align: left;
		padding-left: 40px;
	}

	.experience-dot {
		left: 4px !important;
		right: auto !important;
	}
}

/* Projects Section */
.projects-section {
	min-height: 100vh;
	min-height: 100svh;
	width: 100%;
	padding: clamp(6.5rem, 10vh, 8.25rem) 20px clamp(3rem, 6vh, 4.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: var(--bg-color);
	color: var(--text-main);
	overflow-x: hidden;
	position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.projects-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(90deg, var(--text-secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.projects-section .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-main);
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

/* Project Card */
.project-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 25px;
    min-height: 280px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(4, 74, 103, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 20px rgba(4, 74, 103, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    position: relative;
}

.project-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.project-card:hover h3::after {
    width: 80px;
}

/* Tags */
.project-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.project-tags span {
    background: rgba(4, 74, 103, 0.2);
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(4, 74, 103, 0.3);
}

.project-card:hover .project-tags span {
    background: rgba(4, 74, 103, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Links */
.project-link {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(4, 74, 103, 0.2);
    border: 1px solid rgba(4, 74, 103, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.project-link::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.7s ease;
}

.project-link:hover {
    background: rgba(4, 74, 103, 0.4);
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(4, 74, 103, 0.4);
}

.project-link:hover::before {
    left: 100%;
}

/* Animations */
.animate-card {
    animation: fadeUp 0.8s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }
.project-card:nth-child(4) { animation-delay: 0.8s; }
.project-card:nth-child(5) { animation-delay: 1s; }
.project-card:nth-child(6) { animation-delay: 1.2s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .project-card {
        padding: 25px 20px;
    }

    .projects-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 60px 15px;
    }

    .project-card {
        padding: 20px 15px;
    }

    .project-tags span {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .project-link {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
	.projects-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.project-card {
		padding: 18px 12px;
	}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@media (max-width: 768px) {
	.banner {
		padding-top: 3rem;
		grid-template-columns: 1fr;
		text-align: center;
	}

	.profile-img {
		margin: 2rem auto;
		width: 250px;
		height: 250px;
	}

	.banner-text h1 {
		font-size: 2.5rem;
	}
}

/* Desktop Navigation */
.desktop-nav {
	display: flex;
	gap: 2.5rem;
}

.nav-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-link:hover {
	color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.desktop-nav {
		display: none;
	}
}

/* Facts Section */
.facts {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    padding: 8rem 5%;
    overflow: hidden;
}

.facts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.facts-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-heading {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #B1BABF;
    margin-bottom: 4rem;
    position: relative;
}

.heading-accent {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(4, 74, 103, 0.35);
    font-weight: 600;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    padding: 0;
}

.fact-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    border-radius: 20px;
    padding: 2.5rem;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(4, 74, 103, 0.25);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    isolation: isolate;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(4, 74, 103, 0.16) 0%, transparent 72%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.fact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(4, 74, 103, 0.2), rgba(177, 186, 191, 0.7), rgba(4, 74, 103, 0.2));
    transform: scaleX(0.25);
    transform-origin: center;
    opacity: 0.55;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.fact-card:hover,
.fact-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(4, 74, 103, 0.26);
    border-color: rgba(4, 74, 103, 0.45);
}

.fact-card:hover::before,
.fact-card:focus-within::before {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
}

.fact-card:hover::after,
.fact-card:focus-within::after {
    transform: scaleX(1);
    opacity: 1;
}

.fact-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 74, 103, 0.2);
    border: 1px solid rgba(177, 186, 191, 0.2);
}

.fact-card:hover .fact-icon,
.fact-card:focus-within .fact-icon {
    transform: scale(1.08) rotate(3deg);
    background: rgba(4, 74, 103, 0.32);
    box-shadow: 0 8px 20px rgba(4, 74, 103, 0.25);
}

.fact-stats {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.fact-header {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #E5EDF1 0%, #73B0CC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    overflow: visible;
    line-height: 1.15;
    padding-bottom: 0.18rem;
    letter-spacing: 0.3px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.fact-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #044A67, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.fact-card:hover .fact-header::after {
    transform: translateX(0);
}

.fact-unit {
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    color: #C4D0D7;
    opacity: 0.95;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.fact-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #044A67 0%, transparent 100%);
    margin: 1.25rem 0;
    transition: width 0.3s ease;
    border-radius: 999px;
}

.fact-card:hover .fact-divider,
.fact-card:focus-within .fact-divider {
    width: 110px;
}

.fact-title {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    color: #B1BABF;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.fact-description {
    font-size: 1rem;
    color: #8D8F91;
    line-height: 1.75;
    opacity: 0.95;
    margin-top: auto;
}

.fact-inline-link {
	color: #A3D5EC;
	font-weight: 600;
}

.fact-inline-link:hover {
	color: #D8F0FB;
}

.fact-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(4, 74, 103, 0.3) 0%, transparent 70%);
    filter: blur(54px);
    z-index: 0;
    transition: all 0.4s ease;
    opacity: 0;
    top: -30px;
    right: -30px;
}

.fact-card:hover .fact-glow,
.fact-card:focus-within .fact-glow {
    opacity: 0.6;
    transform: scale(1.2);
}

/* Animations */
.animate-fact {
    animation: fadeInUp 0.8s ease forwards;
}

.fact-card:nth-child(1) { animation-delay: 0.2s; }
.fact-card:nth-child(2) { animation-delay: 0.4s; }
.fact-card:nth-child(3) { animation-delay: 0.6s; }
.fact-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Number counting animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .facts {
        padding: 4rem 5%;
    }

    .facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .fact-card {
        padding: 2rem;
    }

    .fact-icon {
        font-size: 2rem;
        width: 2.8rem;
        height: 2.8rem;
    }

    .fact-header {
        font-size: clamp(1.65rem, 5.2vw, 2.4rem);
    }

    .fact-unit {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .fact-card {
        padding: 1.5rem;
    }

    .fact-unit {
        font-size: 0.85rem;
    }

    .fact-title {
        font-size: 1.2rem;
    }

    .fact-description {
        font-size: 0.9rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }
}

/* Experiences Section */
.experiences {
	min-height: 100vh;
	min-height: 100svh;
	padding: 5rem 5%;
	position: relative;
	overflow: hidden;
}

.experiences::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.experiences h2 {
    font-size: 2.5rem;
    color: #B1BABF;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.experiences h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #044A67;
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 20px;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom,
								transparent 0%,
								#044A67 10%,
								#044A67 90%,
								transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: calc(50% - 40px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 40px);
    padding-left: 60px;
}

.experience-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(177, 186, 191, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(4, 74, 103, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(4, 74, 103, 0.3);
    border-color: rgba(4, 74, 103, 0.3);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-type {
    color: #044A67;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(4, 74, 103, 0.15);
    border-radius: 15px;
}

.experience-card h3 {
    color: #B1BABF;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-company {
    color: #8D8F91;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.experience-duration {
    color: #8EC4DB;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-description {
    color: #8D8F91;
    line-height: 1.6;
    font-size: 0.95rem;
}

.experience-dot {
    width: 20px;
    height: 20px;
    background: #044A67;
    border: 4px solid #1F2123;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -50px;
    box-shadow: 0 0 0 4px rgba(4, 74, 103, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .experience-dot {
    left: auto;
    right: -50px;
}

.timeline-item:nth-child(even) .experience-dot {
    left: -50px;
    right: auto;
}

.experience-card:hover ~ .experience-dot {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(4, 74, 103, 0.4), 0 0 15px rgba(4, 74, 103, 0.5);
}

/* Connector line from dot to card */
.experience-connector {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #044A67, rgba(4, 74, 103, 0.3));
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .experience-connector {
    right: -30px;
}

.timeline-item:nth-child(even) .experience-connector {
    left: -30px;
}

.experience-card:hover ~ .experience-connector {
    width: 40px;
    background: linear-gradient(90deg, #044A67, #06719c);
}

/* Animations */
.animate-timeline {
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }

    .experience-dot {
        left: 6px !important;
        right: auto !important;
    }

    .experience-connector {
        left: -30px !important;
        right: auto !important;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .experience-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .experiences h2 {
        font-size: 2rem;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .experience-dot {
        width: 16px;
        height: 16px;
        left: 2px !important;
    }

    .experience-card {
        padding: 1.2rem;
    }

    .experience-type {
        font-size: 0.8rem;
    }

    .experience-card h3 {
        font-size: 1.1rem;
    }

    .experience-company {
        font-size: 1rem;
    }
}

/* Mobile Menu Button */
.burger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 0;
    transition: 0.4s;
    border-radius: 2px;
}

.burger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    height: 100svh;
    width: 280px;
    background: rgba(31, 33, 35, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 90px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
    z-index: 1001;
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(177, 186, 191, 0.1);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent);
    padding-left: 10px;
}

.mobile-link:hover::before {
    width: 20px;
}

/* Overlay when mobile menu is active */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1.75rem 5%;
    }

	.mobile-header-title {
		display: block;
		color: var(--text-secondary);
		font-weight: 700;
		font-size: 1rem;
		letter-spacing: 0.4px;
		text-align: center;
	}

    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

	.social-links {
		flex-wrap: wrap;
		gap: 0.75rem 1rem;
	}
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}
