* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
	--primary-color: #3498db;
	--secondary-color: #2c3e50;
	--accent-color: #e74c3c;
	--light-color: #ecf0f1;
	--dark-color: #2c3e50;
	--text-color: #333;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
	background-color: #f5f7fa;
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header Styles */
header {
	background: linear-gradient(135deg, var(--primary-color),
		var(--secondary-color));
	color: white;
	padding: 60px 0;
	text-align: center;
}

.profile-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.profile-img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	border: 5px solid white;
	box-shadow: var(--shadow);
}

.profile-info h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.profile-info p {
	font-size: 1.2rem;
	opacity: 0.9;
}

/* Main Content Styles */
main {
	padding: 60px 0;
}

.section {
	background: white;
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: var(--shadow);
}

.section-title {
	color: var(--secondary-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--light-color);
	font-size: 1.8rem;
}

/* Skills Tree Styles */
.tree-container {
	padding-left: 20px;
}

.tree {
	list-style-type: none;
	position: relative;
}

.tree li {
	margin: 10px 0;
	position: relative;
	padding-left: 30px;
}

.tree li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 20px;
	height: 2px;
	background: var(--primary-color);
}

.tree li:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--primary-color);
}

.tree li:last-child:after {
	height: 10px;
}

.tree .category {
	font-weight: bold;
	color: var(--secondary-color);
	margin-bottom: 5px;
	display: block;
}

.tree .skills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 5px;
}

.skill-tag {
	background: var(--light-color);
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.9rem;
}

/* Social Media Styles */
.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: white;
	border-radius: 50%;
	text-decoration: none;
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background: var(--secondary-color);
	transform: translateY(-5px);
}

/* Contact Form Styles */
.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group.full-width {
	grid-column: 1/-1;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

input, textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
}

textarea {
	height: 150px;
	resize: vertical;
}

.privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
}

.privacy input {
	width: auto;
	margin-top: 5px;
}

/* CAPTCHA Styles */
.captcha-container {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 5px;
	border: 1px solid #ddd;
}

.captcha-question {
	font-weight: bold;
	font-size: 1.1rem;
	padding: 8px 15px;
	background: var(--light-color);
	border-radius: 5px;
	min-width: 120px;
	text-align: center;
}

.captcha-input {
	flex: 1;
	max-width: 150px;
}

.refresh-captcha {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 8px 12px;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.refresh-captcha:hover {
	background: var(--secondary-color);
}

.btn {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	transition: background 0.3s ease;
}

.btn:hover {
	background: var(--secondary-color);
}

.btn:disabled {
	background: #cccccc;
	cursor: not-allowed;
}

/* Footer Styles */
footer {
	background: var(--secondary-color);
	color: white;
	padding: 40px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-section h3 {
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.address p {
	margin-bottom: 10px;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	opacity: 0.8;
}

/* Responsive Styles */
@media ( max-width : 768px) {
	.profile-container {
		text-align: center;
	}
	.contact-form {
		grid-template-columns: 1fr;
	}
	.captcha-container {
		flex-direction: column;
		align-items: stretch;
	}
	.captcha-input {
		max-width: 100%;
	}
	.section-title {
		font-size: 1.5rem;
	}
	.profile-info h1 {
		font-size: 2rem;
	}
}

@media ( max-width : 480px) {
	.profile-img {
		width: 150px;
		height: 150px;
	}
	.social-icons {
		flex-wrap: wrap;
	}
	.section {
		padding: 20px;
	}
}