@charset "utf-8";
/* CSS Document */

body, html {
	height: 100%;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	
}


h1{
	font-weight:bold;
	color: #003764;
	font-size: 1.1em;
	
}

h2{
	font-weight:bold;
	color:  #003764;
	font-size: 1.1em;
}

h3{
	font-weight:bold;
	color:  #003764;
	font-size: 1.8em;
}

h4{
font-weight:bold;
	color:  #003764;
	font-size: 1.1em;
}

h5{
font-weight:300;
	color:  #003764;

}



/*--------------------------HEADERS SECTIONS-----------------------------------*/

.header {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/header-image-creegan-Comms.jpg");
 height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

}


.header-logo{
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	
}


/*--------------------------INTRO TEXT HOME-----------------------------------*/


.intro-section{
	width: 90%;
	margin: 0 auto;

}

.intro-text{
	width: 50%;
	padding: 5%;
}

.intro-text p{
	font-weight:300;
	color: #53575a;
	font-size: 1.6em;	
}

.intro-text a{
	font-weight:200;
	color: #53575a;
	font-size: 1.0em;	
	text-decoration: none;
	border-bottom: 1px #53575a solid;
	line-height: 2em;
}

.intro-text a:hover{
	font-size: 1.0em;	
	text-decoration: none;
	transition: 0.3s;
	color: #99b021;
}


/*--------------------------What We Do Client teaser-----------------------------------*/

.client-teaser{
	margin: 0 auto;
	width: 80%;
	padding-bottom: 4em;
	
	
}

.client-teaser-image{
	background-color: #FFFFFF;
	width: 45%;
	padding: 0;
	display: inline-block;
	vertical-align: top;
	opacity: 1;
   transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}

.client-teaser-image:hover{
	opacity: 1;
}

.client-teaser-image img{
	width: 100%;
}


.client-teaser-text{
	width: 38%;
	padding: 1em 0em;
	
	border-top: 1px solid #e3e3e3;
	vertical-align: top;
	float: right;
	margin-right: 4.8em;


}


.client-teaser-text p{
	font-weight:300;
	color: #53575a;
	font-size: 1.3em;	
	line-height: 1.3em;

}

.client-teaser-text a{
	font-weight:200;
	color: #53575a;
	font-size: 1.0em;	
	text-decoration: none;
	border-bottom: 1px #53575a solid;
	line-height: 2em;
}

.client-teaser-text a:hover{
	font-size: 1.0em;	
	text-decoration: none;
	transition: 0.3s;
	color: #99b021;
}



/*--------------------------Big Image-----------------------------------*/


.big-image-outter{
	padding-top: 5em;
	padding-bottom: 3.2em;
	
}

.big-image{
	margin: 0 auto;
	width: 80%;
	opacity: 1;
    transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
	position: relative;
}

.big-image img{
	width: 100%;

}

/*--------------------------PROFILE PHOTOS-----------------------------------*/


/* Adjust container width to match other sections */
.container {
    padding:0 ;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 90%;        /* same as .client-teaser, .services-homepage */
    margin: 0 auto;    /* center container */
}

/* Make profile cards relative width instead of fixed px */
.profile-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 29%;          /* similar to .service_column width */
    min-width: 280px;    /* keeps some min size on small screens */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translateY(40px);
    box-sizing: border-box;
}


    .profile-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

.profile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .profile-img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .profile-title {
      margin-top: 20px;
      font-size: 1.2em;
      color: #222;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .name {
      font-weight: bold;
    }

    .linkedin-icon img {
      width: 20px;
      height: 20px;
      display: block;
    }

    .profile-description {
      margin-top: 10px;
      color: #555;
      font-size: 1em;
      line-height: 1.5;
      flex-grow: 1;
    }

    @media (max-width: 960px) {
      .container {
        flex-direction: column;
        align-items: center;
      }
  
}

    @media (max-width: 660px) {
      .container {
width: 100%;
      }
		.profile-card {
			width:90%;
		}
  
}






/* try the quote thing */

.big-image-quote{
	   font-family: "open-sans", sans-serif;
font-weight: 200;
font-style: italic;
	color: #FFFFFF;
	font-size: 1.4em;	
	line-height: 1.5em;
	 text-align: left;
	  position: absolute;
  top: 70%;
  left: 42%;
  transform: translate(-80%, -70%);
	background-color:rgba(0, 55, 100, 0.9);
	padding: 1.5em;

	
}

blockquote {
   font-family: "open-sans", sans-serif;
font-weight: 200;
font-style: italic;
    position: relative;
    margin: 0.5em;
    padding: 0.5em 2em 0.5em 3em;
}
/* Thanks: http://callmenick.com/post/styling-blockquotes-with-css-pseudo-classes */
blockquote:before {
    font-family: "open-sans", sans-serif;
font-weight: 200;
font-style: italic;
    position: absolute;
    font-size: 6em;
    line-height: 1;
    top: 0;
    left: -0.2em;
    content: "\201C";
}
blockquote:after {
    font-family: "open-sans", sans-serif;
font-weight: 200;
font-style: italic;
    position: absolute;
   /* display: block; don't use this, it raised the quote too high from the bottom - defeated line-height? */
    float:right;
    font-size:6em;
    line-height: 1;
    right:0;
    bottom:-0.5em;
    content: "\201D";
}

/*--------------------------SERVICES HOME PAGE-----------------------------------*/


.services-homepage{
	margin: 0 auto;
	width: 80%;
	overflow: auto;

}

.services-left-homepage{
	width: 20%;
	display: inline-block;
	margin-top: 1.8em;
}


.services-right-homepage{
	width: 44%;
	padding: 1.8em 0em;
	border-top: 1px solid #e3e3e3;
	vertical-align: top;
	float: right;
	margin-right: 4.8em;
	margin-top: 2.8em;

}

.services-right-homepage-header{
	font-weight:300;
	color: #61a60e;
	font-size: 1em;
	
}

.services-right-homepage p{
	font-weight:300;
	color: #53575a;	
	line-height: 1.4em;
	font-size: 1.5em;
}

.services-right-homepage a{
	font-weight:300;
	color: #53575a;
	font-size: 1.0em;	
	text-decoration: none;
	border-bottom: 1px #53575a solid;
	line-height: 3.8em;
}

.services-right-homepage a:hover{
	font-size: 1.0em;	
	text-decoration: none;
	border-bottom: 1px #8dc6e8 solid;
	line-height: 3.8em;
	transition: 0.3s;
}


/*--------------------------hover over action TILES----------------------------------*/

/* Float four columns side by side */
.service_column {
  float: left;
  width: 23%;
  padding: 10px;
	  position: relative;

}

/* Remove extra left and right margins, due to padding */
.service_row {
	margin: 0 -5px auto;
	padding-top: 4em;
	padding-bottom: 4em;
	width: 100%;
}

.service_row_inner{
	width: 80%;
	margin: 0 auto;
}

.service_row p{
	font-weight: 300;
	font-size: 95%;
	padding: 0.4em;
	text-transform: uppercase; 
} 

.service_row i{
	font-size: 2em;
	padding: 1em 0 0 0;
	margin: 0;
}

.service_row i:hover{
	color: #99b021;
}


/* Clear floats after the columns */
.service_row:after {
  content: "";
  display: table;
  clear: both;
}


/* Style the counter cards */
.service_card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 1em;
  text-align: center;
  background-color: #003764;
  transition: 0.3s;
  border-radius: 5px;
  color: #FFFFFF;
}
.service_card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);
	color: #99b021;
}



/*-------------------------TEXT rollover-----------------------------------*/


.service_overlay {
  position: absolute;
  border-radius: 5px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.8s ease;
  background-color:#003764;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);

}

.service_column:hover .service_overlay {
  opacity: 1;
}

.service_text_display {
  font-weight:300;
	color: #FFFFFF;	
	line-height: 1.2em;
	font-size: 0.9em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
	width: 80%;
}



/*--------------------------big call to action contact section-----------------------------------*/



.contact_section{
	width: 80%;
	margin: 0 auto;
	font-size: 20vh;
	line-height: 0.8em;
	margin-top: -1em;
	margin-bottom: -1em;
	
	
}

.contact_section_inner{
	font-size: 1.2em;
	margin-top: -1em;
	width: 80%;
	margin: 0 auto;
	padding-bottom: 6em;
}


.contact_section_inner a{
	font-weight:200;
	color: #53575a;
	font-size: 1.0em;	
	text-decoration: none;
	border-bottom: 1px #53575a solid;
	line-height: 2em;
}

.contact_section_inner a:hover{
	font-size: 1.0em;	
	text-decoration: none;
	transition: 0.3s;
	color: #99b021;
}



/*--------------------------Footer----------------------------------*/

.footer{
   background-color: #53575a;
	width: 100%;
	margin: 0 auto;
	margin-top: 4.8em;

	
	background-image: url("../img/the-C-in-white.png");
	background-position: right;
  background-repeat: no-repeat;
	
	
}

.inner-footer{
  
	width: 80%;
	margin: 0 auto;
	display: flex;
 	flex-wrap: wrap;
	justify-content: space-between;
	padding: 5% 0;
	color: rgba(255,255,255,1.00);
	text-decoration: none;


}

.inner-footer ul{
	 list-style-position: outside;
	 list-style-type: none;
  	margin: 0;
  	padding: 0;
	
}
.inner-footer li a{
	text-decoration: none;
	color: rgba(255,255,255,0.5);
}
.inner-footer li a:hover{
	transition: 1s;
	color: rgba(46,46,46,1.00);
}


.address{

	color: rgba(255,255,255,0.80);
	line-height: 1.2em;
	font-size: 1.1em;
	font-weight: 300;

}


.social-media i{
	color: rgba(255,255,255,1.00);
	text-decoration: none;	
	line-height: 0.3em;
	font-size: 5em;
}

.social-media i:hover{
	color: rgba(255,255,255,0.10);
	transition: 1s;
	
}

.legal-line-footer{
  
	width: 100%;
	margin: 0 auto;
	padding: 0.8em 0;
	text-align: center;
}

.inner-legal-line-footer{
line-height: 0;
	width: 75%;
	margin: 0 auto;
padding-top: 0;
}
.inner-legal-line-footer p{
	font-size: 0.8em;
	font-weight: 400;
	color: #53575a;
	text-decoration: none;
	line-height: 0;

}
.inner-legal-line-footer a{
	color: #53575a;
	text-decoration: none;
	line-height: 1.2em;


}


/*--------------------------RESPONCIVE CONTENT-----------------------------------*/


@media (max-width: 1400px) {
	
.intro-text{
	width: 65%;	
}
	
 
.client-teaser{
	width: 95%;
	padding-bottom: 6em;
}
	.client-teaser-image{
	width: 40%;
	padding: 0;
	margin-left: 8%;
}
	


.big-image-quote{
	font-size: 1.1em;	
}

	

}


@media (max-width: 1250px) {
 
.big-image-quote{
	font-size:0.9em;	
}

	
/* Remove extra left and right margins, due to padding */
.service_row {
	
	padding-top:2em;
	padding-bottom: 0;
	width: 100%;
	margin: 0;
}

	
	/* Responsive columns */

  .service_column {
    width: 22%;
    display: block;
    margin-bottom: 20px;
	padding: 0.5em;
  }


	
	
}




@media (max-width: 770px) {
	
/*--------------------------HEADERS SECTIONS-----------------------------------*/

.header {

	height:20em;
	width: 100% !important;
	

}


.header-logo{
	
  text-align: center;

  top: 25%;
  left: 0;
  transform: translate(0%, 0%);	
}

	.header-logo img{
		
	width: 100%;
	}
	
	
	
	
	
	
h1{display: none;}

.intro-text{
	
	width: 90%;	
	font-size: 1.0em;
	line-height: 1.8em;
	text-align: center;
}
	
.intro-text p{
	
	width: 100%;
	font-size: 1.2em;
}
	
	.intro-text a{
	display: none;
}

.client-teaser{
	
	width: 90%;
	padding-bottom: 0;

	}
	
.client-teaser-image{
	
	width: 100%;
	display: contents;
}
.client-teaser-text{
	width: 100%;	
	font-size: 1.0em;
	line-height: 1.8em;
	float:none;
	margin-right: 0em;
}
	
	

	
.big-image-quote{
	display: none !important;
	}
	
.big-image-outter{
	
	width: 100%;
		padding: 1em 0;
}

.big-image {
	width: 90%;

}
	
	
	
	
	/*--------------------------SERVICES HOME PAGE-----------------------------------*/


.services-homepage{
	
	width: 90%;


}

.services-left-homepage{
		display:none !important;
}


.services-right-homepage{
	width: 100%;
	padding: 1em 0;
	float: none;
	margin-right: 0em;
	margin-top: 0em;
			text-align: center;
	
	

}



.services-right-homepage p{
	width: 100%;
font-size: 1.1em;
	line-height: 1.8em;

}


	
	
	
	

/*--------------------------hover over action SERVICE TILES----------------------------------*/


/* Remove extra left and right margins, due to padding */
.service_row {
	
	padding-top:2em;
	padding-bottom: 0;
	width: 100%;
	margin: 0;
}

	
	/* Responsive columns */

  .service_column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
	padding: 0;
  }




	
	
	
	
	
	
	
	


	.map{
		display: none;
	}


/*-------------------------TEXT rollover-----------------------------------*/




	
	.contact_section_inner{
		display: none;
		
	}
	
	
.contact_section{
	
	width: 90%;
	font-size: 12vh;
	padding: 0;

	margin-top: -1em;
	margin-bottom: 0em;
	
	
}




/*--------------------------Footer----------------------------------*/

.footer{
	
	width: 100%;
	margin: 0 auto;
	text-align: left;

	}

.inner-footer{
	width: 80%;
	margin: 0 auto;
 	flex-wrap: none;	
	padding: 2.5em 0 2.5em 0;
}
	

.social-media i{
	line-height: 0em;
	font-size:3em;
}


.inner-legal-line-footer{
	
	width: 100%;

}
.inner-legal-line-footer p{
	font-size: 0.6em;
	font-weight: 500;

}



}

@media print{

body, html {
	height: 100%;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	line-height: 2.0em;
	
}

.header, nav, footer, nav_overlay, img, .service_row {
display: none;
}

}