/*
Theme Name: Strasan New Website
Description: Civil Engineering Consulting Firm.
Author: Mathew
Author URI: Your Author URI
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Import new fonts for a modern, clean aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

/* Root color adjustments */
:root {
    --background-color: #f5f5f5;
    --primary-text-color: #030F27;
    --secondary-text-color: #333;
    --heading-color: #064F8D;
    --accent-color: #FFD700;
}

/* Base Typography */
/*TYPOGRAPHY*/
body {
background: var(--backgroud-color);
font-family: 'Roboto', sans-serif;
color: #030F27;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--heading-color);
}
h5 {
	font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.btn-link {
	color: #030F27;
	text-decoration: none;
	text-transform: capitalize !important;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--heading-color);
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: var(--heading-color);
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    color: var(--accent-color);
    font-weight: 500;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--heading-color);
}

/* Paragraphs */
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Links */
a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 500;
}

a:hover {
    color: #064F8D;
    transition: color 0.3s;
	  text-decoration: underline !important;
}

/* Button Styles */
.button {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    background-color: var(--heading-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.75em 1.5em;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #6687BA;
    transform: scale(1.05);
}

/* Footer Links */
.footer-links a {
    color: #fff;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
/*Resets*/
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
/* COLORS*/
:root {
    --background-color: #f5f5;
    --h1-color: #1D444A;
    --h2-color: #214B51;
    --para-color: #333;
    --h3-color: #2A5D63;
    --h4-color:#2C6168;
      --base-font-size: 2.618em;
      --base-line-height: 1.618;
}
/*TYPOGRAPHY*/

a {
  text-decoration: none !important;
}
h1 {
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
    color: #fff;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
  }

  .iconHeight{
    color: #e74c3c !important;
  }
p {
	line-height: 1.6;
}
  svg { width: 100%;
  height: 50px;}
  h2 {
    font-size: 2.0em; 
    line-height: 1.618;
    color: #064F8D;
    font-weight: bold;
  }
.entry-header h1 {
    font-size: 2rem;
    font-weight: bold;
}
h2.entry-title {
	color: #000;
}

.cta-section {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
}

.cta-section h3 {
    font-size: 1.5rem;
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

  i {
    font-size: 2rem;
    padding: 0 32px;
    color: #030F27;
    font-weight: 700;
  }
  h3 {
    font-size: 1.5em; 
    line-height: 1.618;
   color: #35424a;
    font-weight: 600;
  }
h3.service-heading {
	 color: #FFD700;
}
  a:hover h3 {
 color: #fff;
  transition: 0.4s;
  }
  h4 {
    font-size: 1.0em; 
    line-height: 1.618;
    color: #fff;
  }
  h6 {
    font-size: 40px;
    font-weight: 700;
  }
  p {
    font-size: 1.0em; 
    margin: 0.75em 0;
  }
  .navbar-nav .dropdown-menu {
    /* Your styles for the drop-down go here */
    background-color: #336D9F !important; /* Example background color */
    border: 1px solid #ccc; /* Example border */
    /* Add more styles as needed */
}
h5.bold {
	font-weight: bold;
	color: #064F8D;
}
  .section-heading {
margin: 40px 0;
font-weight: bold;
padding: 0 16px;
  }
  /* Responsive Styles */
  @media screen and (max-width: 600px) {
    h1 {
        font-size: calc(var(--base-font-size) * 0.8);
        line-height: calc(var(--base-line-height) * 0.8);
    }
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 {
      font-size: calc(var(--base-font-size) * 1.2);
      line-height: calc(var(--base-line-height) * 1.2);
  }
}
@media screen and (min-width: 1025px) {
  h1 {
      font-size: var(--base-font-size);
      line-height: var(--base-line-height);
  }
}

  /*UTILITIES*/

  img {
    display: block;
    width: 100%;
  }
.custom-width img {
    width: fit-content;
}
img.card-team {
	width:60%;
	border-radius: 50%;
	padding: 12px;
	margin: 0 auto;
}
 /* Team Hero Image */
    .team-hero-image {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Fun Team Cards Styles */
    .fun-team-cards {
        padding: 60px 0;
        text-align: center;
    }
    
    .section-subheading {
        font-size: 28px;
        color: #2c3e50;
        margin-bottom: 40px;
        position: relative;
    }
    
    .section-subheading:after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background: #4CAF50;
        margin: 15px auto 0;
    }
    
    .fun-team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }
    
    .fun-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .fun-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
    
    .fun-card-img {
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    
    .fun-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .fun-card:hover .fun-card-img img {
        transform: scale(1.1);
    }
    
    .fun-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #183650 0%, #0d6681 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .fun-card:hover .fun-card-overlay {
        opacity: 1;
    }
    
    .fun-card h4 {
        font-size: 20px;
        margin: 20px 0 10px;
        color: #2c3e50;
    }
    
    .fun-card p {
        color: #666;
        padding: 0 20px 20px;
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Card team styling */
    .card-team {
        height: 300px;
        object-fit: cover;
    }

#wpls-logo-showcase-slider-1 .wpls-fix-box img.wp-post-image {
    width:fit-content;
}


  body > section:not(:first-child) {
    margin-top: 40px;
  }
  .btn-primary {
    background: #124b7c;
  }
/*HEADER STYLES*/

.logo {
    width: 200px;
}
.showcase {
  background: url('img/construction.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 90vh;
  position: relative;
}
.showcase::before {
  content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(6, 79, 141, 0.5); /* Adjust the alpha value for transparency */
            z-index: 100; /* Place the overlay above the background image */
}
.textColor {
  color: #030F27;
}

.navbarBgDark {
  background: #030F27;
}

.navbar-nav .nav-link.active {
  color: #EDA72F;
}

.nav-link:hover {
  color: #EDA72F;
}

.nav-link {
  color: #fff;
}

.getBtn {
  color: #fff;
}

.sideLine {
  border-right: 1px solid #030F27;
}

.iconHeight {
  height: 24px;
  width: 24px;
}
.bg-warning {
  background-color: #ccc !important;
}
.navbarBgDark {
  background: #064f8d;
}
@media screen and (min-width: 992px) {
  .sideLine {
      border-right: none;
  }

  .iconHeight {
      height: 46px;
      width: 46px;
  }
}

.hero-text {
  max-width: 80%;
  margin-top: 130px;
  position: relative;
  z-index: 400;
  color: #fff;
  padding: 16px 8px;
}

.hero-text:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 79, 141, 0.5); /* Adjust the alpha value for transparency */
  z-index: -3;
  
}
/*HERO RESPONSIVE STYLES*/

@media screen and (max-width: 600px) {
  .hero-text {
    width: 100%;
    margin-top: 30%;
    position: relative;
    color: #fff;
    padding: 16px 8px;
    text-align: center;
    max-width: 80%;
  }
  .showcase {
    height: auto;
    
  }
  .hero-header {
    width: 100%;
    justify-content: center;
  }
}
@media screen and (min-width: 601px) and (max-width: 1024px) {

  .hero-header {
    width: 100%;
    justify-content: center;
  }
  .hero-text {
    margin-top: 130px;
    position: relative;
    color: #fff;
    padding: 16px 8px;
    text-align: center;
    width: 100%;
    margin: 0 8px ;
  }

}

.box1, .box2, .box3 {
  position: relative;
}

.box1 {
  background-image: url(img/civil_engineering_solution.jpg);
  background-size: cover;
  z-index: 60;
  border:0;
}
.box2{
  background-image: url(img/Construction_industry_kenya.jpg);
  background-size: cover;
  z-index: 60;
border:0;
}
.box3 {
  background-image: url(img/civil.webp);
  background-size: cover;
  z-index: 60;
border:0;
position: relative;
}
.box {
padding: 8px 12px;
  border-radius: 0;
}

.box1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(180deg, #183650 0%, #0d6681 100%);
  opacity: 0.5; /* Adjust the overlay opacity */
  z-index: 50; /* Move the overlay behind the content */
  width: 100%;
  height: 100%;
}
.box2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(180deg, #183650 0%, #0d6681 100%);
  opacity: 0.5; /* Adjust the overlay opacity */
  z-index: 50; /* Move the overlay behind the content */
  width: 100%;
  height: 100%;
}
.box3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(180deg, #183650 0%, #0d6681 100%);
  opacity: 0.5; 
  z-index: 50; 
  width: 100%;
  height: 100%;
}
.card {
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
}
.card .box::before {
  z-index: 5; 
}

.content-card {
  position: relative;
  z-index: 200;
  color: #fff;
}

.content-card img {
  max-width: 80px;
}
/* Media Queries */
@media screen and (max-width: 768px) {
  .box {
    
  }
}

@media screen and (max-width: 576px) {
  .box {
    
  }
}

/*About Styles*/

.about-text {
  padding: 16px 16px;
  line-height: 1.6;
}
.about-section {
  color: #ccc;
  font-weight: 400;
line-height: 1.2;
  background: #064F8D;
  font-weight: 400;
}
.about-section img {
  width: 450px;
  height: auto;
  display: block;
  margin-top: 32px;
  padding: 16px;
}
.sub-text {
  position: relative;
  width: 100%;
}
.sub-text h4 {
  color: #fff;
  font-weight: 700;
  color: #FFD700;
}
.sub-text h6 {
  line-height: 1.1;
  font-size: 40px !important;
}
.sub-text h6 {
  line-height: 1.1;
  font-size: calc(40px + 1vw) !important; /* Adjust the expression as needed */
}

/* Responsive styling for smaller screens */
@media only screen and (max-width: 768px) {
  .sub-text h6 {
    font-size: calc(24px + 1vw) !important; /* Adjust the expression for smaller screens */
  }
}

/*About Section Responsive styles*/

@media screen and (max-width: 768px) {
  .img-div {
    display: none;
  }
  
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.about-div {
  width: 100%;
}
.img-div {width: 100%;}
.about-div{
  display: flex;
  justify-content: space-around;
 flex-direction: row;
}

}
/* Service section styles*/
.service-section {
  width: 100%;
  display: grid;
  place-items: center;
}
.row1 {
  display: flex;
  flex-wrap: wrap;
}
.column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.service-card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #064F8D 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}

.icon-wrapper {
  background-color: #064F8D;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.service-card:hover {
  background-position: 0 100%;
}
.service-card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #FFD700;
}
.service-card:hover h3 {
  color: #ffffff;
}
.service-card:hover p {
  color: #FFD700;
}
@media screen and (min-width: 768px) {
  .service-section {
    padding: 0 2em;
  }
  .column {
    flex: 0 50%;
    max-width: 50%;
  }
}
@media screen and (min-width: 992px) {
  .service-section {
    padding: 1em 3em;
  }
  .column {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* Call to Action*/

.button-wrapper-cta {
  display: block;
  text-align: center;
  margin-top: 50px;
  background-color: #ccc;
  padding: 78px 32px;
  height: 200px;
  background: linear-gradient(to right, #FFD700, #064F8D);
}

.cta-button {
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  display: inline-block;
  font-size: 1em;
  text-decoration: none;
  padding: 1em 2em;
  width: auto;
  font-weight: 700 !important;

}

.button-cta {
  background-color: #064F8D;
  color: #FFD700 !important;
  font-weight: 400;
 text-transform: capitalize;
}

.button-cta:hover {
  background-color: #6687BA;
}
/* Three columns side by side */
.column {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

/* Clear floats */
.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px 16px;
  color: #064F8D;
  background-color: #FFD700;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 700;
}
.button:hover {
  background-color: #d1b410;
  transform: scale(1.05); 
  transition: transform 0.4s ease-in; 
  cursor: pointer;
}
.card-img {
  width: 150px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 8px 16px;
}
@media screen and (min-width: 651px) and (max-width: 1200px) {
  .column {
    width: 100%;
    display: block;
  }
}
.contact-section {
  background: #ccc;
}
.contact-section {
  background: #ccc;
}
input:focus{
  outline: none !important;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.7); 
}

/* Team Photos*/
.team-hero-image {
  width: 100%;
  margin-bottom: 40px;
}

.team-hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.team-cards-section {
  margin-top: 30px;
}
/*FOOTER STYLES*/
.footer {
  background: #064F8D;
  color: #fff;
  padding: 20px 0;
}
.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-icons i {
  color: #fff;
}
.social-icons i:hover {
  color: #FFD700;
}
.social-icons li {
  font-size: 24px;
}
.footer-links a:hover {
  color: #FFD700;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
   .footer {
        text-align: center !important; /* Center-align content on small screens */
    }
}

/* Styles for the team member container */
.team-member {
    background-color: #ccc; /* Light gray background */
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
}

.team-member h3 {
    color: #333; /* Dark text color */
}

/* Styles for the team member image */
.team-member-image-container {
    text-align: center; /* Center the image */
    margin-bottom: 10px;
}

.team-member-image {
    max-width: 50%; /* Ensure the image doesn't exceed its container */
    border-radius: 50%; /* Add a subtle border radius */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle box shadow for the image */
    margin: 0 auto;
}
/* Quote Styles*/


sub {
    bottom: 0em;
}
.lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7;
    color: #030F27;
    margin-bottom: 20px;
}


.feature-left {
    margin-bottom: 40px;
}

.feature-left .feature-icon {
    font-size: 2rem;
    color: #064F8D;
    display: inline-block;
    float: left;
    padding-right: 40px;
    padding-top: 7px;
}

.feature-left .feature-content {
    font-size: 1rem;
}

.feature-left:last-child {}
textarea.form-control {
    height: 150px;
}

.form-group {
    margin-bottom: 5px;
}

select.form-control:not([size]):not([multiple]) {
    height: 56px;
    color: #50595e;
}

.hero-section .form-control {
    border: 1px solid #8c897d;
    height: 58px;
}

.form-control {
    border-radius: 0px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    height: 56px;
    padding: 14px 18px;
    line-height: 1.42857143;
    border: 1px solid #d2d8db;
    background-color: #fff;
    text-transform: capitalize;
    letter-spacing: 0px;
    margin-bottom: 14px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 1);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, 1);
    -webkit-appearance: none;
}

.form-control:focus {
    color: #06131a !important;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgb(234, 231, 222);
    border-color: #06131a;
}

input::-webkit-input-placeholder {
    color: #50595e !important;
}

textarea::-webkit-input-placeholder {
    color: #50595e !important;
}

.input-group-addon {
    background-color: transparent;
    border: 1px solid #eee;
    border-radius: 0px;
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 12px;
}

.focus {
    border: 1px solid #06131a;
}

.focus:focus {
    border: 1px solid #06131a;
}
.input-group-addon i {
    color: #63480f;
}

.btn-select {
    font-size: 14px;
}

select option {
    margin: 40px;
    background: rgba(255, 255, 255, 1);
    color: #50595e;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    position: relative;
}

select.form-control {
    position: relative;
}

select {
    -moz-appearance: none;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    padding: 14px;
    line-height: 1.42857143;
    border: 1px solid #e0e5e9;
    background-color: #fff;
    text-transform: capitalize;
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
}

.select {
    position: relative;
    display: block;
    line-height: 2.2;
    overflow: hidden;
}

select {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 0 0 .5em;
    cursor: pointer;
    color: #50595e;
    font-size: 16px;
}

.select::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 10px 17px 0px 0px;
    background: transparent;
    pointer-events: none;
    font-family: 'FontAwesome';
    content: "\f107";
    font-size: 16px;
}

.select:hover::after {
    color: #50595e;
}

.select::after {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

select option {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    background-color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.input-group>.custom-select:not(:last-child),
.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.service-form {
    background-color: #064F8D;
    border: 1px solid #e4e8ea;
    padding: 40px 40px 20px 40px;
}

.service-form-group {
    position: relative;
}

.form-icon {
    position: absolute;
    right: 14px;
    bottom: 15px;
    font-size: 13px;
}
.btn {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 26px;
    letter-spacing: 0px;
    border-radius: 0px;
    line-height: 2;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    word-wrap: break-word;
    white-space: normal !important;
}


.btn-default {
    background-color: #ffd700;
    color: #064F8D;
    border: none ;
}

.btn-default:hover {
    background-color: #D1B410;
    color: #064F8D;
}


.space-medium{padding-top:80px; padding-bottom:80px;}
.card {
	background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-header {
    background: #ccc;
	border-radius: 5px;
	color: #064F8D;
}
}
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 14px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}
#back-to-top:hover {
  background-color: #0056b3;
}
