/* Home: about.
   One file per section; each screen size has its block below. */

/* Laptop and desktop */
@media screen and (min-width: 1025px) {
	.bento-grid-tablet, .bento-grid-mobile { display: none; }
	.bento-grid-laptop {
		width: 80%;
		display: grid;
		grid-template-columns: 1fr 1px 0.75fr;
		column-gap: 3.75rem;
		position: relative;

		.bento-left {
			display: flex;
			flex-direction: column;
		}
		.vertical-divider {
			width: 1px;
			height: 96%;
			background: rgba(0, 0, 0, 0.15);
			transform: translateY(1%);
		}
		.bento-right {
			display: flex;
			flex-direction: column;
			gap: 6.1rem;
		}
	}

	.about-card,
	.education-card,
	.skills-card,
	.connect-card {
		padding: 0;
		position: relative;

		h3{
			font-size: 3.8rem;
			font-weight: 400;
			line-height: 1;
			margin: 0 0 2rem;
		}
	}

	.section-label {
		display: flex;
		align-items: center;
		gap: 1rem;
		margin-bottom: 1.5rem;

		span {
			font-family: "Poppins", sans-serif;
			font-size: 0.7rem;
			letter-spacing: 3px;
			color: #555;
		}
		p {
			margin: 0;
			font-family: "Poppins", sans-serif;
			font-size: 0.65rem;
			letter-spacing: 4px;
			color: #888;
		}
		&::after {
			content: "";
			width: 70px;
			height: 1px;
			background: #bbb;
		}
	}

	.about-card {
		min-height: 378px;

		.about-text {
			max-width: 620px;

			p {
				font-family: "Poppins", sans-serif;
				font-size: 1rem;
				line-height: 1.8;
				color: #222;
				margin-bottom: 1.8rem;
			}
		}
	}

	.education-info {
		font-family: "Poppins", sans-serif;
		font-size: 1rem;
		line-height: 2;

		strong {
			font-weight: 600;
		}
		em {
			font-style: italic;
		}
		h3 {
			margin-bottom: 3rem;
		}
	}

	.skill-group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		margin-bottom: 1.5rem;

		> span {
			width: auto;
			padding-top: 0;
			font-family: "Poppins", sans-serif;
			font-size: 0.65rem;
			letter-spacing: 3px;
			color: #777;
		}
		.skill-icons {
			display: flex;
			flex-wrap: nowrap;
			gap: 2rem;
			align-items: flex-start;

			div {
				display: flex;
				flex-direction: column;
				align-items: center;
				gap: 0.5rem;
			}
			img {
				width: 2.5rem;
				height: 2.5rem;
			}
			p {
				font-family: "Poppins", sans-serif;
				font-size: 0.67rem;
				margin: 0;
			}
		}
	}

	.connect-card {
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: start;
		gap: 1rem;

		h3 {
			margin-bottom: 1rem;
		}
		.profile-card {
			width: 20rem;
			display: flex;
			align-items: center;
			gap: 0.75rem;
			padding: 0.75rem 0.75rem;
			border-radius: 1.5rem;
			background: linear-gradient(
				145deg,
				rgba(62, 62, 62, 0.5) 3%,
				rgba(14, 14, 14, 0.8) 35%,
				rgba(0, 0, 0, 0.5)
			);
			backdrop-filter: blur(18px);
			-webkit-backdrop-filter: blur(18px);
			border: 1px solid rgba(255, 255, 255, 0.18);
			box-shadow:
				inset 0 0 40px rgba(255, 255, 255, 0.05),
				0 20px 60px rgba(0, 0, 0, 0.25);
	
			position: relative;
			overflow: hidden;
			text-decoration: none;
			color: white;
	
			&::before {
				content: "";
				position: absolute;
				inset: 0;
				background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
				opacity: 0.9;
				mix-blend-mode: soft-light;
				pointer-events: none;
			}
			&::after {
				content: "";
				position: absolute;
				inset: 0;
				background: linear-gradient(
					120deg,
					rgba(255, 255, 255, 0.18),
					transparent 25%,
					transparent 70%,
					rgba(255, 255, 255, 0.04)
				);
				opacity: 0.9;
				pointer-events: none;
			}
			.profile-image {
				width: 3.5rem;
				height: 3.5rem;
				border-radius: 50%;
				overflow: hidden;
				opacity: 1;
				border: 1px solid rgba(255, 255, 255, 0.2);
	
				flex-shrink: 0;
				img {
					width: 100%;
					height: 100%;
					object-fit: cover;
				}
			}
			.profile-info {
				position: relative;
				z-index: 2;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				align-items: start;
				gap: 0.2rem;
	
				h3 {
					margin: 0;
					font-family: "Poppins", serif;
					font-size: 1.2rem;
					font-weight: 400;
					letter-spacing: -1px;
				}
				span {
					font-family: "Poppins", sans-serif;
					font-size: 0.9rem;
					color: rgba(255, 255, 255, 0.55);
				}
			}
			.github-icon {
				margin-left: auto;
				width: 2.5rem;
				height: 2.5rem;
				opacity: 0.12;
				position: relative;
				z-index: 2;
	
				img {
					width: 100%;
					height: 100%;
				}
			}
		}
		.linkedin {
			border: 1px solid rgba(112, 181, 249, 0.22);
			background: linear-gradient(
			145deg,
			rgba(10, 102, 194, 0.7) 3%,
			rgba(8, 58, 108, 0.85) 45%,
			rgba(2, 15, 30, 0.65) 100%
		);
		}
	}
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.bento-grid-laptop, .bento-grid-mobile { display: none; }
	.bento-grid-tablet {
		width: 85%;
		display: flex;
		justify-content: start;
		align-items: start;
		flex-direction: column;
		gap: 3rem;
		position: relative;

		.bento-top {
			width: 100%;
			display: flex;
			flex-direction: column;
		}
		.bento-bottom {
			width: 100%;
			display: grid;
			grid-template-columns: 0.65fr 1px 0.35fr;
			column-gap: 3.75rem;
			align-items: center;
		}
		.vertical-divider {
			width: 0.75px;
			height: 100%;
			background: rgba(0, 0, 0, 0.15);
			justify-self: start;
		}
	}

	.about-card,
	.education-card,
	.skills-card,
	.connect-card {
		padding: 0;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: start;
		gap: 1.25rem;

		h3{
			font-size: 3rem;
			font-weight: 400;
			line-height: 1;
		}
	}
	.skills-card {
		gap: 2rem;
	}

	.about-card {
		.about-text {
			display: flex;
			flex-direction: column;
			justify-content: start;
			align-items: start;
			gap: 1rem;

			p {
				font-family: "Poppins", sans-serif;
				font-size: 0.9rem;
				line-height: 1.5;
				color: #222;
			}
		}
	}

	.skill-group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.7rem;

		> span {
			width: auto;
			padding-top: 0;
			font-family: "Poppins", sans-serif;
			font-size: 0.65rem;
			letter-spacing: 3px;
			color: #777;
		}
		.skill-icons {
			display: flex;
			flex-wrap: nowrap;
			gap: 2rem;
			align-items: flex-start;

			div {
				display: flex;
				flex-direction: column;
				align-items: center;
				gap: 0.5rem;
			}
			img {
				width: 2rem;
				height: 2rem;
			}
			p {
				font-family: "Poppins", sans-serif;
				font-size: 0.6rem;
				margin: 0;
			}
		}
	}

	.bento-bottom-right {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: start;
		align-items: start;
		gap: 3rem;

		.education-info {
			font-family: "Poppins", sans-serif;
			font-size: 1rem;
			line-height: 2;

			strong {
				font-weight: 600;
			}
			em {
				font-style: italic;
			}
			h3 {
				margin-bottom: 3rem;
			}
		}

		.connect-card {
			display: flex;
			flex-direction: column;
			justify-content: start;
			align-items: start;
			gap: 1rem;

			h3 {
				margin-bottom: 1rem;
			}

			.profile-card {
				width: 15rem;
				display: flex;
				align-items: center;
				gap: 0.75rem;
				padding: 0.65rem 0.65rem;
				border-radius: 1.4rem;
				background: linear-gradient(
					145deg,
					rgba(62, 62, 62, 0.5) 3%,
					rgba(14, 14, 14, 0.8) 35%,
					rgba(0, 0, 0, 0.5)
				);
				backdrop-filter: blur(18px);
				-webkit-backdrop-filter: blur(18px);
				border: 1px solid rgba(255, 255, 255, 0.18);
				box-shadow:
					inset 0 0 40px rgba(255, 255, 255, 0.05),
					0 20px 60px rgba(0, 0, 0, 0.25);

				position: relative;
				overflow: hidden;
				text-decoration: none;
				color: white;

				&::before {
					content: "";
					position: absolute;
					inset: 0;
					background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
					opacity: 0.9;
					mix-blend-mode: soft-light;
					pointer-events: none;
				}
				&::after {
					content: "";
					position: absolute;
					inset: 0;
					background: linear-gradient(
						120deg,
						rgba(255, 255, 255, 0.18),
						transparent 25%,
						transparent 70%,
						rgba(255, 255, 255, 0.04)
					);
					opacity: 0.9;
					pointer-events: none;
				}
				.profile-image {
					width: 3rem;
					height: 3rem;
					border-radius: 50%;
					overflow: hidden;
					opacity: 1;
					border: 1px solid rgba(255, 255, 255, 0.2);

					flex-shrink: 0;
					img {
						width: 100%;
						height: 100%;
						object-fit: cover;
					}
				}
				.profile-info {
					position: relative;
					z-index: 2;
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					align-items: start;
					gap: 0.2rem;

					h3 {
						margin: 0;
						font-family: "Poppins", serif;
						font-size: 1.1rem;
						font-weight: 400;
						letter-spacing: -1px;
					}
					span {
						font-family: "Poppins", sans-serif;
						font-size: 0.7rem;
						color: rgba(255, 255, 255, 0.55);
					}
				}
				.github-icon {
					margin-left: auto;
					width: 2rem;
					height: 2rem;
					opacity: 0.12;
					position: relative;
					z-index: 2;

					img {
						width: 100%;
						height: 100%;
					}
				}
			}
			.linkedin {
				border: 1px solid rgba(112, 181, 249, 0.22);
				background: linear-gradient(
					145deg,
					rgba(10, 102, 194, 0.5) 3%,
					rgba(7, 30, 52, 0.8) 35%,
					rgba(0, 6, 14, 0.5) 100%
				);
			}
		}		
	}
}

/* Mobile */
@media screen and (min-width: 320px) and (max-width: 767px) {
	.bento-grid-laptop, .bento-grid-tablet { display: none; }
	.bento-grid-mobile {
		width: 85%;
		display: flex;
		flex-direction: column;
		align-items: start;
		justify-content: center;
		gap: 1.75rem;
		position: relative;
	}

	.about-card,
	.education-card,
	.skills-card,
	.connect-card {
		padding: 0;
		position: relative;

		h3{
			font-size: 2.6rem;
			font-weight: 300;
			line-height: 1.5;
		}
	}

	.about-card {
		.about-text {
			display: flex;
			flex-direction: column;
			justify-content: start;
			align-items: start;
			gap: 0.5rem;

			p {
				font-family: "Poppins", sans-serif;
				font-size: 0.75rem;
				line-height: 1.5;
				color: #222;
			}
		}
	}

	.education-info {
		font-family: "Poppins", sans-serif;
		font-size: 0.75rem;
		line-height: 2;

		strong {
			font-weight: 600;
		}
		em {
			font-style: italic;
		}
		h3 {
			margin-bottom: 3rem;
		}
	}

	.skills-card{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: start;

		> div {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: start;
			gap: 1rem;
		}

		.skill-group {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 0.7rem;

			> span {
				width: auto;
				padding-top: 0;
				font-family: "Poppins", sans-serif;
				font-size: 0.5rem;
				letter-spacing: 2px;
				color: #777;
			}
			.skill-icons {
				display: flex;
				flex-wrap: nowrap;
				gap: 1rem;
				align-items: flex-start;

				div {
					display: flex;
					flex-direction: column;
					align-items: center;
					gap: 0.2rem;
				}
				img {
					width: 2.25rem;
					height: 2.25rem;
				}
				p {
					font-family: "Poppins", sans-serif;
					font-size: 0.6rem;
					margin: 0;
				}
			}
		}
	}

	.profile-card {
		width: 15rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.5rem 0.5rem;
		border-radius: 1.35rem;
		background: linear-gradient(
			145deg,
			rgba(62, 62, 62, 0.5) 3%,
			rgba(14, 14, 14, 0.8) 35%,
			rgba(0, 0, 0, 0.5)
		);
		backdrop-filter: blur(18px);
		-webkit-backdrop-filter: blur(18px);
		border: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow:
			inset 0 0 40px rgba(255, 255, 255, 0.05),
			0 20px 60px rgba(0, 0, 0, 0.25);

		position: relative;
		overflow: hidden;
		text-decoration: none;
		color: white;

		&::before {
			content: "";
			position: absolute;
			inset: 0;
			background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
			opacity: 0.9;
			mix-blend-mode: soft-light;
			pointer-events: none;
		}
		&::after {
			content: "";
			position: absolute;
			inset: 0;
			background: linear-gradient(
				120deg,
				rgba(255, 255, 255, 0.18),
				transparent 25%,
				transparent 70%,
				rgba(255, 255, 255, 0.04)
			);
			opacity: 0.9;
			pointer-events: none;
		}
		.profile-image {
			width: 2.75rem;
			height: 2.75rem;
			border-radius: 50%;
			overflow: hidden;
			opacity: 1;
			border: 1px solid rgba(255, 255, 255, 0.2);

			flex-shrink: 0;
			img {
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
		}
		.profile-info {
			position: relative;
			z-index: 2;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			align-items: start;
			gap: 0.1rem;

			h3 {
				margin: 0;
				font-family: "Poppins", serif;
				font-size: 1rem;
				font-weight: 400;
				letter-spacing: -1px;
			}
			span {
				font-family: "Poppins", sans-serif;
				font-size: 0.6rem;
				color: rgba(255, 255, 255, 0.55);
			}
		}
		.github-icon {
			margin-left: auto;
			width: 2rem;
			height: 2rem;
			opacity: 0.12;
			position: relative;
			z-index: 2;

			img {
				width: 100%;
				height: 100%;
			}
		}
	}
	.linkedin {
		border: 1px solid rgba(112, 181, 249, 0.22);
		background: linear-gradient(
			145deg,
			rgba(10, 102, 194, 0.5) 3%,
			rgba(7, 30, 52, 0.8) 35%,
			rgba(0, 6, 14, 0.5) 100%
		);
		margin-bottom: 1rem;
		margin-top: 0.5rem;
	}
}
