@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
		sans-serif;
	line-height: 1.5;
	color: #1e293b;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Main container */
.main-container {
	min-height: 100vh;
	background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

/* Header styles */
.header-container {
	position: relative;
}

.header-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(20, 184, 166, 0.2),
		transparent
	);
	height: 16rem;
}

/* Profile section */
.profile-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3rem 0 2rem;
	position: relative;
	opacity: 0;
	animation: fadeInProfile 0.8s ease-out forwards;
}

@keyframes fadeInProfile {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.profile-image-container {
	position: relative;
	margin-bottom: 1rem;
}

.profile-image-glow {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-color: rgba(20, 184, 166, 0.2);
	filter: blur(1.5rem);
	transform: translateY(-25%) scale(1.5);
}

.profile-image-wrapper {
	position: relative;
}

.profile-image {
	width: 140px;
	height: 140px;
	border-radius: 9999px;
	border: 4px solid white;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
	object-fit: cover;
}

.profile-name {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.profile-title {
	color: #0d9488;
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.profile-location {
	color: #475569;
	text-align: center;
	max-width: 20rem;
	margin-bottom: 1rem;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background-color: #f1f5f9;
	color: #475569;
	transition: all 0.2s;
}

.social-link:hover {
	background-color: #0d9488;
	color: white;
}

.social-link img {
	width: 1.25rem;
	height: 1.25rem;
	filter: invert(35%) sepia(11%) saturate(1137%) hue-rotate(176deg)
		brightness(92%) contrast(89%);
}

.social-link:hover img {
	filter: brightness(0) invert(1);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Card styles */
.card {
	background-color: white;
	border-radius: 0.75rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	overflow: hidden;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

.card-content {
	padding: 1.5rem;
}

.card-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	color: #1e293b;
}

.card-title i {
	margin-right: 0.5rem;
	color: #0d9488;
}

.card-title img {
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.5rem;
	filter: invert(48%) sepia(95%) saturate(389%) hue-rotate(134deg)
		brightness(88%) contrast(94%);
}

/* Location card */
.location-card {
	padding: 0;
}

.location-info {
	margin-bottom: 0.75rem;
}

.location-name {
	font-weight: 600;
	color: #334155;
}

.location-address {
	color: #64748b;
	font-size: 0.875rem;
}

.map-container {
	width: 100%;
	height: 14rem;
	position: relative;
}

.map-iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Grid container */
.grid-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.grid-container {
		grid-template-columns: 1fr 1fr;
	}
}

/* Positions and Education */
.positions-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.position-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.position-title {
	color: #0d9488;
	font-weight: 600;
	font-size: 1.125rem;
}

.position-org {
	color: #475569;
	font-size: 0.9375rem;
}

.education-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.education-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.education-item p {
	font-size: 0.9375rem;
	color: #475569;
}

.bullet-point {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background-color: #0d9488;
	margin-top: 0.375rem;
	margin-right: 0.5rem;
}

/* Contact section */
.contact-card {
	margin-top: 1.5rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.contact-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.contact-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-radius: 0.75rem;
	background-color: #f8fafc;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s;
}

.contact-item:hover {
	background-color: #f0fdfa;
	transform: translateY(-2px);
}

.contact-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
}

.contact-icon img {
	width: 1.5rem;
	height: 1.5rem;
}

.phone-icon {
	background-color: #f0fdfa;
	color: #0d9488;
}

.phone-icon img {
	filter: invert(48%) sepia(95%) saturate(389%) hue-rotate(134deg)
		brightness(88%) contrast(94%);
}

.facebook-icon {
	background-color: #eff6ff;
	color: #2563eb;
}

.facebook-icon img {
	filter: invert(40%) sepia(57%) saturate(2242%) hue-rotate(205deg)
		brightness(103%) contrast(96%);
}

.messenger-icon {
	background-color: #eff6ff;
	color: #2563eb;
}

.messenger-icon img {
	filter: invert(40%) sepia(57%) saturate(2242%) hue-rotate(205deg)
		brightness(103%) contrast(96%);
}

.youtube-icon {
	background-color: #fef2f2;
	color: #dc2626;
}

.youtube-icon img {
	filter: invert(14%) sepia(89%) saturate(4771%) hue-rotate(355deg)
		brightness(95%) contrast(98%);
}

.contact-label {
	font-size: 0.875rem;
	color: #64748b;
	margin-bottom: 0.25rem;
}

.contact-value {
	font-weight: 600;
	color: #334155;
	font-size: 1rem;
}

/* Footer */
.footer {
	background-color: white;
	padding: 1.5rem 0;
	border-top: 1px solid #e2e8f0;
}

.footer-text {
	text-align: center;
	color: #64748b;
	font-size: 0.875rem;
}

/* Content container */
.content-container {
	padding-bottom: 5rem;
	opacity: 0;
	animation: fadeIn 0.8s ease-out 0.3s forwards;
}

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

.language-switcher {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 10;
}

.lang-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem;
	border: none;
	border-radius: 0.5rem;
	background-color: rgba(255, 255, 255, 0.9);
	color: #475569;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s;
	backdrop-filter: blur(4px);
}

.lang-toggle:hover {
	background-color: white;
	transform: translateY(-1px);
}

.lang-icon {
	width: 1.25rem;
	height: 1.25rem;
	opacity: 0.7;
}

.current-lang {
	font-weight: 500;
}

.lang-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.25rem;
	background-color: white;
	border-radius: 0.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s;
}

.lang-dropdown.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-option {
	display: block;
	width: 100%;
	padding: 0.5rem 1rem;
	border: none;
	background: none;
	color: #475569;
	font-size: 0.875rem;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s;
}

.lang-option:first-child {
	border-radius: 0.5rem 0.5rem 0 0;
}

.lang-option:last-child {
	border-radius: 0 0 0.5rem 0.5rem;
}

.lang-option:hover {
	background-color: #f8fafc;
	color: #0d9488;
}

.lang-option.active {
	color: #0d9488;
	font-weight: 500;
}
