
/*
Theme Name: HFAN
Theme URI: https://www.ashtreedesign.net/ash-tree-design/contact-us.html
Author: Ash Tree Design
Author URI: https://www.ashtreedesign.net
Description: Private Theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Tags: one-column
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Joiin
This theme, like WordPress, is licensed under the GPL.


*/










/* Fundamentals */


*{outline:none;}



html {
	scroll-behavior: smooth;
      scroll-padding-top: 120px; /* height of your fixed header */
}

body {
    position: relative;
    overflow-x: hidden;
}

html,
body{
	padding:0;
	margin:0;
	height:100%;
	width:100%;
	min-height:100%;    font-family: "Zain", sans-serif;; font-weight: 400; background-color: #ffffff

}



body {
    color: #262559;
    font-size: 23px;
    line-height: 34px; 
}



a {
	color:#68BF4D;
	text-decoration: underline;  transition: 0.4s;
}


a:visited {
	color: #262559;
	text-decoration: none;  transition: 0.4s;
}
	

a:hover {
	text-decoration: none; 	color: #68BF4D;
	outline: none;
}
	

a img ,img{
	border: none;
}	

a:focus, a:hover, a:active {
	outline: none;
}

a.more-link{display:none;}

img,fieldset{border:none;}

img{max-width: 100%;}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.sticky{}
.screen-reader-text{}
.gallery-caption{}
.bypostauthor{}
.wp-caption{}
.wp-caption-text{}










/* Titles and Paragraphs */


h1,h2,h3,h4, h5{
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 10px;
	margin: 0;
font-weight: 700
}

h1{font-size: 35px; line-height:33px; padding-bottom: 16px;}

h2{font-size: 70px; line-height:65px; }

h3{font-size: 65px; line-height:60px;}

h4{font-size: 35px; line-height:39px;}

h5{font-size: 25px; line-height:31px;}


p{
	padding: 0;
	margin: 0px; padding-bottom: 12px;
}

li{
	padding: 0;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 7px;      letter-spacing: 0.7px;
}


ul,ol{padding-left: 25px; margin-top: 0px}

ul.widget{
	list-style:none;
	padding:0;
	margin:0;
}

b,strong{

    font-weight: 600; color: #68BF4D
}


blockquote{
    background-color: #FBFBFB;
    padding: 25px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-bottom-color: #08344C;
    border-bottom-width: 5px;
    border-bottom-style: solid
}









/* Theme Wrappers */


.wrap{	 
    max-width: 1300px;     margin: 0 auto; padding-left: 25px; padding-right: 25px
}

.wrap:after{display: table; clear:both; content:'';}

#wrapper{
	background:none;
	padding:0;
	margin:0;
	width:100%;
	box-shadow:none;
}


#mainbody{ max-width:100%; margin-left: auto; margin-right: auto;  }








/* Theme Header */


#headerwrap-one{
    width: 100%;max-width: 100%;
    display: block; position: relative; background-image: url("images/new-header-logo.svg"); background-position: center center; background-size: contain; height: 80px; background-repeat: no-repeat; margin-bottom: 20px; margin-top: 20px
}

#headerwrap-two{
    width: 100%;max-width: 100%;
    display: block; position: relative; background-color: #B231A2
}

#headerwrap-one .wrap{
position: relative;
}


#centredlogo{
float: left;   animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s; z-index: 99999; padding-top: 25px; padding-bottom: 15px
}

#centredlogo img{
height: 150px; width: auto
}


.scrolled {
    position: fixed !important;
    left: 0px !important;
    right: 0px !important;
    top: 0px !important;
    z-index: 99999 !important;
    transition: 1s !important;
    transform: translateY(0);
}


#header-right{list-style: none; float: right; position: absolute; bottom:20px; right: 0px}





 



/* Theme Naivgation Menus */


#main-nav{
  margin: 0 auto;text-align: center;  transition: 0.3s; 
}


#main-nav ul{
	list-style:none;
	padding:0;
	margin:0;text-align: center
}

#main-nav ul li{

		margin-left: 0px; margin-right: 0px; margin-bottom: 0px!important; display: inline-block
}



#main-nav ul li a{
    font-size: 22px;
    color: #ffffff;
    padding: 0px; margin-left: 18px;
    display: block;  text-decoration: none; line-height: 85px;font-weight: 700; margin-right: 18px
 }


#main-nav ul li a:hover{
color: #68BF4D
}

#main-nav ul li.current-menu-item a{
color: #68BF4D
}


#main-nav ul li.current_page_ancestor a{
color: #68BF4D
}











/* Dropdown Menus */


#main-nav li ul{position: absolute;width: 200px;
z-index: 9999;
    background-color: #000000;
    visibility: hidden;
    opacity: 0;  margin-top: -1px; margin-left: 15px; padding-top: 7px; padding-bottom:7px; border-radius: 8px; border-color: #989898; border-width: 1px; border-style: solid}

#main-nav li ul li{    float: none; text-align: left; 	margin-left: 0px; margin-right: 0px; display: block;}
#main-nav li ul li.current-menu-item{ border-radius: 0px}
#main-nav li ul li a{
    font-size: 15px;
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 5px;
    margin: 0px;
    border: none!important;
    color: #ffffff; letter-spacing: 0px; line-height: 19px
}
#main-nav li ul li a:hover {border-radius:0!important;color: #93C020;}
#main-nav li ul li.current-menu-item a{color: #93C020; }
#main-nav li ul li.current-menu-item a:hover{color: #93C020!important;}
#main-nav li:hover ul{visibility:visible; opacity:1;}

.mobile-nav{display:none;}

#main-nav li ul::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 35px;
    width: 20px;
    height: 10px;
    background-image: url(images/menuarrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}








/* Banners */


#banner{
    position: relative;
    width: 100%; height: auto
}

#banner img{
    width: 100%; height: auto; min-width: 100%
}


#banner-home{position:relative;}
#banner-home img{width:100%; display:block;}

.flexslider .slides > li{ height: 850px;}

#banner-home .flex-control-nav{right:20px; bottom:30px;z-index:55;text-align: right;}
#banner-home .flex-control-nav li{margin:0 5px;}
#banner-home .flex-control-paging li a{font-size:0;}
#banner-home .flex-control-paging li a{border:1px solid #fff; background:transparent;    width: 12px; height: 12px;}
#banner-home .flex-control-paging li a.flex-active{background:#FFF;}


.show-mob,.close-mob{display:none;}

#new-sub-banner {
    height: 580px; position: relative; z-index: 9; 
}

#new-sub-banner .wrap{
   position: relative; min-height: 580px
}

.sub-banner-inner{ text-align: left;max-width: 550px; position: absolute; left:8px; bottom: 60px }
.sub-banner-inner h1{}
.sub-banner-inner a{}
.sub-banner-inner p{color: #ffffff;    font-size: 26px;
    line-height: 30px; letter-spacing: 1px; text-shadow: 0px 0px 10px #333333}


.flex-direction-nav{display:none;}
















/* Footer */


#footer-one{border-bottom-color: #ffffff;}
#footer-one-inner{padding-top: 20px; padding-bottom: 40px;  display: block; overflow: hidden}
#footer-one p{font-size: 14px;line-height: 22px;; margin-top: 11px; padding-bottom: 0px}
#footer-one a{font-size: 18px;line-height: 26px}
#footer-one li{ padding-bottom: 0px; list-style: none; }
#footer-one ul{ padding: 0px; margin: 0px}


#footer-left{text-align: center}

#footer-left li{display: inline-block; margin-right: 25px}














/* Contact Form 7 */


.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=email]{
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right:16px;
    background-color: #2F2F2F;
  font-family: "Zain", sans-serif;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;  
}


.wpcf7-form-control-wrap select {
    appearance: none;         /* Standard */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none;    /* Firefox */
    
    background-image: url('images/selectarrow.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;  /* position arrow */
    background-size: 16px;                   /* adjust size */

    box-sizing: border-box;
    border-radius: 0px;
    margin: 0 0 5px 0;
    max-width:100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding: 16px 40px 12px 16px;  /* extra right padding so text doesn't overlap arrow */
    background-color: #2F2F2F;    font-family: "Zain", sans-serif;
    font-weight: 400;
    border-bottom-color: #DADADA; border-bottom-style: solid; border-width: 0px 0px 2px 0px;   cursor: pointer
}

    
    
    

textarea.wpcf7-form-control.wpcf7-textarea {
    box-sizing: border-box; /* ← prevents padding from increasing width */
    border-radius: 0px;
    margin-top: 25px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 25px;
    max-width: 100%;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right:12px;
    background-color: #2F2F2F;
  font-family: "Zain", sans-serif;
    font-weight: 400; height: 200px;     border-bottom-color: #DADADA; border-bottom-style: solid;  border-width: 0px 0px 2px 0px;  
}

.wpcf7-form input[type=submit] {
	background-color: #93C020;
	color: #ffffff;
	padding-top: 12px;
	padding-right: 27px;
	padding-left: 27px;
	padding-bottom: 12px;
	text-decoration: none;
	font-size: 15px; display: inline-block; border-radius: 25px;font-weight: 500; margin-top: 20px;    font-family: "Zain", sans-serif;border:none
}



.wpcf7-form-control-wrap input[type=text]::placeholder,
.wpcf7-form-control-wrap input[type=email]::placeholder, textarea.wpcf7-form-control.wpcf7-textarea::placeholder {
    color: #ffffff; 
    opacity: 1;
}


.wpcf7-form-control-wrap select option[disabled] {
    color: #ffffff;
}


.wpcf7-form input[type=checkbox] {
    border: 1px solid #C4C4C4;
}


.wpcf7-form p {
 font-size: 13px!important; line-height: 21px!important
}

.wpcf7-form a {
 font-size: 13px!important; line-height: 21px!important; text-decoration: underline!important; color: #ffffff!important
}

.wpcf7-form a:hover {
text-decoration: none!important; color: #93C020!important
}


.wpcf7-list-item {
    margin: 0 0 0 0!important;
}

.wpcf7-form {
padding-right: 35px
}


.wpcf7 form.sent .wpcf7-response-output {
    border-color: #93C020!important;
    border-radius: 12px;
    font-size: 16px;
    line-height: 27px;
    padding: 12px!important;
}











/* Slide Arrows */


.slick-prev{background: url(images/left.svg) no-repeat center center /cover!important;
    display: block!important;     width: 25px!important;
    height: 25px!important;     left: -4%!important;}

.slick-prev:hover{background: url(images/left-hover.svg) no-repeat center center /cover!important; transition: 0.4s;}

.slick-next{background: url(images/right.svg) no-repeat center center /cover!important;
    display: block!important;width: 25px!important;
    height: 25px!important;     right: -4%!important;}

.slick-next:hover{background: url(images/right-hover.svg) no-repeat center center /cover!important; transition: 0.4s;}

.slick-prev:before{
	content: "\f0a8"!important; font-family:FontAwesome!important; display:none;
}
.slick-next:before{
	    content: "\f0a9"!important;font-family:FontAwesome!important;display:none;
}


#partners-slider .slick-prev{left: -2%!important;}



#partners-slider .slick-next{right: -2%!important;}








/* Animation */

/* ===== Base Style for Transitions ===== */
.fade-in,
.fade-in-up,
.fade-in-down,
.fade-in-up-left,
.fade-in-up-right,
.fade-in-right {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  will-change: opacity, transform;
}

/* ===== Variants ===== */

.fade-in {
  opacity: 0;
  transition: opacity0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up */
.fade-in-up {
  transform: translateY(50px);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Down */
.fade-in-down {
  transform: translateY(-60px);
}
.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in Up Left */
.fade-in-up-left {
  transform: translate(60px, 60px); /* From bottom right */
}
.fade-in-up-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Up Right */
.fade-in-up-right {
  transform: translate(-60px, 60px); /* From bottom left */
}
.fade-in-up-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in Right */
.fade-in-right {
  transform: translateX(-60px); /* From left */
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}















/* Services Carousel */

#services-slider .slick-track {
  display: flex !important;
}



#services-slider .slick-slide {
  height: auto !important;
  display: flex !important;
}

#services-slider .service-item {
  display: flex;
  width: 100%;
}

/* spacing between slides */
#services-slider .service-item {
  padding: 15px;
  box-sizing: border-box;
}

/* inner box */
.service-inner {
  padding:40px;
  border-radius: 15px;
  height: 100%;  box-sizing: border-box;
}

/* logo */
.service-logo {
  max-width: 70px;
  margin-bottom:45px;
}

/* title */
.service-title {
  margin-bottom: 10px;
}

/* content */
.service-content {
        font-size: 21px;
    line-height: 32px; 
}

/* 6 rotating colors */
.service-color-1 .service-inner { background: #2678EB; }
.service-color-2 .service-inner { background: #B231A2; }
.service-color-3 .service-inner { background: #68BF4D; }
.service-color-4 .service-inner { background: #262559; }
.service-color-5 .service-inner { background: #FEB22C; }
.service-color-6 .service-inner { background: #68BF4D; }
.service-color-7 .service-inner { background: #B231A2; }

/* optional: white text for contrast */
.service-inner {
  color: #fff;
}

a.service-learn-more {margin-top: 25px; color: #ffffff; display: block}






/* Partner Carousel */


.partners-slider {
  margin: 0 auto;
}

.partner-slide {
  padding: 10px;
  text-align: center;
}

.partner-slide img {
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 300px;
  object-fit: contain; /* or 'cover' if you want crop fill */
  margin: 0 auto;
}

p.partner-description{font-size: 19px; line-height: 26px}









/* WP Bakery Styles */


.paddingtopsmall{padding-top:60px}
.paddingbottomsmall{padding-bottom: 60px}

.paddingtop{padding-top:90px}
.paddingbottom{padding-bottom: 75px}


.paddingtoplarge{padding-top:100px}
.paddingbottomlarge{padding-bottom:85px}


.paddingright{padding-right: 10%}

.nobottommargin{margin-bottom: 0px!important}

.whitetext p, .whitetext a, .whitetext h1, .whitetext h2, .whitetext h3, .whitetext h4, .whitetext li, .whitetext h5{color: #ffffff!important}
.darktext p, .darktext a, .darktext h1, .darktext h2, .darktext h3, .darktext h4, .darktext li{color: #000000!important}


.greenbackground{background-color: #68BF4D}
.purplebackground{background-color: #B231A2}
.bluebackground{background-color:#2678EB}
.whitebackground{background-color:#ffffff}

.logobanner{background-image: url("images/logo-banner.svg"); background-repeat: no-repeat; background-position: bottom}


.box{
    padding-top: 35px;
    padding-right: 35px;
    padding-left: 35px;
    padding-bottom: 27px
}


.partnerbox{
    padding-top: 15px;
    padding-right: 65px;
    padding-left: 65px;
    padding-bottom: 25px
}



.roundedcorners{border-radius: 12px}
.roundedcorners img{border-radius:12px}



.greenbutton a, a.greenbutton{
	background-color: #68BF4D;
	color: #ffffff;
	padding-top: 18px;
	padding-right: 29px;
	padding-left: 29px;
	padding-bottom: 17px;
	text-decoration: none;
	font-size: 20px; display: inline-block; border-radius: 12px;font-weight: 500; margin-top: 20px; line-height: 19px

}


.greenbutton a:hover, a.greenbutton:hover{
	background-color: #262559; color: #ffffff;
}


.headerrow{padding-left: 7%; padding-right: 7%}

.largeparagraph p{font-size: 23px; line-height: 33px; font-weight: 500}

.underline{border-bottom-color: #B231A2; border-bottom-width: 4px; border-bottom-style: solid; padding-bottom: 40px}


.mobile-nav{display:none}
.mobile-only{display:none!important}
.desktop-only{}

.cky-title{display: none!important}
.cky-notice-des a{color:#ffffff}
.cky-notice-des p{padding-bottom: 5px}









.cky-notice-btn-wrapper .cky-btn {
	font-size: 15px!important;border-radius: 25px!important;
}

.cky-consent-container .cky-consent-bar {
    box-shadow:none!important
}


.cky-notice-btn-wrapper .cky-btn {
    border-radius: 25px!important;
}







/* 1. Flexbox layout for the row */
.flexrow {
  display: flex;
  flex-wrap: wrap;
}

/* 2. Stretch each column */
.flexrow > .wpb_column {
  display: flex;
  flex-direction: column;
}

/* 3. Stretch inner container */
.flexrow .vc_column-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 4. Make wrapper fill the height */
.flexrow .wpb_wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 5. Stretch the actual Text Block */
.flexrow .wpb_text_column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; min-height: 100px
}
