/*--------------------------------
  Career Section Styling
--------------------------------*/
.career-page {
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.career-page::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 250px;
	/* background: linear-gradient(180deg, #f4ece3, transparent); */
	z-index: 0;
}

/* --- Section Title --- */
.career-page .section-title {
	position: relative;
	z-index: 2;
}

.career-page .section-title span {
	display: block;
	font-weight: 600;
	color: #dfa667;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.career-page .section-title h2 {
	font-size: 2.3rem;
	color: #222;
	font-weight: 700;
	margin-bottom: 15px;
}

.career-page .section-desc {
	color: #666;
	font-size: 1rem;
	line-height: 1.7;
}

/*--------------------------------
  Career Search Bar (Minimal Black Border)
--------------------------------*/
.career-search-box {
	position: relative;
	background: #fff;
	border: 1.8px solid #000;   /* Black border */
	 border-radius: 10px;           /* Remove rounded corners */
	overflow: hidden;
	box-shadow: none;           /* Remove shadow */
	transition: none;
}

.career-search-box input {
	width: 100%;
	padding: 12px 14px;
	border: none;               /* Prevent double borders */
	border-radius: 0;
	font-size: 1rem;
	color: #000;
	outline: none;
}

.career-search-box input::placeholder {
	color: #666;
}

.career-search-box input:focus {
	box-shadow: none;           /* No glow */
	border: none;
}
.search-icon {
    position: absolute;
    right: 15px;                /* Keep icon on the right */
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000;
    pointer-events: none;      /* Prevent blocking input clicks */
}
	
/*--------------------------------
  Career Cards (Full Image View)
--------------------------------*/
.career-card {
	background: transparent;
	transition: transform 0.3s ease;
	height: 520px;
}

.career-card:hover {
	transform: translateY(-8px);
}

.career-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 18px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: all 0.4s ease;
	
}

/* --- Card Image (Full View) --- */
.career-card-inner img {
	width: 100%;
	height: 190px; /* larger image height */
	object-fit: cover;
	transition: transform 0.6s ease;
	border-bottom: 1px solid #eee;
}

.career-card:hover img {
	transform: scale(1.05);
}

/* --- Card Content --- */
.career-card-content {
	padding: 25px 22px 28px;
	text-align: left;
	background: #fff;
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.career-card-content h4 {
	font-size: 1.4rem;
	color: #222;
	font-weight: 600;
	margin-bottom: 12px;
}

/* --- Meta Info --- */
.job-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 15px;
}

.job-meta li {
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
}

.job-meta li strong {
	color: #dfa667;
	font-weight: 600;
	margin-right: 6px;
}

/* --- Description --- */
.career-card-content p {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
	margin-bottom: 18px;
}

/* --- Apply Button --- */
.primary-btn.small-btn {
	display: inline-block;
	padding: 10px 22px;
	font-size: 0.9rem;
	text-transform: uppercase;
	background: linear-gradient(90deg, #dfa667, #f2c98f);
	color: #fff;
	border-radius: 30px;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
	margin-top: auto !important;
}

.primary-btn.small-btn:hover {
	background: linear-gradient(90deg, #c98b4e, #dfa667);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(223,166,103,0.4);
}

/* --- Badge --- */
.career-badge {
	position: absolute;
	top: 20px;
	left: 20px;
	background: linear-gradient(90deg, #dfa667, #f2c98f);
	color: #fff;
	font-size: 0.85rem;
	padding: 6px 14px;
	border-radius: 30px;
	font-weight: 500;
	letter-spacing: 0.3px;
	z-index: 2;
	box-shadow: 0 3px 6px rgba(223,166,103,0.3);
}
.career-desc {
    flex: 1;
}
.primary-btn.small-btn {
    margin-top: auto;
}
/*--------------------------------
  Responsive Styling
--------------------------------*/
@media (max-width: 991px) {
	.career-card-inner img {
		height: 260px;
	}
}

@media (max-width: 767px) {
	.career-page .section-title h2 {
		font-size: 1.8rem;
	}
	.career-card-inner img {
		height: 220px;
	}
}

@media (max-width: 575px) {
	.career-card-inner img {
		height: 200px;
	}
}
mark {
  background-color: #ffe28a; /* stronger yellow tone */
  color: #222;               /* readable text */
  padding: 0 3px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 0 5px rgba(255, 230, 150, 0.8);
  animation: fadeHighlight 0.5s ease-in-out;
}

@keyframes fadeHighlight {
  from { background-color: #fff8d0; }
  to { background-color: #ffe28a; }
}


.career-desc {
	flex-grow: 1; 
    max-height: 100px;     /* adjust height as needed */
    overflow-y: auto;
    margin-bottom: 15px;

    /* Optional styling */
    padding-right: 5px;
}

/* Optional: thin scrollbar */
.career-desc::-webkit-scrollbar {
    width: 4px;
}
.career-desc::-webkit-scrollbar-thumb {
    background: #c59b66;
    border-radius: 4px;
}
/* Mobile Responsive Fix */
@media (max-width: 575px) {
    .career-card {
        height: auto !important; /* auto adjust height for small screens */
    }
    .career-card-inner {
        height: auto !important;
    }
    .career-card-content {
        padding: 18px 16px !important;
    }
    .career-desc {
        max-height: 80px !important; /* reduced height for mobile */
    }
    .primary-btn.small-btn {
        width: 100%;          /* full-width button on mobile */
        text-align: center;
    }
}
