/* Form Container Styles */
.contact_section form {
	padding: 30px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.contact_section form:hover {
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

/* Input Field Styles */
.contact_section input,
.contact_section textarea {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 20px;
	border: 2px solid #e9e9e9;
	border-radius: 5px;
	font-size: 16px;
	color: #333;
	background: #f8f9fa;
	transition: all 0.3s ease;
}

.contact_section input:focus,
.contact_section textarea:focus {
	border-color: #f7c17b;
	background: #ffffff;
	box-shadow: 0 0 8px rgba(247, 193, 123, 0.2);
	outline: none;
}

/* Textarea Specific Styles */
.contact_section textarea.message-box {
	min-height: 120px;
	resize: vertical;
}

/* Submit Button Styles */
.contact_section button[type="submit"] {
	background: #f7c17b;
	color: #ffffff;
	padding: 12px 30px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact_section button[type="submit"]:hover {
	background: #e6b06c;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(247, 193, 123, 0.3);
}

.contact_section button[type="submit"]:active {
	transform: translateY(0);
}

/* Error Message Styles */
.error-message {
	color: #dc3545;
	font-size: 12px;
	margin-top: -15px;
	margin-bottom: 15px;
	padding-left: 5px;
	animation: fadeIn 0.3s ease;
}

/* Success Message Styles */
.success-popup {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #28a745;
	color: white;
	padding: 15px 25px;
	border-radius: 5px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	animation: slideIn 0.5s ease-out;
}

/* Input Placeholder Styles */
.contact_section input::placeholder,
.contact_section textarea::placeholder {
	color: #adb5bd;
	transition: all 0.3s ease;
}

.contact_section input:focus::placeholder,
.contact_section textarea:focus::placeholder {
	opacity: 0.7;
	transform: translateX(5px);
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

/* Responsive Styles */
@media (max-width: 768px) {
	.contact_section form {
		padding: 20px;
	}

	.contact_section input,
	.contact_section textarea {
		padding: 10px 12px;
		font-size: 14px;
	}

	.contact_section button[type="submit"] {
		padding: 10px 25px;
		font-size: 14px;
	}
}

/* Social Media Box Styles */
.social-box {
	text-align: center;
	padding: 30px 0;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	margin-top: 30px;
	transition: all 0.3s ease;
}

.social-box:hover {
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.social-box h4 {
	color: #333;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.social-box h4::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 2px;
	background: #f7c17b;
	transition: width 0.3s ease;
}

.social-box:hover h4::after {
	width: 100px;
}

.social-box .box {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.social-box .box a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #f8f9fa;
	color: #333;
	font-size: 20px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.social-box .box a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f7c17b;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 1;
}

.social-box .box a:hover::before {
	transform: translateY(0);
}

.social-box .box a i {
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
}

.social-box .box a:hover {
	color: #ffffff;
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(247, 193, 123, 0.3);
}

/* Specific social media colors on hover */
.social-box .box a[title="My Portfolio"]:hover {
	background: #2c3e50;
}

.social-box .box a[title="GitHub"]:hover {
	background: #333;
}

.social-box .box a[title="LinkedIn"]:hover {
	background: #0077b5;
}

.social-box .box a[title="Facebook"]:hover {
	background: #1877f2;
}

/* Responsive styles for social box */
@media (max-width: 768px) {
	.social-box {
		padding: 20px 0;
	}

	.social-box h4 {
		font-size: 20px;
	}

	.social-box .box a {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
}
