/*
Theme Name: GI Constructions Solutions
Template: astra
Author: Child Theme Configurator
Version: 1.0.1734352208
Updated: 2024-12-16 14:30:08

*/

*,*::before,
*::after{
    box-sizing:inherit;
}

body{
    margin: 0;
    font-weight: 400;
    font-style: normal;
    color:black;
    font-family: "Poppins", sans-serif;
}

html{
    box-sizing:border-box;
    letter-spacing: 0.025em;
}

ul,li{
    margin:0;
    padding:0;
    letter-spacing: 0.16px;
    line-height: 1.4em;
}

ul{
    list-style-position: inside;
}

img{
    max-width: 100%;
    height: auto;
}

h1,h2,h3,h4,p,a{
    margin:0;
    padding-bottom:20px;
}

h1{
    font-size:40px;
}

h2{
    font-size:35px;
}

h3{
    font-size:28px;
}

h4{
    font-size:28px;
}

p,li{
    font-size:20px;
    line-height: 1.4em;
}

a{
    font-size: 20px;
    line-height: 1.4em;
    text-decoration: none;
    color: inherit;
}

.section-info{
    max-width: 60%;
    position: relative;
    margin-left: auto;
    text-align: left;
}

.section-info p{
    font-weight: 400;
}

.section-info p,.section-info .section-title{
    padding:0
}

.section-title{
    font-weight:600;
    font-size: 35px;
    padding-bottom: 20px;
    line-height: 1.2em;
    position: relative;
}

.inner-section{
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.white{
    color:white;
}

.black{
    color:#000000;
}

.grey{
    color:#585858;
}

.text-uppercase{
    text-transform: uppercase;
}

.bold{
    font-weight: 700;
}

.s-bold{
    font-weight: 600;
}

.light{
    font-weight: 300;
}

.italic{
    font-style:italic;
}

.btn-middle{
	margin-left:auto;
	margin-right:auto;
    max-width: max-content;
}

.btn-main{
    padding: 10px 25px 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out 0s;
    font-size: 20px;
    text-align: center;
    line-height: 1em;
    font-weight: 500;
    text-transform: uppercase;
    max-width: max-content;
}

.btn-blue{
    color: white;
    background-color: #0071ba;
    border: 3px solid transparent;
    min-width: 285px;
}

.btn-blue:hover{
    color: #0071ba;
    background-color: transparent;
    border: 3px solid #0071ba;
}

.btn-white{
    background-image: url(/wp-content/themes/GIConstruction/images/btn-arrows.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    color: white;
    border: 3.5px solid white;
    padding: 10px 35px 10px 70px;
}

.btn-white:hover{
    transform: scale(1.05);
	color: white;
}

.fab, .far {
    transition: all 0.3s ease-in-out 0s;
    color: white;
    margin: auto;
}

.fab + .fab{
    margin-left:10px;
}

.div-margins > *+* {
    margin-top: 30px;
}
.section-info.div-margins > *+*{
    margin-top: 20px;
}

.sec-pad{
    padding:60px;
}

.small-sec-pad {
    padding: 20px 60px;
}

.container{
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    padding: 60px;
}

.small-container{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Default transparent header styles */
.home .header-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0071ba; /* Transparent over slider */
    transition: all 0.5s ease; /* Smooth transition */
    z-index: 10;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.25); /* Shadow for depth */
}

/* Sticky header styles */
.header-main.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0071ba;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.25); /* Shadow for depth */
    z-index: 10;
    transition: all 0.5s ease; /* Smooth transition */
}

.admin-bar .header-main.sticky {
	top: 32px;
}

.header-main {
    position: relative;
    width: 100%;
    background-color: #0071ba; 
    transition: all 0.5s ease; /* Smooth transition */
    z-index: 10;
}

/* Flex container styles */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px; /* Padding for larger transparent state */
    color: white;
    max-width: 1920px;
    margin: 0 auto;
    transition: padding 0.3s ease; /* Smooth padding change */
}

/* Sticky state padding */
.sticky .header-flex {
    padding: 15px 60px; /* Reduced padding in sticky state */
}

/* Logo styles */
.logo {
    width: 300px;
    height: auto;
    transition: width 0.3s ease; /* Smooth logo size change */
}

.sticky .logo {
    height: auto;
}

/* Flex alignment for header sections */
.header-flex-left {
    align-self: center;
	    max-width: 255px;
}

.header-flex-center {
    flex-grow: 1;
    text-align: center;
}

.header-flex-right {
    align-self: center;
	    max-width: 255px;
}

#menu-btn{
    display: none;
}

#menu-bar{
    width: 100%;
}

#menu-bar li a{
    font-size: 20px;
    transition: all 0.3s ease-in-out 0s;
    font-weight: 400;
    text-transform: uppercase;
}

#menu-bar li a:hover{
     color:#ff0000;
}

.slider{
    position: relative;
    width: 100%;
    z-index: 1;
	clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
}

.slider-image{
    width:100%;
    height: 100vh;
    max-height: 986px;
    object-fit: cover;
    object-position: center;
    min-height: 600px;
}

.slider-text-container {
    position: absolute;
    max-width: 1920px;
    inset: 0 0 0 0;
    margin: 0px auto;
    height: 100%;
}

.slider-text {
    position: absolute;
    text-align: left;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 40%;
    padding: 60px;
}

.slider-text-container .div-margins > * + * {
    margin-top: 20px;
}

.slider-heading {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2em;
    color: white;
    padding: 0;
}

.small-sec-pad{
    padding: 20px 60px;
}

/****to be removed when on demo*****/
.menu-fix ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    position: relative;
}

.menu-fix ul li{
    padding: 0 20px;
}

.menu-fix ul li:last-child{
    padding: 0;
}

.projects {
    background-image:url(/wp-content/themes/GIConstruction/images/projects-bg.jpg);
    background-size: cover;
    background-position: top center;
    text-align: center;
	margin-top: -100px;
    padding-top: 160px;
}

.we-flex{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
	    background-color: black;
}

.we-flex-item {
    flex-basis: 25%;
    position: relative;
    min-width: 300px;
    transition: 3s;
    padding:10px;
    background-size: cover;
    background-position: top left;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    overflow: hidden;
}

.we-flex .we-flex-item:hover {
    transform: scale(1.05); /* Scales up the element by 5% */
}

.we-flex .we-flex-item:first-child{
    background-image: url(/wp-content/themes/GIConstruction/images/we-plan-bg.jpg);
}

.we-flex .we-flex-item:nth-child(2){
    background-image: url(/wp-content/themes/GIConstruction/images/we-build-bg.jpg);
}

.we-flex .we-flex-item:nth-child(3){
    background-image: url(/wp-content/themes/GIConstruction/images/we-secure-bg.jpg);
}

.we-flex .we-flex-item:last-child{
    background-image: url(/wp-content/themes/GIConstruction/images/we-care-bg.jpg);
}

.we-flex-item h2{
    padding: 0;
    color: white;
    font-weight: 600;
}

.passion {
    background-image:url(/wp-content/themes/GIConstruction/images/passion-bg.jpg);
    background-size: cover;
    background-position: top center;
    text-align: center;
    color: white;
    padding-bottom: 30px;
    min-height: 945px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
}

.passion .btn-main{
	margin-top:60px;
}

.passion-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.passion-flex-item {
    flex-basis: calc(25% - 20px);
    margin: 20px 10px;
    text-align: center;
    position: relative;
    min-width: 280px;
    transition: 0.3s;
    padding: 10px;
    background-image: url(/wp-content/themes/GIConstruction/images/red-arch.png);
    background-position: bottom center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-repeat: no-repeat;
    padding-top: 60px;
    height: 225px;
}

.passion-flex-item h3{
    color: #0071ba;
    font-weight: 500;
    padding: 0;
}

.passion-flex-item img {
    max-width: 100px;
}

.passion-list-hp {
	display: flex;
    justify-content: center;
    align-items: baseline;
    text-align: justify;
}

.passion-list-hp ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5rem; /* gives space for the bullet */
  margin: 0; /* optional, just to clean spacing */
 
}

.passion-list-hp li {
  margin-bottom: 0.5rem; 
}

.passion .passion-flex-item h3 {
	font-size:22px !important;
}

.teams{
    position: relative;
    color: #585858;
    height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
	color:#585858;
}

.teams:before {
    position: absolute;
    content: "";
    background-image: url(/wp-content/themes/GIConstruction/images/worker.jpg);
    height: calc(100% - 60px);
    width: 40%;
    left: 0;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.btn-flex {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.btn-flex a + a{
    margin-left:20px;
}

.clients{
    background-color: #f7f7f7;
    text-align: center;
	  margin-top: -100px;
  padding-top: 160px;

}

.footer-top {
    background-color: #0071ba;
    z-index: 1;
    position: relative;
}

.footer-top .inner-section ul{
    display: flex;
    flex-wrap: wrap;
}

.footer-logo{
    flex-basis: calc(48% - 20px);
    margin: 20px 10px;
    text-align: left;
    position: relative;
    min-width: 200px;
}

.footer-logo img{
}

.footer-cta {
    flex-basis: calc(25% - 20px);
    margin: 20px 10px;
    text-align: left;
    position: relative;
    min-width: 200px;
}

.footer-cta *{
    color: white;
    padding:0;
    display: block;
    transition: 0.3s;
}

.footer-cta a:hover{
    color: #ff0000;
}

.footer-cta * + *{
    padding-top:20px;
}

.footer-menu {
    flex-basis: calc(25% - 20px);
    margin: 20px 10px;
    text-align: left;
    position: relative;
    min-width: 200px;
}

.footer-menu ul{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    list-style: none;
    margin: 0 auto;
}

.footer-menu ul li{
    padding-bottom: 20px;
}

.footer-menu ul li a {
    padding-bottom: 0;
    font-weight: 400;
    font-size: 20px;
    margin: auto;
    transition: 0.3s;
    text-transform: uppercase;
    color: white;
}

.footer-menu ul li a:hover,.socials a:hover{
    color: #ff0000;
}

.footer-bottom{
    background-color: #005e9a;
    background-image: url(/wp-content/themes/GIConstruction/images/footer-bg.png);
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 20px 60px;
    text-align:center;
}

.socials a{
    padding-bottom: 0;
    color:white;
    font-size:30px;
    z-index: 1;
    position: relative;
    transition: 0.3s;
}


.socials a + a{
    margin-left:20px
}

.rhys-welsh a{
    padding-bottom: 0;
    font-size: 8px;
    color:white;
    margin: 0;
}

.rhys-welsh a:first-child{
    margin-right: 10px;
}

.rhys-welsh{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.rhys-welsh img{
    width:70px;
    height:auto;
}

.socials{
    max-width: max-content;
    margin: 0 auto 0 auto;
}

.footer-info p{
    font-size:10px;
    padding: 0;
    color: white;
}

/***additional css**/
.footer-menu .sub-menu {
    display: none!important;
}
.home .ast-container{
	flex-direction: column;
    max-width: 100%;
    width: 100%;
    padding: 0!important;
}
li.widget {
 list-style-type: none;
}

.home .widget {
    margin: unset;
}

.ast-container, .ast-container-fluid {
    padding-left: 0;
    padding-right: 0;
}

@media(min-width:2000px){
.section-info {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.btn-flex {
    justify-content: center;
}
}

@media(min-width:1920px){
    .footer-logo,.footer-menu,.footer-logo {
        flex-basis: calc(33.333% - 20px);
    }
    .footer-top .inner-section {
        max-width: 1920px;
        justify-content: space-between;
    }
}

@media(max-width:1400px){
    .teams {
        height: 600px;
    }
    .logo {
        width: 250px;
    }
}

@media(max-width:1200px){
.we-flex-item {
    flex-basis: 50%;
    height: 600px;
}
.teams {
    height: 700px;
}
.logo {
    width: 200px;
}

.btn-white {
    padding: 5px 25px 5px 50px;
}
}

@media(max-width:1100px){
    h1{
        font-size:35px;
    }
    
    h2{
        font-size:30px;
    }
    
    h3{
        font-size:25px;
    }
    
    h4{
        font-size:23px;
    }
    
    p,a,li{
        font-size:18px;        
    }
    .btn-main {
        font-size: 18px;
    }

    .div-margins > *+* {
        margin-top: 30px;
    }
    
    .sec-pad{
        padding:40px 20px;
		margin-top: -100px;
    padding-top: 140px;

    }
    .header-flex {
        padding: 20px;
    }
    .header-flex-left {
        flex: auto;
    }
    .header-flex-center {
        flex-grow: 0;
        order: 3;
    }
    .small-sec-pad {
        padding: 20px;
    }

.slider-heading {
    font-size: 40px;
}
.slider-subtitle {
    font-size: 30px;
}

.slider-text.div-margins > *+* {
    margin-top: 10px;
}

.section-title{
    font-size:30px;
}

.container {
    padding: 20px;
}
.sticky .header-flex {
    padding: 15px 20px;
}
	
	.footer    .sec-pad{
        padding:20px;
    }

.footer-menu {
    padding: 0;
    margin: 0;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}
.footer-menu ul {
    flex-direction: column;
}

.footer-menu ul li{
    padding: 2.5px 0;
}

.footer-logo img{
    width: 250px;
    height: auto;
}

.slider-container {
    inset: 100px 20px 0px 0;
}

.menu-fix ul {
    flex-direction: column;
}
/*****Navigation******/
#menu-bar {
    width: 100%;
}
#menu-btn{
    display: block;
    order: 2;
	background:transparent;
}
#menu-bar{
position: absolute;
height: 100vh;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: #0071ba;
display: flex;
justify-content: center;
align-items: center;
overflow-y: auto;
transition: 0.5s;
z-index: 10;
transform: scale(0);
padding: 0 20px;
}

#menu-bar.active{
transform: scale(1);
}

#menu-bar ul:before{
position: absolute;
content: "";
background-image: url(/wp-content/themes/GIConstruction/images/logo.png);
width: 150px;
height: 99px;
bottom:100%;
left: 50%;
transform: translateX(-50%);
background-size: contain;
background-repeat: no-repeat;
margin-bottom: 20px;
}

#menu-bar ul li ul:before{
display:none;
}

#menu-bar ul li {
    text-align: center;
    padding: 0;
}
	
	#menu-bar ul li + li{
		padding-top:5px;
	}

#menu-bar ul li ul li {
text-align: center;
}

/* Hamburger Menu */
.hamburger {
position: relative;
cursor: pointer;
width: 60px;
height: 67px;
background: none;
border: none;
z-index: 100;
margin-left: 20px;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
position: absolute;
width: 60px;
height: 8px;
top: 0;
right: 0;
background: white;
transition: all 0.5s;
}

.hamburger-middle {
transform: translateY(16px);
width: 30px;
}

.hamburger-bottom {
transform: translateY(32px);
width: 15px;
}

.hamburger-text{
transform: translateY(48px);
position: absolute;
top: 0;
right: 0;
color: white;
font-weight: 300;
}

.hamburger.open .hamburger-text{
display:none;
}

/* Transition hamburger to X when open */

.open .hamburger-top {
transform: rotate(45deg) translateY(6px) translateX(6px);
background-color: white;
}

.open .hamburger-middle {
display: none;
}

.open .hamburger-bottom {
transform: rotate(-45deg) translateY(6px) translateX(-6px);
width: 100%;
background-color: white;
}

.socials {
    margin: 0 auto 0 auto;
}
.passion {
    height: auto;
    clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
    padding-bottom: 100px;
}
	.passion{
		    clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
	}
.teams {
    height: 500px;
}
.footer-cta {
    text-align: center;
}
.footer-bottom {
    padding: 20px;
}
.rhys-welsh {
    padding: 10px 0;
}
.header-flex-right {
    align-self: flex-start;
}
.header-flex-left {
    align-self: flex-start;
}
	.passion .btn-main{
	margin-top:30px;
}
	.projects{
    padding-top: 160px;
    margin-top: -100px;
	padding-bottom: 60px;
}
	.header-flex-left,.header-flex-right {
    max-width: unset;
}
}

@media(max-width:990px){
    .div-margins > *+* {
        margin-top: 25px;
    }

    .slider-heading {
        font-size: 30px;
    }

    .section-info {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .btn-main {
        font-size: 16px;
    }
    .btn-flex{
        justify-content: center;
    }
    .teams {
        height: auto;
    }
    .teams:before {
        opacity: 0.3;
        height: calc(100% - 20px);
        width: 50%;
    }
    .footer-top .inner-section ul{
        flex-direction: column;
        padding: 0;
    }
    .footer-logo {
        text-align: center;
    }
    .footer-menu {
        text-align: center;
    }
    .footer-cta * + * {
        padding-top: 10px;
    }
	.footer-cta {
    margin: 20px 0 0 0;
}
}

@media(max-width:750px){
	.admin-bar .header-main.sticky {
    top: 46px;
}
.footer-logo img {
    width: 150px;
}

.div-margins > *+* {
    margin-top: 20px;
}

.logo {
    width: 180px;
}

.btn-flex{
    flex-direction: column;
    align-items: center;
}
.btn-flex a + a {
    margin-left: 0;
    margin-top: 20px;
}
}

@media(max-width:600px){
    h1{
        font-size:30px;
    }
    
    h2{
        font-size:25px;
    }
    
    h3{
        font-size:22px;
    }
    
    h4{
        font-size:20px;
    }
    
    .section-title{
        font-size: 20px;
    }


.hamburger {
    margin-left: 10px;
}
.hamburger-top, .hamburger-middle, .hamburger-bottom {
    width: 40px;
    height: 5px;
}
.hamburger-bottom {
    transform: translateY(20px);
}
.hamburger-middle {
    transform: translateY(10px);
}
.hamburger-text {
    transform: translateY(30px);
    top: 0;
    font-size: 14px;
}
.open .hamburger-bottom {
    width: 40px;
}
.hamburger {
    width: 40px;
    height: 46px;
}
.footer-logo img {
    max-width: 180px;
}
.div-margins > *+* {
    margin-top: 10px;
}
.footer-menu ul li a {
    font-size: 20px;
}

#menu-bar ul:before {
    width: 150px;
    height: 60px;
    margin-bottom: 20px;
}
	
.header-flex-right .btn-main {
    font-size: 14px;
}
    p,a,li{
        font-size:16px;        
    }
    .btn-main {
        font-size: 16px;
    }
    .we-flex-item {
        flex-basis: 100%;
        height: 500px;
    }
    .passion {
        clip-path: polygon(100% 0, 100% 98%, 50% 100%, 0 98%, 0 0);
    }
	.slider {
        clip-path: polygon(100% 0, 100% 94%, 50% 100%, 0 94%, 0 0);
    }
    .passion-flex-item {
        margin: 20px;
    }
    .btn-white {
        padding: 5px 15px 5px 40px;
    }
}

@media(max-width:460px){
    .logo,.sticky .logo {
        width: 120px;
    }
    .slider-heading {
        font-size: 25px;
    }
    .header-flex-right .btn-main {
        padding: 3px 10px 3px 28px;
    }

}

@media(max-width:410px){
    .header-flex-right .btn-main {
        font-size: 14px;
    }
}

@media(max-width:375px){
.logo {
    width: 90px;
}
.sticky .logo {
    width: 90px;
}
.slider-heading {
    font-size: 20px;
}
.header-flex-right .btn-main {
    font-size: 12px;
}
}