* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-gradient: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #dc2626 100%);
	--secondary-gradient: linear-gradient(135deg, #374151 0%, #111827 100%);
	--accent-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
	--warm-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
	--dark-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

html {
	overflow-y: scroll;
	height: 100%;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1c1917 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}

body::after {
	content: '';
	display: block;
	height: 1px;
	clear: both;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
}

.floating-shapes {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
}

.shape {
	position: absolute;
	opacity: 0.1;
	animation: float 20s infinite linear;
}

.shape:nth-child(1) {
	top: 20%;
	left: 10%;
	animation-delay: 0s;
	font-size: 60px;
}

.shape:nth-child(2) {
	top: 60%;
	right: 10%;
	animation-delay: 5s;
	font-size: 80px;
}

.shape:nth-child(3) {
	bottom: 20%;
	left: 20%;
	animation-delay: 10s;
	font-size: 70px;
}

@keyframes float {
	0% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(180deg); }
	100% { transform: translateY(0px) rotate(360deg); }
}

.header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 25px;
	padding: 50px;
	margin-bottom: 30px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
	text-align: center;
	position: relative;
	overflow: hidden;
	opacity: 0;
	animation: slideUp 1s ease forwards;
}

.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--primary-gradient);
	background-size: 200% 200%;
	animation: gradientShift 3s ease infinite;
}

.profile-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.profile-img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--primary-gradient);
	background-size: 200% 200%;
	animation: gradientShift 5s ease infinite;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 60px;
	color: white;
	box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	cursor: pointer;
	order: 1;
}

.profile-img:hover {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 30px 60px rgba(102, 126, 234, 0.5);
}

.profile-text {
	text-align: left;
	order: 2;
}

.name {
	font-size: 4rem;
	font-weight: 800;
	margin-bottom: 10px;
	background: var(--primary-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	background-size: 200% 200%;
	animation: gradientShift 3s ease infinite;
}

.title {
	font-size: 2rem;
	color: #666;
	margin-bottom: 20px;
	font-weight: 300;
}

.tagline-container {
	display: flex;
	justify-content: center;
	margin-bottom: 30px; /* Add spacing below tagline if needed */
	order: 3;
	width: 100%;
}

.tagline {
	font-size: 1.5rem;
	color: #777;
	font-style: italic;
}

.contact-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.contact-row {
	display: flex;
	justify-content: center;
	gap: 30px;
	width: 100%;
	flex-wrap: wrap;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: white;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 50px;
	background: var(--primary-gradient);
	transition: all 0.3s ease;
	border: 2px solid transparent;
	backdrop-filter: blur(10px);
}

.contact-item:hover {
	color: gold;
	background: var(--primary-gradient);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
	border-color: rgba(255, 255, 255, 0.3);
}

.section {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 25px;
	padding: 50px;
	margin-bottom: 30px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	opacity: 0;
}

.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.section:hover {
	transform: translateY(-10px);
	box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.section h2 {
	font-size: 2.5rem;
	margin-bottom: 30px;
	color: #333;
	position: relative;
	padding-bottom: 15px;
	font-weight: 700;
}

.section h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 4px;
	background: var(--secondary-gradient);
	border-radius: 2px;
}

.intro-content {
	line-height: 1.8;
	font-size: 1.1rem;
}

.intro-text {
	margin-bottom: 25px;
	color: #555;
	text-align: left;
}

.intro-text strong {
	color: #059669;
	font-weight: 600;
}

.intro-text em {
	color: #dc2626;
	font-style: italic;
}

.intro-highlights {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 40px;
	padding: 30px;
	background: linear-gradient(135deg, rgba(55, 65, 81, 0.1) 0%, rgba(17, 24, 39, 0.1) 100%);
	border-radius: 15px;
	border-left: 4px solid var(--accent-gradient);
}

.highlight-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 12px;
	transition: all 0.3s ease;
}

.highlight-item:hover {
	transform: translateX(10px);
	box-shadow: 0 5px 15px rgba(5, 150, 105, 0.2);
}

.highlight-item i {
	font-size: 1.5rem;
	color: white;
	background: var(--accent-gradient);
	padding: 12px;
	border-radius: 50%;
	min-width: 45px;
	text-align: center;
}

.highlight-item span {
	color: #555;
	font-weight: 500;
}

.experience-item {
	margin-bottom: 40px;
	padding: 35px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	border-radius: 20px;
	border-left: 6px solid;
	border-image: var(--primary-gradient) 1;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.experience-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: var(--dark-gradient);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.experience-item:hover {
	transform: translateX(10px);
	color: #e5e7eb;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-item:hover::before {
	opacity: 0.9;
}

.company {
	font-size: 1.6rem;
	font-weight: 700;
	color: #059669;
	margin-bottom: 8px;
	transition: color 0.3s ease;
}

.experience-item:hover .company {
	color: #10b981;
}

.role {
	font-size: 1.3rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	transition: color 0.3s ease;
}

.experience-item:hover .role {
	color: #f3f4f6;
}

.date {
	color: #666;
	font-size: 1rem;
	margin-bottom: 20px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.experience-item:hover .date {
	color: #d1d5db;
}

.achievements {
	list-style: none;
}

.achievements li {
	margin-bottom: 15px;
	padding-left: 30px;
	position: relative;
	color: #555;
	transition: all 0.3s ease;
	line-height: 1.7;
}

.achievements li::before {
	content: '🚀';
	position: absolute;
	left: 0;
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}

.experience-item:hover .achievements li {
	color: #e5e7eb;
}

.experience-item:hover .achievements li::before {
	transform: scale(1.2) rotate(10deg);
}

.skills-section {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 25px;
	padding: 50px;
	margin-bottom: 30px;
	position: relative;
	overflow: hidden;
}

.skills-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(102, 126, 234, 0.1) 60deg, transparent 120deg, rgba(118, 75, 162, 0.1) 180deg, transparent 240deg, rgba(240, 147, 251, 0.1) 300deg, transparent 360deg);
	animation: rotate 20s linear infinite;
	z-index: -1;
}

@keyframes rotate {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.skill-category {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	padding: 35px;
	border-radius: 20px;
	transition: all 0.4s ease;
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

.skill-category::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--accent-gradient);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.skill-category:hover::before {
	transform: scaleX(1);
}

.skill-category:hover {
	transform: translateY(-15px) scale(1.02);
	border-color: rgba(5, 150, 105, 0.3);
	box-shadow: 0 25px 50px rgba(5, 150, 105, 0.2);
}

.skill-category h3 {
	color: #059669;
	margin-bottom: 20px;
	font-size: 1.4rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 12px;
}

.skill-category h3 i {
	font-size: 1.2rem;
	padding: 10px;
	background: var(--accent-gradient);
	color: white;
	border-radius: 12px;
}

.skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.skill-tag {
	background: var(--primary-gradient);
	background-size: 200% 200%;
	animation: gradientShift 4s ease infinite;
	color: white;
	padding: 10px 18px;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skill-tag:hover {
	transform: scale(1.1) translateY(-3px);
	box-shadow: 0 10px 20px rgba(45, 55, 72, 0.4);
}

.highlight-project {
	background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
	padding: 40px;
	border-radius: 20px;
	margin-bottom: 30px;
	border: 2px solid rgba(67, 233, 123, 0.3);
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.highlight-project::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.8s ease;
}

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

.highlight-project:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(67, 233, 123, 0.3);
}

.highlight-project h3 {
	color: #43e97b;
	font-size: 1.5rem;
	margin-bottom: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 15px;
}

.highlight-project h3 i {
	font-size: 1.3rem;
	padding: 12px;
	background: var(--accent-gradient);
	color: white;
	border-radius: 50%;
}

.highlight-project p {
	color: #555;
	line-height: 1.8;
	font-size: 1.1rem;
}

.cta-section {
	background: var(--primary-gradient);
	background-size: 200% 200%;
	animation: gradientShift 8s ease infinite;
	color: white;
	text-align: center;
	padding: 60px;
	border-radius: 25px;
	margin-top: 30px;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
	background-size: 100px 100px;
	animation: float 15s linear infinite;
}

.cta-section h2 {
	margin-bottom: 25px;
	font-size: 3rem;
	font-weight: 800;
}

.cta-section h2::after {
	background: rgba(255, 255, 255, 0.3);
	margin: 0 auto;
	left: 50%;
	transform: translateX(-50%);
}

.cta-section p {
	font-size: 1.3rem;
	margin-bottom: 40px;
	opacity: 0.9;
	line-height: 1.7;
}

.cta-buttons {
	display: flex;
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
	margin-top: 40px;
}

.cta-button {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 18px 35px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	border: 2px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	gap: 12px;
}

.cta-button:hover {
	background: white;
	color: #667eea;
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.name {
		font-size: 2.5rem;
	}
    
	.profile-section {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 40px;
		flex-wrap: wrap;
		margin-bottom: 0; /* Remove margin if you want tagline tight below */
	}
    
	.profile-text {
		text-align: center;
	}
    
	.contact-info {
		gap: 15px;
	}
    
	.contact-row {
		gap: 15px;
	}
    
	.skills-grid {
		grid-template-columns: 1fr;
	}
    
	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
}

.fade-in {
	opacity: 0;
	transition: all 0.8s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.typing-effect {
	border-right: 3px solid #667eea;
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 50% { border-color: transparent; }
	51%, 100% { border-color: #667eea; }
}
