@charset "UTF-8";
/* CSS Document */
*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Cinzel', serif;
}

:root{
	--gradient-color: linear-gradient(to right bottom, rgba(225,119,48,0.5), rgba(225,185,48,0.5));
}

.container1{
	margin: 30px;
	padding: 10px 25px;
	margin-left: 40px;
	margin-right: 40px;
}
body{
	font-family: 'Cinzel', serif;
	background-color:rgba(54,54,55,1.00);
	color: slategrey;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

a{
	text-decoration: none;
	color: inherit;
}

.card{
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	background-color: darkgray;
	box-shadow: 2px 0.8rem 1rem rgba(0,0,0,.05);
	border-radius: 10px;
}
.image-data{
	height: 25rem;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.background-image{
	border-radius: 10px 0 0 10px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url( "../images/teaching1.jpeg") center no-repeat;
	background-size: cover;
	z-index: -1;
	transition: transform 5s;
}
.background-image1{
	border-radius: 10px 10px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(  "../images/teaching 3.jpeg") center no-repeat;
	background-size: cover;
	z-index: -1;
	transition: transform 5s;
}
.background-image2{
	border-radius: 10px 10px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(  "../images/teaching 4.jpeg") center no-repeat;
	background-size: cover;
	z-index: -1;
	transition: transform 5s;
}
.background-image3{
	border-radius: 10px 10px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url( "../images/teaching 5.jpeg") center no-repeat;
	background-size: cover;
	z-index: -1;
	transition: transform 5s;
}
.background-image4{
	border-radius: 10px 10px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url( "../images/teaching 6.jpeg") center no-repeat;
	background-size: cover;
	z-index: -1;
	transition: transform 5s;
}
.card:hover .background-image {
	transform: scale(1.5);
}
.card:hover .background-image1{
	transform: scale(1.5);
}
.card:hover .background-image2{
	transform: scale(1.5);
}
.card:hover .background-image3{
	transform: scale(1.5);
}
.card:hover .background-image4 {
	transform: scale(1.5);
}

.promotion-details{
	width: 100%;
	height: 100%;
	background: var(--gradient-color);
	font-size: 1.3rem;
	font-weight: bold;
	color: white;
	position: absolute;
	top: 0;
	left: 0;
	padding: 1rem;
}

.promotion-details i{
	margin-right: 1rem;
}

.promotion-name{
	display: inline-block;	
	margin-bottom: 0.5rem;
	transition: all 0.5s 0.3s;
}

.promotion-name:hover{
	color: rgba(225,225,225,0.75);
}

.date{
	display: block;
}

.promotion-data{
	border-radius: 10px;
	background-color: darkgray;
	padding: 2rem 3rem;
	position: relative;
}
.title{
	color: black;
	font-size: 2rem;
	line-height: 1;
}
.details{
	color:rgba(66,66,67,1.00);
	position: relative;
}

.details::first-letter{
	margin-left: 1rem;
}

.details::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0.25rem;
	height: 2.4rem;
	background: var(--gradient-color);
	border-radius: 2rem;	
}

.sticky-top {
	background-color: black;
	border-color: black;
	box-sizing: content-box;
}

.nav-link {
	color: white!important;
	font-family: 'Cinzel', serif;
}

.container2{
	position: relative;
	width: 100%;
	heiht: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 150px;
	border-radius: 10px;
}

.container2:after{
	content:'';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: url( "../images/bg.jpeg") no-repeat center;
	background-size: cover;
	filter: blur(2px);	
	z-index: -1;
}
.contact-box{
	max-width: 992px;
	display: grid;
	grid-template-columns: repeat(2, 1 fr);
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: rgba(61,61,61,1.00);
	box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
	border-radius: 15px;
}
.bottom{
	padding: 20px 35px;
}

h2{
	color: white;
	position: relative;
	padding-bottom:  0 0 10px;
	margin-bottom: 10px;
}
h2:after{
	content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: peru;
}
p{
	font-family: 'Cinzel', serif;
	color: darkgray;
	position: relative;
	padding-bottom:  0 0 10px;
	margin-bottom: 10px;
}
.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	outline: none;
	background-color: rgba(230, 230, 230, 0.6);
	padding: 0.5rem 1rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
	transition: 0.3s;
	border-radius: 10px;
}

.field:hover{
	background-color: rgba(0, 0, 0, 0.1);
}
.btn1{
	width: 100%;
	padding: 0.5rem 1rem;
	background-color: peru;
	color: #fff;
	font-size: 1.1rem;
	border: none;
	outline: none;
	cursor: pointer;
	transition: .3s;
	border-radius: 10px;
}

.btn1:hover{
    background-color: saddlebrown;
}

.field:focus{
    border: 2px solid rgba(30,85,250,0.47);
    background-color: #fff;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.container3{
	max-width: 1170px;
	margin: auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
footer{
	background-color: black;
	padding: 70px 0;
}
.footer-col{
	width: 25%;
	padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: white;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content:'';
	position: absolute;
	left: 0;
	bottom: -10px;
	background-color: peru;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:las-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	padding: 10px;
	text-transform: capitalize;
	color: gray;
	text-decoration: none;
	font-weight: 300;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: white;
	padding-left: 12px;
}
.footer-col .social-link a{
	display: inline-block;
	heighr: 40px;
	width: 40px;
	background-color: darkgray;
	margin: 0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 55%;
	color: black;
	transition: all 0.5s ease;
}
.footer-col .social-link a:hover{
	color: darkcyan;
	background-color: white;
}

/*reponsive*/
@media(max-width:1750px){
	.card{
		flex-direction: row;
		max-height: 70rem;
	}
	.image-data{
		flex-basis: 50%;
		height: unset;
	}
	
	.promotion-details{
		transform: translateX(-100%);
		transition: transform 0.5s;
	}
	
	.card:hover .promotion-details{
		transform: translateX(0)
	}
	
	.promotion-name{
		transform: translateY(-3rem);
		opacity: 0;
		transition-delay: 0.3s;
	}
	
	.date{
		transform: translateY(3rem);
		opacity: 0;
		transition: all .5s .3s;
	}
	.card:hover .promotion-name,
	.card:hover .date{
		transform: translateY(0);
		opacity: 1;
	}
	.promotion-data{
		flex-basis: 60%;
	}
	.promotion-data::before{
		content: '';
		width: 3.5rem;
		height: 100%;
		background-color: darkgray;
		position: absolute;
		top: 0;
		left: -1.5rem;
		z-index: 10;
		transform: skewX(-5deg)
	}
	.sticky-top{
		width: 98%;
		margin: inherit;
		
	}
	.footer-col{
		width: 25%;
		margin-bottom: 10px;
	}
}