/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* fonts */
@font-face {
    font-family: font1;
    src: url('../fonts/cambria.ttc');
}
@font-face {
    font-family: font2;
    src: url('../fonts/barlow-regular.ttf');
}
@font-face {
    font-family: font3;
    src: url('../fonts/barlow-semibold.ttf');
}
@font-face {
    font-family: font4;
    src: url('../fonts/SFDisplay-Regular.ttf');
}

@font-face {
    font-family: font5;
    src: url('../fonts/optim.otf');
}


html{
    height: 100%;
    width: 100%;
}
body {
    /* font-family: "Open Sans", sans-serif; */
    height: 100%;
    width: 100%;
}
a {
    text-decoration: none;
    color: gray;
}
a:hover {
    color: gray;
    text-decoration: none;
}
/* h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Open Sans", sans-serif;
} */
.section-padding {
    padding: 60px 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 3em;
}
.section-title h2 {
    font-size: 37px;
    font-weight: 700;
    color: #fff;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #AFD3AF;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.back-to-top i {
    font-size: 20px;
    color: #fff;
    line-height: 0;
}
/* .back-to-top:hover {
  background: #e1444d;
  color: #fff;
} */
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #EBEDEC;
    transition: all 0.5s;
    z-index: 997;
    /* padding: 10px 0; */
    height: 90px;
    display: flex;
    justify-content: space-between;
}
#header.header-scrolled {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    /* padding-bottom: 10px; */
    background: #F7E5CF;
    /* backdrop-filter: blur(30%); */
}
#header.header-inner-pages {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}




#header .logo img {
    max-height: 80px;
    padding: 10px;
    position: absolute;
    top: 0;
    /* background: #fff; */
    /* padding:  0px 20px; */
    /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
}

/* #header .logo2 img {
    max-height: 70px;
    padding: 0;
    margin-top: -20px;   
} */

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/

.nav-link {
    font-family: font2;
}

.navbar {
    padding: 0;
    
}
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    
    
}
.navbar li {
    position: relative;
}
.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 10px 0 10px 30px; */
    /* font-family: "Poppins", sans-serif; */
    font-size: 30px;
    /* font-weight: 500; */
    color: #000;
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: "font3" !important;
    background-color: #FFF;
    border-radius: 50px;
    padding: 2px 30px;
    border: 1px solid #BEC0BF;;
}

.navbar span a{
    padding: 0;
    padding-left: 30px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus{
  color: #d9232d;
}
.header-btn-wrapper a.callmenow,
a.enquireNow_btn {
    border: 1px solid #000;
    border-radius: 20px;
    color: #000;
    padding: 8px 15px;
    transition: 1s;
    text-transform: uppercase;
}

a.enquireNow_btn {
    /* margin-left: 15px; */
    cursor: pointer;
}
/**
* Mobile Navigation
*/
.mobile-nav-toggle {
    color: #556270;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
    color: #fff;
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(63, 73, 83, 0.9);
    transition: 0.3s;
    z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}
.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
    height: 50%;
}
.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 20px;
    font-size: 15px;
    color: #556270;
}
/* .navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #d9232d;
} */
.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    background: #FFFFFF;
}


 /* 
.owl-carousel .item img {
    width: 100%;
    height: auto;
} */


#hero h1{
    font-family: font2;
    color: #F08944;
    font-size: 60px;

}

#hero h2 {
    font-family: font1;
    color: #5F6062 ;
    
    
}

#hero h2 span {
    font-size: 22px;
    color: #5F6062;
}

.unlock-btn{
    text-transform: uppercase;
    background: transparent;
    font-size: 20px;
    font-family: font1;
    border-radius: 30px;
    padding: 2px 30px;
}

#TheLegacyFirsts{
    background: #FFF  ;
    font-family: font1;
}


#TheLegacyFirsts h4{
    font-size: 27px;
}

#TheLegacyFirsts h2 {
    font-family: font1;
    color: #F08944;
    font-size: 35px;
}
#TheLegacyFirsts h1 {
    font-family: font1;
    font-size: 55px;
    /* color: #5F6062; */
}

#TheLegacyFirsts p{
    font-size: 20px;
}



.legacy-png {
    font-family: font1;
}

.legacy-png p {
    font-size: 22px;
    color: #5F6062;
    line-height: 25px;
}





.form-control {
    /* height: 50px;  */
    border-radius: 0; 
    border: 1px solid #ced4da;
}

.form-control:focus {
    outline: none; 
    box-shadow: none; 
}

textarea.form-control {
    height: auto; 
    resize: vertical; 
}

.sbmt-btn{
    text-transform: uppercase;
    background: #fff;
    padding: 0 20px;
    color: #9C8A9C;
    font-size: 22px;
    border:1px solid #9C8A9C;
    border-radius: 30px;
    font-weight: 600 ;
    
}

#footer{
    background-color: #D1B99F;
    /* background-position: center;
    background-size: cover; */
    font-family: font2 !important;
    padding: 70px 0;
}

#footer p {
    font-size: 20px;
}

#footer h5 {
    font-size: 40px;
    font-family: font1;
}

#footer span {
    margin-top: 20px !important;
    font-size: 25px;
}
#footer form {
    padding: 30px 60px; 
    background: transparent; border-radius: 8px;
}

#footer p {
    font-family: font2;
}

.form-section{
    font-family: font1 !important;
    min-height: 800px;
}
.iti__selected-flag {
    height: 36px !important;
  }
  .iti {
    width: 100%;
  }
  .intl-tel-input .selected-flag {
    height: auto;
    top: 15px;
    padding: 0;
    width: 36px;
  }
  .iti__selected-flag {
    height: 36px;
  }
  .iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 6px;
    font-size: .9rem;
  }
  .parsley-errors-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .parsley-errors-list li {
    font-size: .8rem;
    color: #e10d0d;
  }
  .parsley-required {
    color: #e10d0d;
  }




@media (max-width: 991px) {
    #header{
        height: 70px;
    }

    #header .logo img{
        height: 65px;
    }

    .form-container{
        padding: 50px 20px;
    }

    .form-section{
        min-height: 600px;
    }
    .mobile-nav-toggle {
        display: block;
        /* display: block; */
        position: relative;
        right: 20px;
        font-size: 35px;
    }
    .navbar ul {
        /* display: none; */
        display: block;
    }
    #footer form{
        padding: 20px 0 0;

    }

    #TheLegacyFirsts h2 {
        font-size: 30px;
    }
    #TheLegacyFirsts h1 {
        font-size: 30px;
    }

    #TheLegacyFirsts h4{
        font-size: 20px;


    }

    #TheLegacyFirsts p{
        font-size: 17px;
    }

    .footer-sub{
        margin: 0 30px;
    }

    .navbar a, .navbar a:focus{
        background-color: #fff;
        padding: 5px 10px;
        border-radius: 30px;
        /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.3); */
        font-size: 19px;
    }
    .section-padding {
        padding: 20px;
    }
    #hero h1{
        font-size: 50px;
    }
    #hero h2 span {
        font-size: 20px;
    }
    #TheLegacyFirsts h1 span{
        font-size: 50px;
    }
}    

.dropdown-container {
    position: relative;
}
.dropdown-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #555;
    pointer-events: none; 
}

.enquire-btn {
	position: fixed;
	right: -68px;
	top: 0;
	bottom: 0;
	height: fit-content;
	width: auto;
	background: #EF7F1B;
	color: #fff !important;
	border: 1px solid #EF7F1B !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	padding: 9px 15px;
	transform: rotate(270deg);
	border-radius: 10px 10px 0 0;
	z-index: 999;
	letter-spacing: 3px;
	margin-top: auto;
	margin-bottom: auto
}