/* 

Avalon Template 

http://www.templatemo.com/tm-513-avalon

*/

* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', arial, sans-serif;
}

body {
	overflow-x: hidden;
	background-color: #fff;
}

ul {
	list-style: none;
	margin: 0px;
}

p {
	font-size: 13px;
	line-height: 22px;
	color: #4a4a4a;
}

.white-border-button a {
	padding: 14px 20px;
	background-color: transparent;
	border: 1px solid #FFFFFF;
	border-radius: 30px;
	color: #FFFFFF;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.5s;
}

.pink-button a {
	padding: 14px 20px;
	background-color: #b94e5e;
	border-radius: 30px;
	color: #fff;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.5s;
}

.white-button a {
	padding: 14px 20px;
	background-color: #fff;
	border-radius: 30px;
	color: #121212;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.5s;
}


.banner .col-md-8 {
	padding-left: 0px;
	padding-right: 5px;
}

.banner .col-md-4 {
	padding-right: 1px;
	padding-left: 5px;
}







.right-banner-content {
    padding-top: 300px;
    padding-bottom: 175px;
    
    min-height: 680px; /* Default height for both */
    height: 680px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}






/* Styles for desktop screens */
@media (min-width: 768px) {
    .right-banner-content {
        background-image: url('../img/banner-bg-new.png');
        background-size: cover;
        min-height: 680px; /* Adjusted height for desktop */
        height: 680px;
    }
}


.text-container {
    padding-left: 475px; /* Adjust the value as needed */
}



/* Styles for mobile screens */
@media (max-width: 767px) {
    .right-banner-content {
        background-image: url('../img/banner-bg-mobile-new.png');
        background-size: cover;  /* Stretch the image to cover the container */
        background-repeat: no-repeat;
        background-position: center center;
        padding-top: 1px;
        padding-bottom: 1px;
        min-height: auto;
        height: auto;
        display: flex;
        justify-content: center;  /* Center content horizontally */
        align-items: center;  /* Center content vertically */
        position: relative;
        width: 100%;  /* Ensure the container takes full width */
    }

    .right-banner-content img {
        max-width: 100%;
        height: auto;
    }

    .left-banner-content .white-border-button {
        display: none; /* Hide white border buttons on mobile */
    }
}



.right-banner-content h6 {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.right-banner-content h1 {
	font-size: 25px;
	font-weight: 300;
	color: #005EB8;
	line-height: 25px;
}

.right-banner-content .line-dec {
	width: 60px;
	height: 3px;
	margin-top: 20px;
	margin-bottom: 30px;
	background-color: #f4bc51;
}

.right-banner-content .white-border-button {
	margin-bottom: 42px;
	transform: translateX(155px) translateY(-55px); /* Shift buttons to the left */
}

.left-banner-content {
	padding: 30px 25px;
	background-color: #a0a0a0;
	text-align: center;		
	min-height: 680px;
	height: 680px;
}

.left-banner-content h2 {
	font-size: 32px;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
	margin-bottom: 5px;
}

.left-banner-content .line-dec {
	width: 100%;
	height: 5px;
	background-color: #fff;
	margin: 30px auto;
}

.left-banner-content span {
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.5px;
}

.left-banner-content em {
	font-style: normal;
	font-weight: 700;
}

.left-banner-content p {
	font-style: italic;
	font-size: 13px;
	color: #fff;
}

.left-banner-content .social-icons {
	margin-top: 20px;
	padding: 0;
	list-style: none;
}

.left-banner-content .social-icons li {
	display: inline-block;
	margin: 0px 3px;
}

.left-banner-content .social-icons li a {
	width: 36px;
	height: 36px;
	text-align: center;
	display: inline-block;
	line-height: 36px;
	background-color: #fff;
	border-radius: 50%;
	transition: all 0.5s;
	color: #005EB8;
	font-size: 17px;
}

.left-banner-content .social-icons li a:hover {
	background-color: #377EB7;
}
















.services {
    margin-top: 10px;
    padding-top: 0vh;
    padding-bottom: 0vh;
    text-align: center;
    background-image: url(../img/services-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* Media query for screens with a maximum width of 767px (typical for mobile devices) */
@media (max-width: 250px) {
    .services {
        background-image: url(../img/services-bg-mobile.png);
    }
}









.services .col-md-3 {
	padding-left: 0px;
	padding-right: 0px;
}

.services .col-md-3 {
	padding-right: 0px;
	padding-left: 0px;
}

.flip-container {
  perspective: 1000;
}
/* turning on hover */

.flip-container:hover .flipper {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.flip-container,
.front,
.back {
  width: 100%;
  height: 350px;
  text-align: center;
  font-size: 30px;
}
/* flipping speed here */

.front {
	padding: 40px 30px;
}

.front .icon {
	width: 140px;
	height: 140px;
	line-height: 140px;
	text-align: center;
	background-color: transparent;
	border: 1px solid #fff;
	border-radius: 50%;
	margin: 30px auto;
}

.front h4 {
	margin-top: 0px;
	font-size: 17px;
	text-transform: uppercase;
	font-weight: 700;
}

.flipper {
  -webkit-transition: 0.3s all;   
-webkit-transition-delay: 0.3s; 
-moz-transition: 0.3s all;   
-moz-transition-delay: 5s; 
-ms-transition: 0.3s all;   
-ms-transition-delay: 5s; 
-o-transition: 0.3s all;   
-o-transition-delay: 5s; 
transition: 0.3s all;   
transition-delay: 0.3s; 
  transform-style: preserve-3d;
  position: relative;
}
/* making the the other side hidden while flipping */


.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
/* front side is in front of a back side */

.front {
  z-index: 2;
  color: white;
  /* for firefox 31 */
	transform: rotateY(0deg);
}
/* back side */

.back {
  transform: rotateY(180deg);
}

.back p {
  color: #fff;
  padding: 90px 30px;
}

.first-service .front,
.first-service .back {
	background-color: rgba(45, 116, 183, 0.9);
}

.second-service .front,
.second-service .back {
	background-color: rgba(0, 94, 184, 0.9);
}

.third-service .front,
.third-service .back {
	background-color: rgba(9, 76, 141, 0.9);
}

.fourth-service .front,
.fourth-service .back {
	background-color: rgba(4, 53, 101, 0.9);
}




.contact-us .col-md-8 {
	padding-left: 0px;
	padding-right: 5px;
}

.contact-us .col-md-4 {
	padding-right: 0px;
	padding-left: 5px;
}


#contact .col-md-4 {
	padding-right: 15px;
	padding-left: 15px;
}


.contact-us {
	margin-top: 10px;
}

.contact-us #contact {
	min-height: 500px;
	height: 500px;
	padding-top: 100px;
	padding-bottom: 100px;
	padding-left: 120px;
	padding-right: 120px;
	text-align: center;
	background-image: url(../img/contact-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

#contact input {
  border-radius: 0px;
  padding-left: 15px;
  font-size: 13px;
  color: #000000;
  background-color: rgba(250, 250, 250, 0.1);
  border-bottom: 2px solid #fff;
  outline: none;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
  line-height: 40px;
  height: 40px;
  width: 100%;
  margin-bottom: 30px;
}

#contact textarea {
  border-radius: 0px;
  padding-left: 15px;
  padding-top: 10px;
  font-size: 13px;
  color: #000000;
  background-color: rgba(250, 250, 250, 0.1);
  border-bottom: 2px solid #fff;
  outline: none;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
  height: 165px;
  max-height: 165px;
  min-height: 165px;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin-bottom: 25px;
}

#contact button {
	float: left;
	padding: 14px 20px;
	background-color: #005EB8;
	border-radius: 30px;
	color: #fff;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.5s;
	outline: none;
}

.contact-right-content {
	min-height: 500px;
	height: 500px;
	line-height: 500px;
	padding-top: 150px;
	padding-bottom: 150px;
	text-align: center;
	background-color: #2d74b7;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.contact-right-content .icon {
	text-align: center;
/*	margin: 0 auto;
	width: 0px;
	height: 0px;
	line-height: 0px;
	background-color: transparent;
	border: 1px solid #fff;
	border-radius: 0%;
	*/
}

.contact-right-content h4 {
	margin-top: 33px;
	margin-bottom: 1em;
	font-size: 18px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 700;
}


.contact-right-content .social-icons {
    margin-top: -175px; /* Adjust the margin as needed */
}

.contact-right-content .social-icons li {
	display: inline-block;
	margin: 0px 3px;
}

.contact-right-content .social-icons li a {
	width: 36px;
	height: 36px;
	text-align: center;
	display: inline-block;
	line-height: 36px;
	background-color: #fff;
	border-radius: 50%;
	transition: all 0.5s;
	color: #005EB8;
	font-size: 17px;
}

.contact-right-content .social-icons li a:hover {
	background-color: #377EB7;
}

footer {
	height: 80px;
	margin-top: 10px;	
	background-color: #bfd8d2;
	text-align: center;
}

footer p {
	font-size: 13px;
	color: #333;
	line-height: 80px;
	margin-bottom: 0px;
}

footer p em {
	font-weight: 700;
	font-style: normal;
}

@media (max-width: 1000px) {

	.event-list h4 {
		width: 230px;
	}

	.event-list .event-item .time span{
		margin-left: 20px;
	}

}

@media (max-width: 991px) {

	.banner .col-md-8 {
		margin-top: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.banner .col-md-4 {
		margin-top: 10px;
		padding-right: 10px;
		padding-left: 10px;
	}

	.banner .right-banner-content {
		padding-left: 0px;
		text-align: center;
	}

	.right-banner-content h1 {
	   
		font-size: 64px;
		font-weight: 300;
		color: #fff;
		line-height: 80px!important;

	}


	.banner .right-banner-content .line-dec {
		margin: 0 auto;
	}

	.best-offer .col-md-8 {
		margin-top: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.best-offer .col-md-4 {
		margin-top: 10px;
		padding-right: 10px;
		padding-left: 10px;
	}

	.best-offer-right-content {
		text-align: center;
	}

	.best-offer-right-content {
		background-color: #eee;
		padding: 30px 30px;
		min-height: 550px;
		height: auto;
	}

	.best-offer-right-content .pink-button {
		margin-bottom: 50px;
	}



	.services {
		margin-left: 10px;
		margin-right: 10px;
	}

	.contact-us .col-md-8 {
		margin-top: 0px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.contact-us .col-md-4 {
		margin-top: 10px;
		padding-right: 10px;
		padding-left: 10px;
	}

	.contact-us #contact {
		padding-left: 60px;
		padding-right: 60px;
	}

	.contact-us #contact {
		min-height: 600px;
		height: 600px;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	footer {
		margin-right: 10px;
		margin-left: 10px;
	}

	footer p {
		font-size: 11px;
	}
		
}


