.career-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.career-ul li {
	position: relative;
	padding-left: 15px;
	/* space for vertical line */
}

.career-ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 2px;
	background-color: #625f5f;
	/* change color as needed */
}

.body {
	background-color: white;
}

/* ================================ IMAGE BACKGROUND SECTION ================================ */

.programs-image-section {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	margin-top: 7.5rem;
	width: 100%;
	height: 70vh;
	/* Background Image */
	/* background: 
        linear-gradient(
            to right, 
            rgba(255, 255, 255, 1) 5%,  
            rgba(255, 255, 255, 0.8) 20%, 
            rgba(32, 28, 28, 0.4) 50%,  
            rgba(32, 28, 28, 0.1) 100%
        ), 
        url('https://images.ctfassets.net/ihx0a8chifpc/pkPsn4xvlsW7rV74rsMhW/9b749af2555183d91e84b9879422c180/placehold-1280x720.jpg'); 
     */
	background-size: cover;
	background-position: center;

	z-index: -1;
}

/* ================================ IMAGE-BACKGROUND TEXT ================================ */

.text-overlay {
	position: relative;
	text-align: left;
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
}

.text {
	font-weight: 700;
	color: #a12124;
	font-size: 48px;
	/* Adjusted for smaller screens */
	line-height: 1.2;
	/* Adjusted for better readability */
}

.text-overlay h3 {
	font-weight: 700;
	color: #625f5f;
	font-size: 28px;
	/* Adjusted for smaller screens */
}

/* ================================ INFO SECTION | PROGRAMS ================================ */

.colorful-student-img {
	height: 45vh;
}

.achievement-student-img {
	height: 45vh;
}

.header-title-academics {
	place-self: center;
}

.programs-info-section {
	background-color: white;
	position: relative;
	text-align: center;
	font-size: 20px;
	/* Adjusted for smaller screens */
	font-weight: bold;

	padding: 5% 5% 3% 5%;
	/* Adjusted padding for better spacing */
}

.programs-info-section h3 {
	font-weight: 700;
	color: #625f5f;
	font-size: 40px;
	text-transform: uppercase;
}

.programs-content-desc {
	text-align: justify;
	color: #625f5f;
	height: 100%;
	font-weight: lighter;
	font-family: "century-gothic", sans-serif;
	line-height: 2;
	font-size: medium;
}

/* ================================ COLORFUL STUDENT LIFE | SECTION ================================ */
/* Move carousel control buttons more outward */
.carousel-control-prev,
.carousel-control-next {
	width: 5%;
	/* smaller clickable area */
}

.carousel-control-prev {
	left: -90px;
	/* move more to the left */
}

.carousel-control-next {
	right: -90px;
	/* move more to the right */
}

.carousel-control-prev-icon-ach,
.carousel-control-next-icon-ach {
	background-image: none;
	/* Remove default arrow */
	border: solid #a12124;
	border-width: 0 3px 3px 0;
	padding: 8px;
	transform: rotate(135deg);
	display: inline-block;
}

.carousel-control-next-icon-ach {
	transform: rotate(-45deg);
}

/* Ensure proper transitions and spacing */
.carousel-item {
	transition: transform 0.6s ease;
}

.student-life-content {
	padding: 15px;
}

/* Hide empty columns on desktop */
.col-lg-4:empty {
	display: none;
}

.programs-section {
	background-color: #a12124;
	color: #ffffff;

	padding-top: 1.5%;
	padding-bottom: 2.5%;
}

.card-container {
	position: relative;
	overflow: hidden;
	width: 100%;

	margin: 10px;

	text-align: left;

	border-radius: 0px;
	border: none;
}

.card-container img {
	object-fit: cover;
	width: 100%;
	height: auto;
	/* Changed from 400px to auto for responsiveness */
}

.card-title {
	font-size: 28px;
	font-weight: 700;
	color: #000000;
	padding: 0.9rem;
}

.card-text {
	color: #343434;
	background-image: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, 1) 50%
	);

	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;

	padding: 15px;
	/* Adjusted padding */
	padding-top: 5rem;

	font-size: 16px;

	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.card-container:hover .card-text {
	transform: translateY(0);
}

.card-text strong {
	color: #a12124;
	text-transform: uppercase;
	text-align: left;
	font-size: 28px;
	font-weight: 700;
}

.div-card-title {
	background-image: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, 1) 90%
	);

	position: absolute;
	bottom: 0;
	width: 100%;

	padding-top: 5rem;
}

.btn-program {
	color: #ffffff;
	background-color: #a12124;

	border: 2px solid #a12124;
	border-radius: 8px;

	text-transform: uppercase;
	font-weight: 700;

	padding: 1% 2%;
	/* Adjusted padding for smaller screens */
	padding-bottom: 1%;
}

.btn-program:hover {
	background-color: white;
	color: #a12124;

	transition: 0.3s ease;
}

/* ================================ OPPORTUNITIES SECTION ================================ */

.opportunities-section {
	background-color: white;
	font-size: 24px;
	font-weight: bold;
	padding: 5% 6.5% 5% 6.5%;
}

.opportunities-section h3 {
	font-weight: 700;
	color: #a12124;
	font-size: 40px;
	text-transform: uppercase;
}

.career-ul {
	columns: 2;
	color: #625f5f;
	height: 100%;
	font-weight: lighter;
	font-family: "century-gothic", sans-serif;
	line-height: 2;
	font-size: large;
	overflow-wrap: break-word;
}

/* ================================ ACHIEVEMENTS SECTION ================================ */

.achievements-section {
	background-color: #e8e8e8;
	color: #a12124;

	padding-top: 1.5%;
	padding-bottom: 2.5%;
}

/* ================================ ALUMNI FOCUS SECTION ================================ */

.alumni-focus-section {
	background-color: white;
	font-size: 24px;
	font-weight: bold;
	padding: 5% 6.5% 5% 6.5%;
}

.alumni-focus-section h3 {
	font-weight: 700;
	color: #a12124;
	font-size: 40px;
	text-transform: uppercase;
	padding-bottom: 2%;
}

/* ======= IMAGE SECTION =======*/

.alumni-image {
	object-fit: cover;
	width: 100%;
	height: 40vh;
}

/* ======= TEXT SECTION =======*/

.alumni-name {
	color: #625f5f;
	font-weight: 900;
	font-size: xx-large;
	text-transform: uppercase;
	text-align: left;
	align-items: left;
	font-family: "century-gothic", sans-serif;
}

.alumni-title {
	color: #625f5f;
	font-size: x-large;
	font-family: "century-gothic", sans-serif;
	padding-bottom: 2%;
}

.content-desc {
	color: #625f5f;
	height: 100%;
	font-weight: lighter;
	font-family: "century-gothic", sans-serif;
	line-height: 2;
	font-size: medium;
}

/* Colorful Student Life Section - Uniform Image Sizing */
.colorful-student-img {
	height: 300px; /* Set fixed height for all image containers */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.colorful-student-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover; /* This will crop the image to fit while maintaining aspect ratio */
	object-position: center; /* Center the image within the container */
}

/* Alternative option - if you want to fit the entire image without cropping */
.colorful-student-img img.fit-contain {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain; /* This will fit the entire image without cropping */
	object-position: center;
	background-color: #f8f9fa; /* Optional: background color for letterboxing */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.colorful-student-img {
		height: 250px; /* Slightly smaller height for mobile */
	}
}

/* Optional: Add some spacing between images */
.colorful-student-img {
	padding: 0 10px; /* Add horizontal padding between images */
}

/* If you want rounded corners (optional) */
.colorful-student-img img {
	border-radius: 8px;
}

/* Hover effect (optional) */
.colorful-student-img img:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

/* Add this CSS to your Programs-stylesheet.css file */

/* Colorful Student Life Section - Uniform Image Sizing */
.colorful-student-img {
	height: 300px; /* Set fixed height for all image containers */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.colorful-student-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover; /* This will crop the image to fit while maintaining aspect ratio */
	object-position: center; /* Center the image within the container */
}

/* Alternative option - if you want to fit the entire image without cropping */
.colorful-student-img img.fit-contain {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain; /* This will fit the entire image without cropping */
	object-position: center;
	background-color: #f8f9fa; /* Optional: background color for letterboxing */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.colorful-student-img {
		height: 250px; /* Slightly smaller height for mobile */
	}
}

/* Achievements Section - Uniform Image Sizing */
.achievement-student-img {
	height: 300px; /* Set fixed height for all achievement image containers */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.achievement-student-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover; /* This will crop the image to fit while maintaining aspect ratio */
	object-position: center; /* Center the image within the container */
}

/* Alternative option for achievements - if you want to fit the entire image without cropping */
.achievement-student-img img.fit-contain {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain; /* This will fit the entire image without cropping */
	object-position: center;
	background-color: #f8f9fa; /* Optional: background color for letterboxing */
}

/* Mobile responsiveness for achievements */
@media (max-width: 768px) {
	.achievement-student-img {
		height: 250px; /* Slightly smaller height for mobile */
	}
}

/* Optional: Add some spacing between images */
.colorful-student-img,
.achievement-student-img {
	padding: 0 10px; /* Add horizontal padding between images */
}

/* If you want rounded corners (optional) */
.colorful-student-img img,
.achievement-student-img img {
	border-radius: 8px;
}

/* Hover effect (optional) */
.colorful-student-img img:hover,
.achievement-student-img img:hover {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}
