@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');

.disable-transitions *, .disable-transitions, .disable-transitions *:before, .disable-transitions *:after {
    transition: none !important;
}

:root {
	--background: #fffef3;
	--text: #2d2d2d;
	--text-light: #666;
	--accent: #8b5a83;
	--accent-light: #a67ca0;
	--accent-soft: #f0e6ed;
	--border: #e8e6e0;
	--card-bg: #ffffff;
	--method-bg: #ffffff;
	--card-shadow: rgba(0, 0, 0, 0.08);
	--hover-shadow: rgba(0, 0, 0, 0.12);
	--success: #7c9885;
	--warning: #d4a574;
	--github-special: #404040;
}

body.dark-mode {
	--text: #fffef3;
	--background: #2d2d2d;
	--text-light: #b7b7b7;
	--accent: #aa82a4;
	--accent-light: #bd92b7;
	--accent-soft: #3d3d3d;
	--border: #503f28;
	--card-bg: #3d3d3d;
	--method-bg: #595959;
	--card-shadow: rgba(0, 0, 0, 0.08);
	--hover-shadow: rgba(0, 0, 0, 0.12);
	--success: #7c9885;
	--warning: #d4a574;
	--github-special: #222222;
}
body.dark-mode a {
	color: white;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--background);
	font-family: 'Inconsolata', monospace;
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Keyframes for animations */


@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

@keyframes rainbow {
	0% { filter: hue-rotate(0deg);  }
	50% { filter: hue-rotate(360deg); }
}
@keyframes rainbowsvg {
	0% { filter: hue-rotate(0deg); }
	50% { filter: hue-rotate(360deg); }
}

/* Header */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--background);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
}

#header svg {
	height: 20px;
	padding-bottom: 4px;
	vertical-align: middle;
	fill: var(--accent);
	animation: rainbowsvg 15s ease-in-out infinite;
}


.header-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.logo {
	font-weight: 600;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s;
	color: var(--accent-light);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	animation: rainbow 15s ease-in-out infinite;

}

.logo::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(139, 90, 131, 0.2), transparent);
	transition: left 0.5s;
}

.logo:hover {
	color: var(--accent);
	animation: wobble 0.6s ease-in-out;
}

.logo:hover::before {
	left: 100%;
}

#menu {
	display: flex;
	gap: 8px;
}

.tab {
	padding: 10px 20px;
	border-radius: 20px;
	background: transparent;
	color: var(--text-light);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
}

.tab::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent-soft);
	transition: left 0.3s ease;
	z-index: -1;
}

.tab:hover {
	color: var(--accent);
	border-color: var(--accent-light);
	transform: translateY(-2px);
}

.tab:hover::before {
	left: 0;
}

.tab.active {
	background: var(--accent);
	color: white;
	border-color: var(--accent);
}

.tab-svg {
	height: 100%;
}
.tab-svg.active{
	background: initial;
	color: initial;
	border-color: transparent;
}

/* Main Content */
main {
	padding-top: 70px;
}

/* Welcome Section */
.welcome-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
}

.welcome-content {
	text-align: center;
	width: 80vw;
	padding-bottom: 10vh;
	top: 0;
}

.welcome-content h1 {
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--accent-light);
	transition: all 0.3s;
	animation: rainbow 15s ease-in-out infinite;
}


.welcome-subtitle {
	font-size: 20px;
	color: var(--text-light);
	margin: 0 0 48px;
	font-weight: 400;
}

.looking-for h2 {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 32px;
	color: var(--text);
}

.options-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 32px;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
}

.options-grid.animate {
	opacity: 1;
	transform: translateY(0);
}

.option-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	cursor: pointer;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	box-shadow: 0 2px 8px var(--card-shadow);
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.option-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-soft), var(--accent-light));
	transition: left 0.4s ease;
	z-index: -1;
}

.option-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 8px 25px var(--hover-shadow);
	border-color: var(--accent-light);

}

.option-card:hover::before {
	left: 0;
}

.option-card:hover .option-icon {
	animation: wobble 0.6s ease-in-out;
	transform: scale(1.2);
}


.option-icon {
	font-size: 32px;
	margin-bottom: 16px;
	transition: all 0.3s;
}

.option-img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 16px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	fill: var(--accent);
	animation: rainbowsvg 15s ease-in-out infinite;
}

.option-card .option-icon {
	display: none;
}

.option-card h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--text);
	transition: color 0.3s;
}

.option-card:hover h3 {
	color: var(--accent);
}

.option-card p {
	font-size: 14px;
	color: var(--text-light);
	margin: 0;
	line-height: 1.4;
	transition: color 0.3s;
}

.option-card:hover p {
	color: var(--text);
}

.option-card:hover p {
	color: var(--text);
}

/* Add staggered delay for option cards */
.option-card:nth-child(1) { --delay: 0.1s; }
.option-card:nth-child(2) { --delay: 0.2s; }
.option-card:nth-child(3) { --delay: 0.3s; }
.option-card:nth-child(4) { --delay: 0.4s; }
.option-card:nth-child(5) { --delay: 0.5s; }
.option-card:nth-child(6) { --delay: 0.6s; }

/* Contact Info Section */
.contact-info-section {
	padding: 40px 24px;
	background: var(--accent-soft);
	border-top: 1px solid var(--border);
}

.contact-content {
	max-width: 80vw;
	margin: 0 auto;
	text-align: center;
}

.contact-content h2 {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 32px;
	color: var(--text);
}

.contact-methods {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.contact-method {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: var(--method-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.contact-method::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent);
	transition: left 0.3s ease;
	z-index: -1;
}

.contact-method:hover {
	color: white;
	border-color: var(--accent);
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 10px 25px rgba(139, 90, 131, 0.3);
}

.contact-method:hover::before {
	left: 0;
}

.contact-method:hover .contact-icon {
	animation: shake 0.5s ease-in-out;
}

.contact-icon {
	font-size: 18px;
	transition: all 0.3s;
}

/* Content Sections */
.content-section {
	padding: 20px 24px;
	max-width: 80vw;
	margin: 0 auto;
}

.content-section h2 {
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 32px;
	color: var(--text);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.content-section h2::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), var(--accent-light));
	transform: translateX(-50%);
}

/* Featured Project */
.featured-project {
	background: linear-gradient(135deg, var(--accent), var(--accent-light));
	background-size: 400% 400%;
	border-radius: 16px;
	padding: 32px;
	margin-bottom: 40px;
	color: white;
	margin-left: 10vw;
	margin-right: 10vw;
	cursor: pointer;
	line-height: 1.3;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	transform: scale(1);
}

.featured-project::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-light), var(--accent));
	transition: left 0.4s ease;
	z-index: 0;
}

.featured-project:hover {
	transform: scale(1.02);
	box-shadow: 0 12px 30px rgba(139, 90, 131, 0.3);
}

.featured-project:hover::before {
	left: 0;
}

.featured-project > * {
	position: relative;
	z-index: 1;
}

.featured-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.featured-project h3 {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	transition: all 0.3s;
}

.featured-project:hover h3 {
	animation: wobble 0.6s ease-in-out;
}

.featured-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 6px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s;
}

.featured-project:hover .featured-badge {
	animation: bounce 1s ease-in-out infinite;
	background: rgba(255, 255, 255, 0.3);
}

.featured-project p {
	font-size: 16px;
	margin: 0 0 24px;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.featured-project:hover p {
	opacity: 1;
}

.project-links {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

.primary-link {
	color: white;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	padding: 12px 24px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.primary-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	transition: left 0.3s ease;
	z-index: -1;
}

.primary-link:hover {
	transform: scale(1.05);
}

.primary-link:hover::before {
	left: 0;
}

.secondary-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.secondary-link:hover {
	color: white;
	text-decoration: underline;
	transform: translateX(3px);
}

/* Projects Grid */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.project-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.project-item-link:focus .project-item,
.project-item-link:hover .project-item {
	/* Forward hover to the card for accessibility */
	transform: translateY(-4px) rotate(1deg);
	box-shadow: 0 8px 25px var(--hover-shadow);
	border-color: var(--accent-light);
}
.project-item-link:focus .project-item {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.project-item-link:active .project-item {
	transform: scale(0.98);
}

.project-item {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px var(--card-shadow);
	cursor: pointer;
	line-height: 1.3;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.project-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-soft), transparent);
	transition: left 0.4s ease;
	z-index: 0;
}

.project-item:hover {
	transform: translateY(-4px) rotate(1deg);
	box-shadow: 0 8px 25px var(--hover-shadow);
	border-color: var(--accent-light);
}

.project-item:hover::before {
	left: 0;
}

.project-item:nth-child(even):hover {
	transform: translateY(-4px) rotate(-1deg);
}

.project-item > * {
	position: relative;
	z-index: 1;
}

.project-item h4 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--text);
	transition: all 0.3s;
}

.project-item:hover h4 {
	animation: wobble 0.6s ease-in-out;
}

.project-item h4 a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.project-item:hover h4 {
	transform: translateX(5px);
}

.project-item:hover h4 a {
	color: var(--accent);
}

.project-item p {
	margin: 0;
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.5;
	transition: color 0.3s ease;
}

.project-item:hover p {
	color: var(--text);
}

.view-all {
	text-align: center;
}

.view-all-btn {
	background: var(--accent);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: inherit;
	text-decoration: none;
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.view-all-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent-light);
	transition: left 0.3s ease;
	z-index: -1;
}

.view-all-btn:hover {
	transform: translateY(-2px) scale(1.05);
}

.view-all-btn:hover::before {
	left: 0;
}


/* Tutoring Section */
.tutoring-section {
	background: var(--accent-soft);
	border-radius: 20px;
	margin: 40px 0;
	margin: auto auto;
}

.tutoring-intro {
	text-align: center;
	margin-bottom: 40px;
}

.tutoring-intro p {
	font-size: 18px;
	color: var(--text-light);
	max-width: 80vw;
	margin: 0 auto;
}

.tutoring-details {
	max-width: 80vw;
	margin: 0 auto;
}

.service-section, .pricing-section, .contact-section {
	margin-bottom: 40px;
	text-align: center;
}

.tutoring-section h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--text);
	text-align: center;
}

.tutoring-section ul {
	color: var(--text-light);
	line-height: 1.8;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	max-width: 600px;
	text-align: left;
}

.tutoring-section li {
	margin-bottom: 12px;
	padding: 8px 16px;
	background: var(--card-bg);
	border-radius: 8px;
	border: 1px solid var(--border);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.tutoring-section li::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--accent-soft), var(--accent-light));
	transition: left 0.3s ease;
	z-index: -1;
}

.tutoring-section li:hover {
	border-color: var(--accent-light);
	transform: translateX(4px);
	color: white;
}

.tutoring-section li:hover::before {
	left: 0;
}

.pricing-header {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 24px;
	gap: 24px;
}

.pricing-toggle {
	display: flex;
	gap: 8px;
	background: var(--card-bg);
	border-radius: 12px;
	padding: 4px;
	border: 1px solid var(--border);
}

.pricing-btn {
	background: transparent;
	border: none;
	color: var(--text-light);
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
	position: relative;
	overflow: hidden;
}

.pricing-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent-soft);
	transition: left 0.3s ease;
	z-index: -1;
}

.pricing-btn:hover {
	color: var(--accent);
	transform: scale(1.05);
}

.pricing-btn:hover::before {
	left: 0;
}

.pricing-btn.active {
	background: var(--accent);
	color: white;
}

.pricing-btn.active:hover {
	transform: scale(1.05);
	color: var(--accent);
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 24px auto;
	max-width: 80vw;
}

.pricing-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	transition: all 0.3s;
	box-shadow: 0 2px 8px var(--card-shadow);
	position: relative;
	overflow: hidden;
}

.pricing-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-soft), transparent);
	transition: left 0.4s ease;
	z-index: 0;
}

.pricing-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 8px 25px var(--hover-shadow);
	border-color: var(--accent-light);
}

.pricing-card:hover::before {
	left: 0;
}

.pricing-card > * {
	position: relative;
	z-index: 1;
}

.pricing-card.featured-pricing {
	border-width: 2px;
	border-color: var(--accent);
	position: relative;
}


.pricing-card h4 {
	color: var(--text);
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
}

.price {
	font-size: 28px;
	font-weight: 700;
	color: var(--accent);
	margin: 0 0 16px;
	transition: all .3s;
}

.pricing-card p {
	color: var(--text-light);
	font-size: 14px;
	margin: 0;
	line-height: 1.4;
}

.contact-methods-tutoring {
	margin: 20px auto;
	max-width: 400px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-method-tutoring {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 16px;
	font-size: 16px;
	color: var(--text-light);
	text-align: center;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.contact-method-tutoring::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--accent-soft), var(--accent-light));
	transition: left 0.3s ease;
	z-index: -1;
}

.contact-method-tutoring:hover {
	border-color: var(--accent-light);
	transform: translateY(-2px);
	color: white;
}

.contact-method-tutoring:hover::before {
	left: 0;
}

.contact-section p {
	color: var(--text-light);
	font-size: 15px;
	line-height: 1.6;
	margin-top: 20px;
	font-style: italic;
	text-align: center;
	max-width: 80vw;
	margin-left: auto;
	margin-right: auto;
}

/* About Section */
.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	max-width: 80vw;
	margin: 0 auto;
}

.about-item {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px var(--card-shadow);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.about-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent-light);
	transition: left 0.4s ease;
	z-index: 0;
}

.about-item:hover {
	transform: translateY(-6px) rotate(2deg);
	box-shadow: 0 12px 30px var(--hover-shadow);
	border-color: var(--accent-light);
}

.about-item:hover::before {
	left: 0;
}

.about-item:nth-child(even):hover {
	transform: translateY(-6px) rotate(-2deg);
}

.about-item > * {
	position: relative;
	z-index: 1;
}

.about-item h3 {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.3s;
}

.about-item:hover h3 {
	animation: wobble 0.6s ease-in-out;
}

.about-item h3::before {
	font-size: 24px;
	transition: all 0.3s;
}

.about-item:hover h3::before {
	transform: scale(1.3);
	animation: bounce 1s ease-in-out infinite;
}

.about-item ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.8;
	color: var(--text-light);
	text-align: left;
}

.about-item ul li {
	margin-bottom: 10px;
	padding: 6px 12px;
	background: var(--accent-soft);
	border-radius: 8px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.about-item ul li::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--accent-light);
	transition: left 0.3s ease;
	z-index: -1;
}

.about-item ul li:hover {
	color: white;
	transform: translateX(4px) scale(1.02);
}

.about-item ul li:hover::before {
	left: 0;
}

/* Services Grid */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

/* Compact Services Grid for Tutoring */
.services-intro {
	text-align: left;
	font-size: 1.1rem;
	color: var(--text-light);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.services-grid-compact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.service-card-compact {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.25rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px var(--card-shadow);
	position: relative;
	overflow: hidden;
}

.service-card-compact::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-soft), transparent);
	transition: left 0.4s ease;
	z-index: 0;
}

.service-card-compact:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--hover-shadow);
	border-color: var(--accent-light);
}

.service-card-compact:hover::before {
	left: 0;
}

.service-card-compact > * {
	position: relative;
	z-index: 1;
}

.service-icon-small {
	font-size: 1.75rem;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.service-card-compact:hover .service-icon-small {
	transform: scale(1.15);
}

.service-card-compact h4 {
	margin: 0 0 0.25rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text);
}

.service-card-compact p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.3;
}

.service-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
	text-align: center;
	display: flex;
	flex-direction: column;
	width: 300px;
	flex-grow: 1;
	flex-shrink: 1;
	transition: all 0.3s;
	box-shadow: 0 2px 8px var(--card-shadow);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--accent-soft), transparent);
	transition: left 0.4s ease;
	z-index: 0;
}

.service-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 12px 30px var(--hover-shadow);
	border-color: var(--accent-light);
}

.service-card:hover::before {
	left: 0;
}

.service-card > * {
	position: relative;
	z-index: 1;
}

.service-icon {
	font-size: 32px;
	margin-bottom: 16px;
	transition: all 0.3s;
}

.service-card:hover .service-icon {
	animation: bounce 1s ease-in-out infinite;
	transform: scale(1.2);
}

/* Enhanced Pricing Section */
.pricing-section-main {
	background: var(--accent-soft);
	border-radius: 20px;
	margin: 40px 0;
}

.pricing-card ul {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.pricing-card ul li {
	font-size: 13px;
	color: var(--text-light);
	margin-bottom: 8px;
	padding: 4px 8px;
	background: var(--accent-soft);
	border-radius: 6px;
	display: block;
}

/* Contact Section */
.contact-section-main {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px;
	margin: 40px 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-bottom: 32px;
}

.contact-info h3,
.contact-benefits h3 {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 16px;
	color: var(--text);
}

.contact-info p {
	font-size: 16px;
	color: var(--text-light);
	margin: 0 0 24px;
	line-height: 1.6;
}

.contact-benefits ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-benefits ul li {
	font-size: 15px;
	color: var(--text-light);
	margin-bottom: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}

.contact-benefits ul li:last-child {
	border-bottom: none;
}

.session-info {
	text-align: center;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.session-info p {
	font-size: 15px;
	color: var(--text-light);
	margin: 0;
	font-style: italic;
}

/* GitHub Special Styling */
.github-special {
	background: var(--accent);
	color: white;
	position: relative;
	overflow: hidden;
}
.github-special h4 {
	color: var(--accent-soft);
}
.github-special p {
	color: var(--accent-soft);
}

.github-special::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #404040, var(--text));
	transition: left 0.4s ease;
	z-index: 0;
}

.github-special:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 30px rgba(45, 45, 45, 0.3);
}
.github-special:hover h4 a{
	color: var(--accent-soft);
}

.github-special:hover p {
	color: var(--accent-soft);
}

.github-special:hover::before {
	left: 0;
}


.github-special > * {
	position: relative;
	z-index: 1;
}

/* Section Separators */
.section-separator {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-right: auto;
	margin-left: auto;
	margin-bottom: 40px;
    max-width: 80%;
    position: relative;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    animation: shimmer 8s ease-in-out infinite;
}

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

/* Enhanced separator for mobile */
@media (max-width: 768px) {
    .section-separator {
        margin: 40px auto;
        max-width: 90%;
    }
}


.section-content h2 {
	color: var(--accent);
	animation: rainbow 15s ease-in-out infinite;
}

.contact-content h2 {
	color: var(--accent);
	animation: rainbow 15s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
	.service-icon {
		display: none;
	}
	.header-content {
		padding: 0 16px;
		height: 60px;
	}
	
	.logo {
		display: none;
		font-size: 18px;
	}
	#menu {
		width: 100vw;
		justify-content: center;
	}
	.tab {
		padding: 8px 16px;
		font-size: 14px;
		flex-grow: 1;
		text-align: center;
	}
	
	main {
		padding-top: 60px;
	}
	
	.welcome-content h1 {
		font-size: 36px;
	}
	
	.welcome-subtitle {
		font-size: 18px;
	}
	
	.welcome-content h1 {
		margin: 0;
	}
	.looking-for h2 {
		font-size: 20px;
		margin-bottom: 0px;
	}
	
	.option-card {
		padding: 5px;
		padding-left: 15px;
		width: 80vw;
		flex-shrink: 0;
		text-align: left;
	}


	.option-icon {
		display: none;
	}

	.option-card h3 {
		margin-bottom: 4px;
		display: flex;
		align-items: center;
		justify-content: left;
		gap: 8px;
	}
	.option-img {
		margin: 0;
		display: inline;
		width: 1.5em;
		height: 1.5em;
	}

	
	.content-section {
		padding: 5px 0px;
		min-width: 95vw;
		margin-left: 2.5vw;
		margin-right: 2.5vw;
	}
	.section-content{
		max-width: 100vw;
	}
	
	.content-section h2 {
		font-size: 28px;
	}
	
	.featured-project {
		margin-right: 0;
		margin-left: 0;
		margin-bottom: 15px;
		padding: 24px;
	}
	
	.featured-project h3 {
		font-size: 24px;
	}
		

	.project-item {
		padding: 10px;
	}

	.projects-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.about-grid {
		max-width: 90vw;
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.pricing-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.pricing-toggle {
		width: 100%;
		justify-content: center;
	}
	
	.pricing-btn {
		flex: 1;
		text-align: center;
	}
	
	.pricing-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.contact-methods-tutoring {
		max-width: 100%;
	}
	
	.about-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 16px;
	}
	
	.about-item {
		padding: 20px;
	}
	
	.tutoring-section ul {
		max-width: 100%;
	}
	
	.tutoring-details {
		max-width: 100%;
	}
	
	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 16px;
	}
	
	.services-grid-compact {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.service-card-compact {
		padding: 1rem;
		gap: 0.75rem;
	}
	
	.service-icon-small {
		font-size: 1.5rem;
	}
	
	.service-card-compact h4 {
		font-size: 1rem;
	}
	
	.service-card-compact p {
		font-size: 0.85rem;
	}
	
	.service-card {
		padding: 20px;
	}
	
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: left;
	}
	
	.contact-section-main {
		padding: 24px;
	}
}


.all-projects {
	padding-top: 0;
}
.first-project {
	padding-bottom: 0;
}


@media (max-width: 480px) {

	.welcome-content h1 {
		font-size: 28px;
	}
	
	.welcome-subtitle {
		font-size: 16px;
	}
	
	.options-grid {
		margin-top: 15px;
		grid-template-columns: 1fr;
	}
	
	.option-card {
		padding: 16px;
	}
	
	.featured-header {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
	}
	
	.about-grid {
		grid-template-columns: 1fr;
	}
	
	.about-item {
		padding: 16px;
	}
	
	.pricing-grid {
		grid-template-columns: 1fr;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
	}
	
	.services-grid-compact {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	
	.service-card-compact {
		padding: 0.875rem;
		gap: 0.625rem;
	}
	
	.service-icon-small {
		font-size: 1.25rem;
	}
	
	.service-card-compact h4 {
		font-size: 0.95rem;
		margin-bottom: 0.125rem;
	}
	
	.service-card-compact p {
		font-size: 0.8rem;
	}
	
	.service-card {
		padding: 16px;
	}
	
	.pricing-card {
		padding: 12px;
	}
	
	.pricing-card h4 {
		font-size: 15px;
		margin: 0 0 8px;
	}
	
	.price {
		font-size: 20px;
		margin: 0 0 8px;
	}
	
	.pricing-card p {
		font-size: 12px;
		margin: 0 0 8px;
		line-height: 1.3;
	}
	
	.pricing-card ul {
		margin: 8px 0 0;
	}
	
	.pricing-card ul li {
		font-size: 11px;
		margin-bottom: 4px;
		padding: 2px 4px;
	}
}

/* SVG icon for project titles (replaces emoji) */
.project-icon {
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	display: inline-block;
	margin-right: 0.1em;
	margin-bottom: 0.15em;
	fill: var(--accent);
	animation: rainbowsvg 15s ease-in-out infinite;
}
.icon-invert {
	fill: var(--accent-soft);
}

/* On mobile, slightly reduce icon size for better fit */
@media (max-width: 768px) {
	.project-icon {
		width: 1.2em;
		height: 1.2em;
		margin-right: 0.3em;
		margin-bottom: 0.1em;
	}
}



.small-margin {
	padding-left: 10px;
	padding-right: 10px;
}
.remove-bottom {
	margin-bottom: 0;
	padding-bottom: 0;
}