@charset "UTF-8";

/*
Theme Name: BORDERTOWN UNIVERSITY
Theme URI:
Author: Noreen Rugambwa
Author URI: 
Description: BorderTown University Theme
Text Domain: bordertown
*/

/*
 * GLOBAL STYLES
*/
body {
	margin: 0;
    overflow-x: hidden;
}

/*Custom slider*/
.custom-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide-image, .slide-item{
    position: relative;
}
.slide-item{
	height: 580px!important;
}
.slide-image img{
	height:580px;
	object-fit: cover;
	width: 100%;
}
.slide-content {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 5;
    width: 80%;
    max-width: 700px;
}
.slider-btn{
	background-color: #AE152D;
    padding: 12px 24px 12px 25px;
    color: #FFFFFF;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #AE152D;
    border-radius: 30px 30px 30px 30px;
	margin-top: 15px;
}
.featured-image img{
	width: 100%;
	height: 380px;
	object-fit: cover;
}
.title-section {
	position: absolute;
	bottom: 40px;
	text-align: center;
	width: 100%;
	z-index: 2;
	color: #fff;
}
.featured-image {
	position: relative;
	height: 380px;
	overflow: hidden;
}
.featured-image .image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.6),
		rgba(0, 0, 0, 0.3)
	);
	z-index: 1;
}
.post-wrap{
	width: 1000px;
	margin: 50px auto;
}
.related-post-thumb img{
	width: 100%;
	height: 370px;
	object-fit: cover;
}
.related-post-item a{
	text-decoration: none;
	color:#000;
}
.related-posts-container{
	width:1100px;
	margin: 50px auto;
}
.related-posts{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
/* Text styles */
.slider-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
	text-transform: uppercase;
}

.slider-description {
    font-size: 18px;
    line-height: 1.5;
}

/* Swiper Navigation Arrows Styling */
.custom-slider .swiper-button-prev,
.custom-slider .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #AE152D; 
    border-radius: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.25s ease-in-out;
    font-size: 18px;
}

.custom-slider .swiper-button-prev::after,
.custom-slider .swiper-button-next::after{
   font-size: 20px;
   font-weight: 600;
}
.number-percentage{
	background: linear-gradient(90deg, #101010, #b12227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bt-item p{
	color:#000;
}
.bt-hidden {
    display: none !important;
}

/*Journey Widget css*/
.journey-slider,
.journey-slider .swiper-wrapper,
.journey-slider .swiper-slide {
    overflow: visible !important;
}

/* Center + dim sides */
.journey-slider {
    width: 100%;
    position: relative;
    padding: 60px 0;
    overflow: visible;
}

.journey-slider .swiper-wrapper {
    align-items: center;
}
.journey-slider .swiper-wrapper {
    height: auto !important;
}

.slide-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 10%, rgba(0, 0, 0, 0.0) 60%);
    bottom: 0px;
    transition: all 0.3s ease;
}
/* Each Slide */
.journey-slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 420px !important;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Gradient Overlay */
.journey-slide .journey-overlay {
    content: '';
    position: absolute;
    inset: 0; 
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.75) 0%,   
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.0) 70%   
    )!important;
    transition: all 0.3s ease; 
}

/* Slide Content */
.journey-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 30px 25px;
    color: #fff;
    width: 100%;
    gap: 15px;
}
/* Text Container */
.journey-text {
    flex: 1;
    min-width: 0;
}

/* Title */
.journey-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
}

/* Subtitle */
.journey-subtitle {
    font-size: 15px;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
    color: #e6e6e6;
    font-family: "Instrument Sans", Sans-serif;
}
.elementor-icon-list-text{
    font-family: "Instrument Sans", Sans-serif;
}
/* Swiper Navigation Buttons */
.journey-slider .swiper-button-next,
.journey-slider .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.journey-slider .swiper-button-next:hover,
.journey-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.journey-slider .swiper-button-next::after,
.journey-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.journey-slider .swiper-button-next {
    right: 10px;
}

.journey-slider .swiper-button-prev {
    left: 10px;
}

/* Centered Slides Effect */
.journey-slider .swiper-slide {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
}

.journey-slider .swiper-slide-active {
    transform: scale(1) !important;
    z-index: 2;
}

.journey-slider .swiper-slide-next,
.journey-slider .swiper-slide-prev {
    transform: scale(0.9);
}

/* Hover Effect on Active Slide */
.journey-slide:hover {
    transform: scale(1.03);
}
.journey-slide:hover .journey-overlay {
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.0) 70%
    ) !important;
}


.journey-slider .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}
.journey-learn-more {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 32px;
    height: 32px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.journey-learn-more i,
.journey-learn-more svg {
    transform: rotate(-33deg);
    font-size: 24px;
    fill: #fff;
    transition: transform 0.3s ease;
    background-color: #AE152D;
    border-radius: 50%;
    padding: 5px;
}

.journey-slide:hover .journey-learn-more i,
.journey-slide:hover .journey-learn-more svg {
    transform: rotate(45deg) scale(1.2);
}
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}
.bt-tab.active{
	padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #AE152D;
    color: #AE152D!important;
	background-color:transparent!important;
    font-size: 15px;
}
.bt-tab{
	background-color:#AE152D;
	color:#fff;
	padding: 10px 20px;
	border: none;
    border-radius: 20px;
	font-size: 15px;
	margin-right: 10px;
}
.bt-search{
	border: 1px solid #AE152D;
    border-radius: 20px;
    padding: 10px 14px;
}
.bt-search-input{
	border: none;
}
.bt-program-filters{
	display: flex;
    align-items: center;
	margin-bottom: 30px;
}

.bt-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.bt-program-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.bt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
}

.bt-program-hero .bt-container {
    position: relative;
    z-index: 2;
}

.bt-program-title {
    font-size: 44px;
    margin-bottom: 15px;
}

.bt-program-faculties {
    margin-top: 10px;
}

.bt-faculty-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-right: 8px;
    font-size: 14px;
}

.bt-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

.bt-program-main h2 {
    margin-bottom: 20px;
}

.bt-sidebar-box {
    position: sticky;
    top: 120px;
    padding: 30px;
    border-radius: 14px;
    background: #f5f5f5;
}

.bt-apply-btn {
    display: block;
    text-align: center;
    background: #0c2e4e;
    color: #fff;
    padding: 16px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.bt-apply-btn:hover {
    background: #09223a;
}

/*Menus*/
.uganda:not(.active-cnt),
.admissions:not(.active-cnt), 
.divisions:not(.active-cnt),
.mode:not(.active-cnt),
.HoneymoonSafaris:not(.active-cnt),
.GorillaTracking:not(.active-cnt),
.FamilySafaris:not(.active-cnt),
.LuxurySafaris:not(.active-cnt),
.Big5:not(.active-cnt),
.GameDrives:not(.active-cnt),
.FlightSafaris:not(.active-cnt) {
	display: none;
}
.active-xtry {
    background-color: #0C2E4E;
    padding: 5px 10px 5px 5px!important;
    border-radius: 5px;
}
.active-xtry h3 a {
	color: #C2A545;
}
.menu-xtry .elementor-icon-box-title{
    margin: 0px;
}

@media (max-width: 900px) {
    .bt-grid {
        grid-template-columns: 1fr;
    }
	.post-content{
		padding: 20px;
	}
	.post-wrap, .related-posts-container{
		width: 100%;
		margin: 0px!important;
	}
	.slider-title{
		font-size: 30px;
	}
	.slide-content{
		top:44%;
	}
}
@media (min-width: 900px) {
	.custom-search-result {
	width: 1000px;
	margin: auto;
}
}
.values .elementskit-infobox{
	clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}