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

:root {
	--base: #555;
	--base-100: #f1f1f1;
	--base-400: #555;
	--base-800: #000;
	--yellow: #ffda4b;
	--yellow-100: #fffbe6;
	--yellow-400: #ffda4b;
	--yellow-800: #8b6f00;
	--blue: #0a61ae;
	--blue-100: #e2f8ff;
	--blue-400: #61dafb;
	--blue-800: #0a61ae;
}

body {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 20px;
	padding-bottom:300px;
	background: linear-gradient(135deg, #e6f0ff 0%, #f0f8ff 50%, #fffde0 100%);
	background-attachment: fixed;
}

a {
	text-decoration: none;
	color: var(--blue);
	&:hover {
		text-decoration: underline;
	}
}

header {
	padding-top:10px;
	padding-bottom:10px;
	display:flex;
	justify-content:space-between;
	max-width:1440px;
	margin:auto;
	border-bottom: 1px solid rgba(0,0,0,0.1);

	.logo-holder {
		display:flex;
		padding:10px;
		align-items:center;
		font-weight:600;
		color: var(--base-800);
		
		.logo {
			display:flex;
			align-items:center;
			justify-content:center;
			font-size:32px;
			background-color: var(--base-800);
			color: var(--base-100);
			height:64px;
			width:64px;
			margin-right:20px;
			border-radius:50%;
		}
		.logo-text {
			flex:1;
		}
	}

	nav {
		display:flex;
		align-items:center;
		ul {
			display:flex;
			list-style-type: none;
			gap:5px;
			li {
				display:inline-block;
				a {
					display:inline-block;
					padding:10px 20px;
					color:var(--base);
					&:hover {
						background-color: var(--base-100);
						border-radius:10px;
						text-decoration:none;
					}
				}
			}
		}
		.mobile-toggle {
			display:none;
			color:var(--base-800);
			padding:10px;
			@media (max-width:768px){
				display:inline-block;
				position:absolute;
				top:20px;
				right:20px;
			}
		}
	}

	@media (max-width: 1024px) {
		flex-direction:column;
		align-items:center;
	}

	@media (max-width: 768px) {
		flex-direction:column;
		align-items:center;
		nav {
			margin-top:10px;
			width:100%;
			ul {
				display:none;
				flex-direction:column;
				text-align:center;
				width:100%;
				a {
					width:100%;
				}
				&.active {
					display:flex;
				}
			}
		}
	}
}

/* Default header styles */
header {
	padding: 10px;
	text-align: center;
  }
  
  header h3 {
	color: white;
	font-weight: bold;
	margin: 0;
  }
  
  /* Specific styles for PMI.html page */
  .pmi-page header {
	background-color: orange; /* Orange background for PMI.html header */
  }

  .bd-page header{
	background-color: pink;
  }

  .dm-page header{
	background-color: #444;
  }
  

section {
	max-width:1440px;
	margin:auto;
	gap:30px;
	margin-top:30px;
	margin-bottom:30px;

	@media (max-width:1440px){
		padding-left:30px;
		padding-right:30px;
	}
}

/* Default button style */
.button {
	padding: 10px 20px;
	color: white;
	text-decoration: none;
	background-color: #333; /* Default background color */
	border-radius: 5px;
  }
  
  /* Yellow button style for 'My work' */
  .button.yellow {
	background-color: #ffda4b; /* Changes background to yellow */
	color: black; /* Changes text color to black for contrast */
  }
  
.button {
	display:inline-block;
	padding:10px 30px;
	background-color: var(--blue);
	color: var(--base-100);
	border-radius:10px;
	transition: ease 0.3s all;
	&:hover {
		text-decoration:none;
		background-color: var(--base-800);
	}
	&.white {
			background-color: var(--blue-800); /* Default background color */
			color: white; /* Default text color */
			
			&:hover {
				background-color: black; /* Background color on hover */
				color: white; /* Text color on hover */
			}
		
	}
	&.black {
		background-color: black;
		color: white;
		&:hover {
			background-color: var(--base);
			color: var(--base-100);
		}
	}
}

.button.yellow {
	display:inline-block;
	padding:10px 30px;
	background-color: var(--yellow-400);
	color: var(--base-800);
	border-radius:10px;
	transition: ease 0.3s all;
	&:hover {
		background-color: black; /* Background color on hover */
		color: var(--yellow-400); /* Text color on hover */
	}
	&.white {
		background-color: blue;
		color: var(--blue-800);
		&:hover {
			background-color: var(--base-800);
			color: var(--base);
		}
	}
	&.black {
		background-color: black;
		color: white;
		&:hover {
			background-color: var(--base-800);
			color: var(--base-100);
		}
	}
}

/* Dropdown Menu Styling */
#menu .dropdown {
    position: relative;
}

#menu .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .5);
    list-style: none;
    margin: 0;
    z-index: 1000;
}

#menu .dropdown-menu li {
    margin: 5px 0;
}

#menu .dropdown-menu a {
    text-decoration: none;
    color: #060606;
    padding: 5px 10px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#menu .dropdown-menu a:hover {
    background-color: #ffda4b;
}

/* Show Dropdown on Hover */
#menu .dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: Mobile Toggle Styling */
.mobile-toggle {
    display: none; /* Adjust this based on your mobile responsiveness */
}

h1 {
	font-size:64px;
	line-height:1;
	margin-bottom:10px;
	small {
		display:block;
		font-weight:100;
	}
	@media (max-width:1024px){
		font-size:48px;
	}
}

.hero {
	display:flex;
	@media (max-width:1024px){
		flex-direction:column;
	}
	.hero-blue {
		flex:1;
		background-color: var(--blue-100);
		border-radius:30px;
		padding:30px;
		display:flex;
		flex-direction:column;
		justify-content:center;
		span {
			@media (max-width:768px){
				display:none;
			}
		}
		.call-to-action {
			margin-top:20px;
			margin-bottom:10px;
			a {
				margin-right:10px;
				margin-bottom:10px;
			}
		}
		.social-links {
			a {
				&:hover {
					text-decoration:none;
				}
			}
		}
	}
	.hero-yellow {
		flex:1;
		background-color: var(--yellow);
		border-radius:30px;
		padding: 10px 30px;
		display:flex;
		justify-content:center;
		align-items:flex-end;
		img {
			margin-top:-60px;
			max-width:560px;
			margin-bottom:-10px;
		}
	}
}

.logos {
	background-color: var(--base-100);
	border-radius:30px;
	padding:30px 0px;
	@media (max-width:1440px){
		border-radius:0px;
	}
	.marquee {
		width:100vw;
		max-width:100%;
		height: 130px;
		color: #ffeea8;
		overflow:hidden;
		position:relative;
		.track {
			position:absolute;
			white-space:nowrap;
			will-change:transform;
			animation: marquee 15s linear infinite;
			display:flex;
			gap:10px;
		}
	}
}


@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* CONSISTENT SECTION HEADINGS */
.skills h2, .work-experience h2, .bento h2, .chatbot h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    display: block;
    width: 100%;
    left: 0;
    transform: none;
}

.bento h2 {
    text-align: center;
    margin-bottom: 50px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
	color: var(--base-800);
	small {
        display: block;
        font-weight: 400;
        color: var(--blue-800);
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 1rem;
        margin-bottom: 8px;
        opacity: 0.8;
    }
}

.skills h2::after, .work-experience h2::after, .bento h2::after, .chatbot h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-400) 0%, var(--yellow-400) 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
	font-size:32px;
	font-weight:600;
	line-height:1;
	margin-bottom:20px;
	color: var(--base-800);
}
h4 {
	font-size:32px;
	font-weight:600;
	line-height:1;
	margin-bottom:20px;
	color: var(--base-800);
}

.skills {
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.skills::before {
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(97, 218, 251, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
	top: -100px;
	left: -100px;
	z-index: -1;
}

.skills::after {
	content: '';
	position: absolute;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 218, 75, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
	bottom: -50px;
	right: -50px;
	z-index: -1;
}

	.holder-blue {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05),
				0 1px 4px rgba(0, 0, 0, 0.1),
				0 0 0 1px rgba(0, 0, 0, 0.05);
	padding: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.holder-blue:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1),
				0 3px 10px rgba(0, 0, 0, 0.05);
}

.holder-blue::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, var(--blue-400) 0%, var(--yellow-400) 100%);
	top: 0;
	left: 0;
}

.holder-blue .left-column {
	position: relative;
}

.holder-blue .left-column h3 {
	font-size: 1.6rem;
	margin-bottom: 20px;
	color: var(--blue-800);
	position: relative;
	display: inline-block;
}

.holder-blue .left-column h3::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 3px;
					background-color: var(--blue-400);
	bottom: -8px;
	left: 0;
	border-radius: 1.5px;
}

.holder-blue .left-column h4 {
	font-size: 1.3rem;
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--blue-800);
	position: relative;
	display: inline-block;
}

.holder-blue .left-column h4::after {
	content: '';
	position: absolute;
	width: 30px;
	height: 2px;
	background-color: var(--yellow-400);
	bottom: -6px;
	left: 0;
	border-radius: 1px;
}

.holder-blue .left-column ul {
	list-style: none;
	padding-left: 5px;
	margin-bottom: 20px;
}

.holder-blue .left-column li {
	margin-bottom: 10px;
	position: relative;
	padding-left: 28px;
	font-size: 1rem;
	line-height: 1.5;
}

.holder-blue .left-column li::before {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--yellow-400);
	left: 0;
	top: 6px;
	transform: scale(0.7);
	transition: transform 0.2s ease;
}

.holder-blue .left-column li:hover::before {
	transform: scale(1);
	background-color: var(--blue-400);
}

.holder-blue .right-column {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	padding-left: 40px;
		display: flex;
			flex-direction: column;
	justify-content: center;
}

.holder-blue .right-column h3 {
	font-size: 1.6rem;
	margin-bottom: 20px;
	color: var(--blue-800);
	position: relative;
	display: inline-block;
}

.holder-blue .right-column h3::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 3px;
	background-color: var(--blue-400);
	bottom: -8px;
	left: 0;
	border-radius: 1.5px;
}

.holder-blue .right-column p {
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 20px;
	color: #444;
}

.holder-blue .right-column p:first-of-type {
	position: relative;
}

@media (max-width: 1024px) {
	.holder-blue {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.holder-blue .right-column {
		border-left: none;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		padding-left: 0;
		padding-top:.30px;
	}
}

/* MODERN WORK EXPERIENCE SECTION STYLES */
.work-experience {
	padding: 80px 0;
	position: relative;
				overflow: hidden;
}

.work-experience::before {
	content: '';
	position: absolute;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(97, 218, 251, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
	top: 50%;
	left: -200px;
	border-radius: 50%;
	z-index: -1;
}

.work-experience h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
				position: relative;
    display: block !important;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
}

.work-experience h2::after {
	content: '';
					position: absolute;
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, var(--blue-400) 0%, var(--yellow-400) 100%);
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
}

.work-experience h2 small {
	font-weight: 400;
	color: var(--blue-800);
	letter-spacing: 2px;
	text-transform: uppercase;
	display: block;
	font-size: 1rem;
	margin-bottom: 8px;
	opacity: 0.8;
}

.jobs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.jobs article {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05),
				0 1px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.jobs article:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
				0 5px 10px rgba(0, 0, 0, 0.05);
}

.jobs article::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--blue-400) 0%, var(--yellow-400) 100%);
					top: 0;
					left: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.jobs article:hover::before {
	transform: scaleX(1);
}

.jobs article figure {
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
}

.jobs article figure img {
	width: 100%;
	height: 200px;
					object-fit: cover;
	transition: transform 0.5s ease;
}

.jobs article:hover figure img {
	transform: scale(1.1);
}

.jobs article figure figcaption {
					position: absolute;
					bottom: 0;
					left: 0;
	width: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
	color: white;
	padding: 15px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.jobs article:hover figure figcaption {
	transform: translateY(0);
}

.jobs article h3 {
	font-size: 1.3rem;
	margin: 0 20px 10px;
	color: var(--blue-800);
}

.jobs article > div {
	font-size: 0.9rem;
	margin: 0 20px 15px;
	color: #666;
	font-weight: 600;
}

.jobs article ul {
	margin: 0 20px 20px;
	padding-left: 20px;
}

.jobs article ul li {
	margin-bottom: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #444;
}

.jobs article a.button {
	margin: auto 20px 20px;
	align-self: flex-start;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.jobs article a.button.black::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--blue-800);
	top: 0;
	left: -100%;
	z-index: -1;
	transition: left 0.3s ease;
}

.jobs article a.button.black:hover::before {
	left: 0;
}

@media (max-width: 1024px) {
	.jobs {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.jobs {
		grid-template-columns: 1fr;
	}
}

.bento {
	.bento-grid {
		display: grid;
		grid-gap: 20px;
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr;
		height: auto;
		margin-bottom: 30px;
		
		@media(max-width:1024px){
			grid-template-columns: repeat(2, 1fr);
			grid-template-rows: repeat(2, 1fr);
		}
		@media(max-width:768px){
			display: flex;
			flex-direction: column;
			gap: 30px;
			height: auto;
		}
		
		.bento-item {
			padding: 20px;
			background-color: var(--base-100);
			border-radius: 15px;
			position: relative;
			overflow: hidden;
			aspect-ratio: 1/1;
			transition: transform 0.3s ease;
			
			.project-overlay {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
				color: white;
				display: flex;
				align-items: flex-end;
				justify-content: center;
				padding: 20px;
				font-size: 22px;
				font-weight: 600;
				z-index: 2;
				transition: all 0.3s ease;
				text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
				
				@media(max-width:768px){
					font-size: 18px;
					padding: 15px;
				}
				
				@media(max-width:480px){
					font-size: 16px;
					padding: 10px;
				}
			}
			
			img {
				position: absolute;
				top: 0;
				left: 0;
				height: 100%;
				width: 100%;
				object-fit: cover;
				transition: transform 0.5s ease;
			}
			
			&:hover {
				transform: scale(1.05);
				z-index: 1;
				box-shadow: 0 10px 20px rgba(0,0,0,0.1);
				
				.project-overlay {
					background: linear-gradient(to bottom, rgba(10,97,174,0.2) 0%, rgba(10,97,174,0.8) 100%);
					padding-bottom: 25px;
				}
				
				img {
					transform: scale(1.1);
				}
			}
			
			@media(max-width:768px){
				height: 240px;
				aspect-ratio: auto;
			}
			
			/* Reset all grid spans to make boxes equal */
			&:nth-child(1), 
			&:nth-child(2),
			&:nth-child(3),
			&:nth-child(4),
			&:nth-child(5),
			&:nth-child(6) {
				grid-column: span 1;
				grid-row: span 1;
				
				@media(max-width:1024px){
				grid-column: span 1;
				grid-row: span 1;
				}
			}
		}
	}
}

.body {
	font-family: 'Times New Roman', Times, serif, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #aaff00;
  }
  
  .header {
	text-align: right;
	background-color: #e4ff6c;
	color: rgb(244, 255, 163);
	padding: 20px 0;
  }
  
  .top-section {
	display: flex;
	justify-content: space-around;
	margin: 20px;
  }
  
  .photo-section {
	flex: 1;
	margin-right: 20px;
  }
  
  .main-photo {
	width: 100%;
	border-radius: 10px;
  }
  
  .top-section {
	display: flex;
	justify-content: space-between;
	margin: 20px;
	gap: 20px;
}

.photo-section {
	flex: 1;
	margin-right: 20px;
}

.main-photo {
	width: 100%;
	border-radius: 10px;
}

.bento-grid {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
	gap: 20px; /* Reduced gap for a tighter layout */
}

.grid-item {
	position: relative; /* For overlaying content */
	width: 100%;
	padding-top: 100%; /* Keeps grid items square */
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	overflow: hidden; /* Hides overflow of scaling items */
	transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover effect */
}

.grid-item:hover {
	transform: scale(1.05);
	box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

.grid-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6); /* Adds a fade effect on the image */
	transition: background 0.3s;
}

.grid-item:hover::before {
	background: rgba(0, 0, 0, 0.1); /* Lightens the fade on hover */
}

.grid-item h2 {
	position: absolute;
	color: white;
	font-size: 1.2rem;
	font-weight: bold;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Makes text more readable */
	margin: 0;
	text-align: center;
}
  
.video-content-section {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px;
  }
  
  .mobile-frame {
	position: relative; /* For overlay positioning */
	flex: 0 1 40%; /* Adjusts the width of the video container */
	max-width: 400px;
	border-radius: 10px; /* Rounded corners */
	overflow: hidden; /* Clips overflow for rounded corners */
  }
  
  .mobile-frame video {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
  }
  
  .video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column; /* Ensures elements are stacked vertically */
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4); /* Faded background */
	z-index: 2; /* Places the overlay above the video */
	color: white;
	font-size: 1.2rem;
	font-weight: bold;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Enhances text readability */
	border-radius: 10px;
  }
  
  .video-overlay .btn {
	background-color: #ff5a5f;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: bold;
	margin-top: 10px;
	pointer-events: auto; /* Enables interaction with the button */
  }
  
  .video-overlay .btn:hover {
	background-color: #e14e4d;
  }
  
  .overlay-text {
	margin-top: 1px;
	text-align: center;
  }
  
  
  .experience-content {
	flex: 1;
	display: flex;
	justify-content: center; /* Centers the shadow box horizontally */
  }
  
  .experience-box {
	background: white;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Adds a shadow */
	border-radius: 10px;
	padding: 50px;
	max-width: 800px;
	width: 200%;
	text-align: justify; /* Justifies the text */
	font-size: 1rem;
	line-height: 2;
  }
  
  @media (max-width: 950px) {
	.video-content-section {
	  flex-direction: column; /* Stacks content on smaller screens */
	}
  
	.mobile-frame {
	  max-width: 100%; /* Makes the video responsive */
	}
  
	.experience-box {
	  max-width: 150%; /* Adapts the shadow box width */
	}
  }
  
  .navigation-buttons {
	display: flex;
	justify-content: space-between;
	margin: 20px;
  }
  
  .btn {
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
  }
  
  .btn:hover {
	background-color: #0056b3;
  }
  
  
.chatbot {
	.chatbot-blue {
		background-color: #e8f4ff;
		border-radius: 20px;
		padding: 30px;
		display: grid;
		grid-template-columns: 1fr 1.5fr;
		gap: 30px;
	}
	
	@media (max-width: 768px) {
		.chatbot-blue {
			grid-template-columns: 1fr;
		}
	}
	
		.chat-info {
		padding-right: 20px;
	}
	
	.chat-info h3 {
		font-size: 24px;
		margin-bottom: 15px;
		color: var(--blue-800);
	}
	
	.chat-info p {
		margin-bottom: 20px;
		color: var(--base-700);
		line-height: 1.6;
	}
	
	/* Improve overall chatbox appearance */
		.chat-box {
		background-color: #fff;
		border-radius: 15px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
		display: flex;
		flex-direction: column;
		height: 450px;
		overflow: hidden; /* Ensure content doesn't overflow */
	}
	
	/* Ensure scroll area has a fixed height */
			.scroll-area {
		height: 380px;
		overflow-y: auto;
		padding: 15px;
		background-color: #fff;
		border-radius: 12px 12px 0 0;
		flex-grow: 1;
	}
	
	.suggested-questions {
		margin-top: 25px;
		
		h4 {
			font-size: 18px;
			margin-bottom: 15px;
			color: var(--blue-800);
		}
		
		.question-buttons {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
			
			.question-btn {
				background-color: white;
				color: var(--blue-800);
				border: 1px solid var(--blue-400);
				padding: 8px 16px;
				border-radius: 20px;
				font-size: 14px;
				cursor: pointer;
				transition: all 0.2s ease;
				
				&:hover {
					background-color: var(--blue-400);
					color: white;
					transform: translateY(-2px);
				}
				
				&:active {
					transform: translateY(0);
				}
			}
		}
	}
}

/* START OF CRITICAL CHATBOT STYLES - DO NOT REMOVE */
.scroll-area {
    height: 300px;
    overflow-y: auto;
    background-color: white !important;
    padding: 15px;
    border-radius: 10px;
}

#chat-log {
    list-style: none;
    padding: 0;
    margin: 0;
}

#chat-log li {
    display: flex;
    margin-bottom: 15px;
}

/* User messages */
.user-message {
    justify-content: flex-end;
}

.user-message .message {
    background-color: #fff3d8;
    border: 1px solid #ffcb46;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 15px;
    max-width: 80%;
    margin-right: 10px;
    line-height: 1.5;
}

.user-message .avatar {
    background-color: #ffcb46;
    color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Bot messages */
.bot-message {
    justify-content: flex-start;
}

.bot-message .message {
    background-color: #e8f4ff;
    border: 1px solid #0a77e8;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 15px;
    max-width: 80%;
    margin-left: 10px;
    line-height: 1.5;
}

.bot-message .avatar {
    background-color: #0a77e8;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Input area */
.chat-message {
    display: flex;
    padding: 10px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-radius: 0 0 10px 10px;
}

.chat-message input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-message button {
    min-width: 70px;
}

/* Suggested questions */
.suggested-questions {
    margin-top: 30px;
}

.suggested-questions h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.question-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.question-btn:hover {
    background-color: #e0e0e0;
}
/* END OF CRITICAL CHATBOT STYLES */

/* ANIMATIONS AND VISUAL EFFECTS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.skills h2, .work-experience h2 {
    animation: fadeIn 0.8s ease forwards;
}

.holder-blue, .jobs article {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.jobs article:nth-child(2) {
    animation-delay: 0.4s;
}

.jobs article:nth-child(3) {
    animation-delay: 0.6s;
}

/* GRADIENT BACKGROUND AND ENHANCED HOVER EFFECTS */
body {
    background: linear-gradient(135deg, #e6f0ff 0%, #f0f8ff 50%, #fffde0 100%);
    background-attachment: fixed;
}

.skills h2::after, .work-experience h2::after, .bento h2::after, .chatbot h2::after, .holder-blue::before, .jobs article::before {
    background: linear-gradient(90deg, var(--blue-400), var(--yellow-400), var(--blue-400));
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
}

/* ENHANCED BUTTON STYLES */
.jobs article a.button.black {
    background-color: var(--blue-800);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jobs article a.button.black:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--blue-600);
}

/* ENHANCED SKILL ITEMS */
.holder-blue .left-column li::before {
    box-shadow: 0 0 0 2px rgba(97, 218, 251, 0.2);
    transition: all 0.3s ease;
}

.holder-blue .left-column li:hover::before {
    box-shadow: 0 0 0 4px rgba(97, 218, 251, 0.3);
}

/* SCROLL REVEAL EFFECT */
html {
    scroll-behavior: smooth;
}

/* GLASS MORPHISM EFFECT FOR CONTAINERS */
.holder-blue, .jobs article {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* CONTAINER TRANSFORM */
.container {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.holder-blue:hover, .jobs article:hover {
    transform: translateY(-10px) scale(1.01);
}

/* NAVIGATION ACTIVE STATE */
nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-400), var(--yellow-400));
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--blue-800);
    font-weight: 500;
}

/* ANIMATE ON SCROLL ELEMENTS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGERED ANIMATION DELAYS */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.6s;
}

/* Switch Dialog Styles */
.switch-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.switch-dialog.active {
    opacity: 1;
    visibility: visible;
}

.switch-dialog-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 2px solid var(--blue-400);
    position: relative;
    overflow: hidden;
}

.switch-dialog.active .switch-dialog-content {
    transform: scale(1);
}

.switch-dialog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-400), var(--yellow-400));
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
}

.switch-icon {
    text-align: center;
    margin-bottom: 20px;
    color: var(--blue-800);
}

.switch-icon svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: block;
}

.switch-dialog-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--blue-800);
    font-weight: 500;
}

.switch-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.switch-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-btn.yes {
    background-color: var(--blue-400);
    color: white;
}

.switch-btn.yes:hover {
    background-color: var(--blue-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hide dialog on desktop */
@media (min-width: 769px) {
    #mobile-switch-dialog {
        display: none !important;
    }
}

/* Override for desktop view on mobile */
body.desktop-view #mobile-switch-dialog {
    display: none !important;
}

/* Desktop override for proper width on mobile when requesting desktop */
body.desktop-view {
    min-width: 1024px;
}

/* REMOVE ALL ROBOT STYLES */

