/* Pastel Color Palette */
:root {
	--pastel-lavender: #e6e6fa;
	--pastel-pink: #ffd1dc;
	--pastel-mint: #f0fff0;
	--pastel-peach: #ffeaa7;
	--pastel-blue: #e0f6ff;
	--pastel-purple: #dda0dd;
	--pastel-coral: #ffb3ba;
	--pastel-sage: #c7cedb;
	--soft-white: #fefefe;
	--text-dark: #4a4a4a;
	--text-light: #6b6b6b;
	--accent-purple: #b19cd9;
	--accent-pink: #f8bbd9;
	--blue-text: #5200ed;
}

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Poppins", sans-serif;
	background: linear-gradient(
		135deg,
		var(--pastel-lavender) 0%,
		var(--pastel-pink) 50%,
		var(--pastel-mint) 100%
	);
	background-attachment: fixed;
	color: var(--text-dark);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1170px !important;
	margin: 0 auto;
	padding: 0 20px;
}

/* Override Bootstrap container widths */
@media (min-width: 576px) {
	.container,
	.container-sm {
		max-width: 1170px !important;
	}
}

@media (min-width: 768px) {
	.container,
	.container-sm,
	.container-md {
		max-width: 1170px !important;
	}
}

@media (min-width: 992px) {
	.container,
	.container-sm,
	.container-md,
	.container-lg {
		max-width: 1170px !important;
	}
}

@media (min-width: 1200px) {
	.container,
	.container-sm,
	.container-md,
	.container-lg,
	.container-xl {
		max-width: 1170px !important;
	}
}

@media (min-width: 1400px) {
	.container,
	.container-sm,
	.container-md,
	.container-lg,
	.container-xl,
	.container-xxl {
		max-width: 1170px !important;
	}
}

/* Main Banner Section */
.main-banner {
	min-height: 50vh;
	display: flex;
	align-items: center;
	padding: 15px 0;
}

.main-section {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(248, 187, 217, 0.1) 50%,
		rgba(230, 230, 250, 0.1) 100%
	);
	backdrop-filter: blur(15px);
	border-radius: 25px;
	padding: 20px;
	box-shadow: 0 25px 50px rgba(177, 156, 217, 0.15),
		0 10px 20px rgba(248, 187, 217, 0.1);
	border: 2px solid rgba(177, 156, 217, 0.2);
}

.profile-image {
	text-align: center;
	margin-bottom: 15px;
	margin-right: 30px;
	height: 100%;
}

.profile-image img {
	width: 100%;
	height: 100%;
	border-radius: 15px;
	object-fit: cover;
	border: 4px solid var(--pastel-purple);
	box-shadow: 0 10px 20px rgba(177, 156, 217, 0.3);
}

.intro-section {
	padding: 10px 0;
}

.intro-section p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--text-dark);
	font-weight: 400;
	text-align: justify;
}

.header-text h4 {
	font-family: "Playfair Display", serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--blue-text);
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header-text h5 {
	font-size: 1.05rem;
	color: var(--text-light);
	margin-bottom: 20px;
	line-height: 1.6;
	font-weight: 400;
}

/* Button Styles */
.button {
	display: inline-block;
	background: linear-gradient(45deg, #8b5a9b, #c77dbb);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(139, 90, 155, 0.4);
	margin-bottom: 15px;
}

.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
	background: linear-gradient(45deg, #2c3e50, #1a252f);
	color: white;
	text-decoration: none;
}

/* Contact Info */
.contact-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 0;
}

.contact-text {
	display: flex;
	align-items: center;
	color: var(--text-dark);
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
	padding: 5px 0;
}

.contact-text i {
	margin-right: 10px;
	font-size: 1rem;
	width: 20px;
	color: var(--accent-purple);
}

.contact-text a {
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-text a:hover {
	color: var(--accent-purple);
	text-decoration: underline;
}

/* Section Styles */
.about-section,
.services,
.contact-section {
	padding: 20px 0;
	margin: 10px 0;
}

.section-heading {
	text-align: center;
	margin-bottom: 20px;
}

.section-heading h4 {
	font-family: "Playfair Display", serif;
	font-size: 2rem;
	color: var(--accent-pink);
	font-weight: 600;
	margin-bottom: 15px;
	text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8);
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.9),
		rgba(255, 255, 255, 0.7)
	);
	padding: 12px 20px;
	border-radius: 12px;
	display: inline-block;
	box-shadow: 0 6px 16px rgba(82, 0, 237, 0.12);
}

.section-heading h4 em {
	color: var(--accent-pink);
	font-style: normal;
}

.section-heading p {
	font-size: 1.1rem;
	color: var(--text-light);
}

/* About Section */
.about-content {
	background: rgba(255, 255, 255, 0.8);
	padding: 30px;
	border-radius: 20px;
	margin-bottom: 30px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(177, 156, 217, 0.2);
}

.about-content h5 {
	color: var(--accent-purple);
	font-weight: 600;
	margin-bottom: 15px;
	font-size: 1.3rem;
}

/* Services/Portfolio Section */
.services {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 30px;
	margin: 40px 20px;
}

.item-flex {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	padding: 20px 0;
}

/* All items span 1 column by default in a 3-column grid */
.item-flex > * {
	grid-column: span 1;
}

.item {
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(248, 187, 217, 0.05) 100%
	);
	border-radius: 25px;
	padding: 30px;
	text-align: center;
	transition: all 0.4s ease;
	border: 2px solid rgba(177, 156, 217, 0.15);
	box-shadow: 0 15px 30px rgba(177, 156, 217, 0.1),
		0 5px 15px rgba(248, 187, 217, 0.08);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--pastel-purple),
		var(--accent-pink)
	);
	opacity: 0.6;
}

/* Item Link Styling */
.item-link {
	text-decoration: none;
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}

.item-link:hover {
	text-decoration: none;
	color: inherit;
}

.item:hover {
	transform: translateY(-12px) scale(1.02);
	border-color: var(--accent-purple);
	box-shadow: 0 25px 50px rgba(177, 156, 217, 0.25),
		0 10px 25px rgba(248, 187, 217, 0.15);
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(248, 187, 217, 0.1) 100%
	);
}

.service-item .icon {
	margin-bottom: 20px;
}

.icon img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 8px 16px rgba(177, 156, 217, 0.15);
	transition: transform 0.3s ease;
}

.icon img:hover {
	transform: scale(1.05);
}

.service-item .icon img {
	width: 120px;
	height: 120px;
	border-radius: 12px;
	object-fit: cover;
	border: 3px solid var(--pastel-pink);
	box-shadow: 0 8px 16px rgba(177, 156, 217, 0.15);
	background-color: #fff;
}

.service-item h4 {
	color: var(--blue-text);
	font-weight: 600;
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.service-item p {
	color: var(--text-light);
	font-size: 0.9rem;
	margin: 0;
}

.contact-item {
	text-align: center;
	background: rgba(255, 255, 255, 0.8);
	padding: 30px;
	border-radius: 20px;
	margin-bottom: 20px;
	transition: all 0.3s ease;
	border: 1px solid rgba(177, 156, 217, 0.2);
}

.contact-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(177, 156, 217, 0.2);
}

.contact-item i {
	font-size: 2rem;
	color: var(--accent-purple);
	margin-bottom: 15px;
}

.contact-item h5 {
	color: var(--accent-purple);
	font-weight: 600;
	margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.header-text h4 {
		font-size: 2.5rem;
	}

	.main-section {
		padding: 20px;
	}

	.profile-image img {
		width: 200px;
		height: 200px;
	}

	.item-flex {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.item-flex > * {
		grid-column: 1;
	}

	.social {
		margin-top: 20px;
	}
}

/* Animation Classes */
.animate__animated {
	animation-duration: 1s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--pastel-lavender);
}

::-webkit-scrollbar-thumb {
	background: var(--pastel-purple);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent-purple);
}

/* Modal Styles */
.modal-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	border: 2px solid rgba(177, 156, 217, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
	background: linear-gradient(
		45deg,
		var(--pastel-purple),
		var(--accent-pink)
	);
	color: white;
	border-radius: 18px 18px 0 0;
	border-bottom: none;
	padding: 20px 30px;
}

.modal-title {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	margin: 0;
	text-align: center;
	width: 100%;
}

.modal-body {
	padding: 30px;
}

.research-content h5 {
	color: var(--accent-purple);
	font-weight: 600;
	margin-bottom: 15px;
	font-size: 1.3rem;
}

.research-content p {
	color: var(--text-light);
	line-height: 1.6;
	margin-bottom: 20px;
}

.btn-primary {
	background: linear-gradient(
		45deg,
		var(--pastel-purple),
		var(--accent-pink)
	);
	border: none;
	border-radius: 25px;
	padding: 12px 25px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-decoration: none;
	color: white;
	display: inline-block;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(177, 156, 217, 0.3);
	color: white;
}

.close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

#contact-section {
	background-color: #000;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#contact-section p {
	text-align: center;
	color: #fff;
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

#contact-section strong {
	color: #fff;
}

/* Research Modal Styling */
.modal-body {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.research-item {
	flex: 1;
	min-width: 300px;
	padding: 20px;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95),
		rgba(248, 187, 217, 0.05)
	);
	border-radius: 15px;
	border: 1px solid rgba(177, 156, 217, 0.2);
	box-shadow: 0 5px 15px rgba(177, 156, 217, 0.1);
	margin-bottom: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.research-item:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 10px 25px rgba(177, 156, 217, 0.2);
	border-color: rgba(177, 156, 217, 0.4);
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.98),
		rgba(248, 187, 217, 0.1)
	);
}

.research-image {
	width: 100%;
	height: 150px;
	object-fit: contain;
	border-radius: 10px;
	margin-bottom: 15px;
	background: rgba(255, 255, 255, 0.5);
}

.research-item h5 {
	color: var(--blue-text);
	font-weight: 500;
	margin-bottom: 15px;
	line-height: 1.3;
	font-size: 0.9rem;
	text-align: center;
}

.research-item p {
	color: var(--text-dark);
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.research-item .btn {
	background: linear-gradient(45deg, #8b5a9b, #c77dbb);
	border: none;
	border-radius: 25px;
	padding: 8px 20px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.research-item .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(139, 90, 155, 0.3);
}

/* Center Modal */
.modal-dialog {
	margin: 5% auto;
	max-width: 800px;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
}
