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

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

@font-face {
	font-family: 'Aerospace';
	src: url('Animated-Portfolio-main/Aerospace.otf') format('otf'), url('Animated-Portfolio-main/Aerospace.ttf') format('truetype'), url('Animated-Portfolio-main/AnkhSanctuary-PVK0B.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'font2';
	src: url('Animated-Portfolio-main/AnkhSanctuary-PVK0B.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font6';
	src: url('Animated-Portfolio-main/underwave.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font3';
	src: url('./Animated-Portfolio-main/Infusive.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font0';
	src: url('./Animated-Portfolio-main/AquireBold-8Ma60.f61ae48e.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font9';
	src: url('Animated-Portfolio-main/Montserrat-SemiBold.a62d229e.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

@media (max-width: 768px) {
	html {
		font-size: 90%;
	}
}

p {
	font-family: font9;
	font-size: 1rem;
	text-align: center;
}
body {
	font-family: font3, sans-serif;
	font-optical-sizing: auto;
	overflow-x: hidden;
	background-color: #02012d;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: #e2eff7;
}

.page1 {
	/* min-height: 100vh; */
	text-align: center;
	background: #030140;
	background: linear-gradient(0deg, #030140, #010101);
	backdrop-filter: blur(5px);
}

.page1 h1 {
	/* padding-top: 6rem;
	text-align: center;
	color: #e2eff7;
	font-family: font0;
	font-size: 4rem;
	letter-spacing: 0.7rem;
	-webkit-text-stroke: 0.1rem #d5dde4;
	color: rgba(0, 0, 0, 0);
	text-transform: uppercase;
	background: linear-gradient(15deg, #ffee0170, #fffffffe);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	font-size: 3rem;
	letter-spacing: 0.3rem;
	text-shadow: 0 0 10px rgba(179, 189, 225, 0.5), 0 0 20px rgba(179, 189, 225, 0.3), 0 0 30px rgba(179, 189, 225, 0.2); */
	padding-top: 6rem;
	background: linear-gradient(#fff, #b6b4f1);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	font-family: font0;
	font-size: 4rem;
	text-transform: uppercase;
	text-align: center;
	margin: 0.5rem 0;
}

.internships {
	padding-top: 4rem;
}

.category-nav {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	pointer-events: auto;
}

.category-nav li {
	margin: 0;
}

.category-nav a {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background: rgba(179, 189, 225, 0.1);
	border: 1px solid rgba(179, 189, 225, 0.3);
	border-radius: 2rem;
	color: #e2eff7;
	text-decoration: none;
	font-family: font3;
	font-size: 0.9rem;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.category-nav a:hover {
	background: rgba(179, 189, 225, 0.2);
	border-color: rgba(179, 189, 225, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(179, 189, 225, 0.2);
}

.category-nav a.active {
	background: rgba(179, 189, 225, 0.3);
	border-color: #e2eff7;
	color: #fff;
	box-shadow: 0 0 20px rgba(226, 239, 247, 0.3);
}

.category-nav a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #e2eff7, #b3bde1);
	transition: width 0.3s ease;
}

.category-nav a:hover::after,
.category-nav a.active::after {
	width: 80%;
}

.internships ul {
	margin: 0;
	padding: 0;
}

.internships li {
	list-style: none;
}

.yantrika {
	max-width: 80vw;
	padding: 2rem;
	letter-spacing: 0.2rem;
	margin: auto;
	text-align: center;
	color: #e2eff7;
	font-family: font3;
	font-size: 1.1rem;
	line-height: 1.6;
}

/* Internship Card Styles */
.internship-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(179, 189, 225, 0.2);
	border-radius: 1rem;
	padding: 1.5rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.internship-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(179, 189, 225, 0.2);
	border-color: rgba(179, 189, 225, 0.4);
	background: rgba(255, 255, 255, 0.08);
}

.company-image {
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.company-image img {
	width: 100%;
	height: 100%;

	aspect-ratio: 1;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.internship-card:hover .company-image img {
	transform: scale(1.05);
}

.internship-info {
	text-align: center;
}

.internship-info h3 {
	color: #b6b4f1;
	letter-spacing: 0.1rem;
	font-family: font3;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	text-shadow: 0 0 10px rgba(226, 239, 247, 0.3);
}

.internship-info h4 {
	color: #b3bde1;
	font-family: font3;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}

.internship-info p {
	color: rgba(226, 239, 247, 0.8);
	font-family: font9;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	line-height: 1.4;
}

.internship-details {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}

.internship-details span {
	background: rgba(179, 189, 225, 0.1);
	padding: 0.3rem 0.8rem;
	border-radius: 0.3rem;
	font-size: 0.8rem;
	font-family: font3;
	color: #b3bde1;
	border: 1px solid rgba(179, 189, 225, 0.2);
}

/* Scholarship Card Styles */
.title {
	padding: 3rem 0;
}
.scholarship-info h3{
text-transform: capitalize;}
.scholarship-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(179, 189, 225, 0.2);
	border-radius: 1rem;
	padding: 1.5rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
	transform: scale(0.9);
}

.scholarship-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(179, 189, 225, 0.2);
	border-color: rgba(179, 189, 225, 0.4);
	background: rgba(255, 255, 255, 0.08);
}

.organization-image {
	width: 200px;
	height: 200px;
	margin: 0 auto;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.organization-image img {
	width: 100%;
	height: 100%;
	border-radius: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.scholarship-card:hover .organization-image img {
	transform: scale(1.05);
}

.scholarship-info {
	text-align: center;
}

.scholarship-info h3 {
	color: #e2eff7;
	font-family: font3	;
	letter-spacing: 0.1rem;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	text-shadow: 0 0 10px rgba(226, 239, 247, 0.3);
}

.scholarship-info h4 {
	color: #b3bde1;
	font-family: font3;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}

.scholarship-info p {
	color: rgba(226, 239, 247, 0.8);
	font-family: font3;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	line-height: 1.4;
}

.scholarship-details {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}

.scholarship-details span {
	background: rgba(179, 189, 225, 0.1);
	padding: 0.3rem 0.8rem;
	border-radius: 0.3rem;
	font-size: 0.8rem;
	font-family: font3;
	color: #b3bde1;
	border: 1px solid rgba(179, 189, 225, 0.2);
}

/* Section Styles */
.role-section {
	max-width: 90vw;

	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(179, 189, 225, 0.2);
	border-radius: 1rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
	padding-bottom: 1rem;
	margin: 3rem auto;
}

.role-title {
	color: #e2eff7;
	font-family: font9;
	font-size: 2rem;
	text-align: center;
	margin-bottom: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	position: relative;
}

.role-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #e2eff7, transparent);
}

/* Grid Styles */
.internship-grid,
.scholarship-grid {
padding: 0.5rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.internship-grid:has(> :only-child) {
	grid-template-columns: 1fr;
	max-width: 400px;
}

.internship-grid:has(> :only-child) .internship-card {
	max-width: 100%;
}

.internship-grid:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, 1fr);
	max-width: 800px;
}

.internship-grid:has(> :nth-child(2):last-child) .internship-card {
	max-width: 100%;
}

.scholarship-grid:has(> :only-child) {
	grid-template-columns: 1fr;
	max-width: 400px;
}

.scholarship-grid:has(> :only-child) .scholarship-card {
	max-width: 100%;
}

.scholarship-grid:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(1, 1fr);
	max-width: 800px;
}

.scholarship-grid:has(> :nth-child(2):last-child) .scholarship-card {
	max-width: 100%;
}

/* Section Headers */
.internship-section,
.scholarship-section {
	background: #030140;
	background: linear-gradient(180deg, #030140, #010101);
	padding: 4rem 2rem;
	backdrop-filter: blur(5px);
}

.internship-section h2,
.scholarship-section h2 {
	text-align: center;
	color: #e2eff7;
	font-family: font0;
	font-size: 3rem;
	letter-spacing: 0.3rem;
	margin-bottom: 3rem;
	text-transform: uppercase;
	background: linear-gradient(#fff, #b6b4f1);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	text-transform: uppercase;
	text-align: center;
	margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 992px) {
	.internship-grid,
	.scholarship-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.role-title {
		font-size: 1.8rem;
	}

	.company-image,
	.organization-image {
	}

	.category-nav a {
		padding: 0.6rem 1.2rem;
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	.internship-grid,
	.scholarship-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.internship-grid:has(> :nth-child(2):last-child) {
		grid-template-columns: 1fr;
	}

	.role-title {
		font-size: 1.5rem;
	}

	.internship-card,
	.scholarship-card {
		padding: 1rem;
	}

	.company-image,
	.organization-image {
		/* height: 120px; */
	}

	.internship-info h3,
	.scholarship-info h3 {
		font-size: 1.3rem;
	}

	.internship-info h4,
	.scholarship-info h4 {
		font-size: 0.9rem;
	}

	.role-title {
		font-size: 1.3rem;
	}

	.page1 h1 {
		font-size: 2.5rem;
	}

	.category-nav {
		flex-direction: column;
		gap: 1rem;
	}

	.category-nav a {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 576px) {
	.internship-grid,
	.scholarship-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.internship-card,
	.scholarship-card {
		padding: 0.8rem;
	}

	.company-image,
	.organization-image {
		/* height: 100px; */
	}

	.internship-info h3,
	.scholarship-info h3 {
		font-size: 1.2rem;
	}

	.internship-info h4,
	.scholarship-info h4 {
		font-size: 0.8rem;
	}

	.internship-info p,
	.scholarship-info p {
		font-size: 0.8rem;
	}

	.internship-details span,
	.scholarship-details span {
		font-size: 0.7rem;
		padding: 0.2rem 0.6rem;
	}

	.internship-grid:has(> :only-child) {
		max-width: 100%;
	}

	.internship-grid:has(> :only-child) .internship-card {
		max-width: 100%;
	}

	.scholarship-grid:has(> :only-child) {
		max-width: 100%;
	}

	.scholarship-grid:has(> :only-child) .scholarship-card {
		max-width: 100%;
	}

	.internship-grid:has(> :nth-child(2):last-child) {
		max-width: 100%;
	}

	.internship-grid:has(> :nth-child(2):last-child) .internship-card {
		max-width: 100%;
	}

	.scholarship-grid:has(> :nth-child(2):last-child) {
		max-width: 100%;
	}

	.scholarship-grid:has(> :nth-child(2):last-child) .scholarship-card {
		max-width: 100%;
	}

	.internships {
		position: relative;
		top: auto;
		transform: none;
		margin-top: 2rem;
	}

	.category-nav {
		position: relative;
		pointer-events: auto;
	}

	.role-title {
		font-size: 1.2rem;
	}

	.internship-section h2,
	.scholarship-section h2 {
		font-size: 2rem;
	}
}

/* Animation for cards */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.internship-card,
.scholarship-card {
	animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for links */
.internship-info a,
.scholarship-info a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.internship-info a:hover,
.scholarship-info a:hover {
	color: #b3bde1;
	text-shadow: 0 0 10px rgba(179, 189, 225, 0.5);
}

/* Additional styling for better visual hierarchy */
.internship-details,
.scholarship-details {
	border-top: 1px solid rgba(179, 189, 225, 0.2);
	padding-top: 1rem;
	margin-top: 1rem;
}

/* Styling for specific details */
.duration,
.location,
.stipend,
.amount,
.eligibility,
.deadline {
	position: relative;
	padding-left: 1.5rem;
}

.duration::before,
.location::before,
.stipend::before,
.amount::before,
.eligibility::before,
.deadline::before {
	content: '•';
	position: absolute;
	left: 0.5rem;
	color: #e2eff7;
}
