
.bgimg {
    position: relative;
    background-attachment: fixed;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 100px;
}
.bgimgfixed {
    position: relative;
    background-attachment: fixed;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
}

#img1 {
    background-image: url("../../../content/dam/kpmg/ca/images/2022/09/turtle-pattern-01.jpg");
    background-size: cover;
   min-height: 100px;
   background-color: #2598d8;
}

#img2 {
   /* background-image: url("/content/dam/kpmg/ca/images/2022/09/pillar-banner-hummingbird.jpg");*/
    background-size: cover;
   min-height: 100px;
   background-color: #2598d8;
}

#dark-grey {
    background-color: #303030;
    opacity: 0.9;
}
.cobalt-tint {
    background-color: rgba(30, 73, 226, .8);
}
/* Full width floating container over image (outer shell) */
.ca-parallax-cars {
    position: absolute;
    top: auto;
    left: 50px;
    bottom: auto;
    width: 20%;
    margin: auto;
    /* padding: 20px; */
    border: 3px solid #c74fe8;
    opacity: 1;
}
.ca-parallax-shell {
    position: absolute;
    display: flex;
    align-items: center;
    height:100%;
    width: 100%; 
    margin: auto;
    padding: 20px;
    /* border: 3px solid #c74fe8; */
    opacity: 1;
}
/* inner container for text max 1100px wide */
.ca-parallax-innerbox {
    text-align: left center;
    margin: 0% auto auto 50%;
    /* border: 3px solid #73AD21; */
    color: #ddd;
    width:50%;
    padding:20px;
}
.ca-parallax-innerboxcenter {
    text-align: left center;
    margin: auto auto auto auto;
    /* border: 3px solid #73AD21; */
    color: #ddd;
    width:80%;
    max-width:1100px;
    padding:20px;
}
.ca-parallax-innerboxseeds {
    text-align: center;
    margin: 10% auto auto auto;
    /* border: 3px solid #73AD21; */
    width:60%;
}
.ca-parallax-innerbox, .ca-parallax-innerboxseeds, .ca-parallax-innerboxcenter  h2 {
    font-family: 'Open Sans Condensed';
    font-size: 3.5em;
    padding-bottom:20px;
    /* margin-bottom: 20px; */
}
.ca-parallax-shell .ca-parallax-title{
    font-family: 'Open Sans Condensed';
    font-size: 3.8rem;
    padding-bottom: 30px;
    font-weight:100;
}
.ca-parallax-shell .ca-parallax-body{
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    padding-bottom: 15px;
}
/* full width box with black background for in-between images */
.ca-inbetween-dark-box {
    position:relative;
    color:#ddd;
    background-color:#282E34;
    padding:50px;
}
.caption-ca {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
}
.caption-ca span.border {
    background-color: #111;
    color: #fff;
    padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
}
.caption-ca h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 20px;
    color: #f9ffdb;
}
/* MEDIA QUERIES*/
@media (min-width: 1600px){
    .bgimghwy {background-size: 25%;}
    .ca-parallax-innerbox {margin: 0% auto auto 40%;}
}
@media (max-width: 640px){
    .bgimghwy {
        background-size: 50%;
        /* Turn off parallax scrolling for tablets and phones*/
        background-attachment: scroll;
    }
    .ca-parallax-innerbox{
        margin: auto auto auto 50%;
        width: 50%;
        padding: 0 0 0 20px;
        margin-top:auto;
    }
    .ca-parallax-innerbox img{
        width:70%;
    }
    .ca-parallax-innerboxcenter{
        width: 100%;
    }
    .ca-parallax-shell .ca-parallax-title{
        font-size: 2.8rem;
        padding-bottom: 20px;
    }
    .ca-parallax-shell .ca-parallax-body{
        font-size: 1.4rem;
        line-height: 1.5;
    }
}


/* Center the text horizontally */
.centeredP {
    text-align: center;
    /* Optional: Center vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 30px; /* Adjust the font size as needed */

}






/* Mobile Menu */

/* Add styles for mobile navigation button */
#mobile-nav-button {
    position: absolute;
    top: 0px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #00338D;
    cursor: pointer;
    z-index: 999;
}


/* Add styles for mobile navigation menu */
#mobile-menu {
    display: none;
    position: fixed;
    margin-top: 10%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
    z-index: 1000;
    overflow-y: auto; /* Allow scrolling if the menu content exceeds the screen height */
}

#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 50px 0; /* Adjust the margin to control the gap between menu items */
    text-align: center; /* Center-align the menu items vertically */
}

#mobile-menu li {
    margin-bottom: 20px; /* Adjust the margin to control the gap between menu items */
}


#mobile-menu a {
    text-decoration: none;
    color: #00338D;
    font-size: 18px; /* Adjust the font size as needed */
    display: block; /* Make each menu item a block element */
}


#navbar {
    /* Your existing navbar styles */
    z-index: 1001; /* Ensure the navbar is above the mobile menu */
}

/* Style the close button */
#mobile-menu .close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #00338D;
}

/* Media query for mobile screens */
@media (max-width: 991px) {
    .desktop-navbar-component {
        display: none; /* Hide desktop navigation */
    }

    /* Show mobile navigation button */
    #mobile-nav-button {
        display: block;
    }

    /* Show mobile navigation menu when button is clicked */
    #mobile-nav-button.clicked + #mobile-menu {
        display: block;
    }
}






/* Base styles for the contact form  */
.message-form {
    background-color: #f7f7f7;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
  }
  
  .message-form h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  
  .message-form .form-group {
    margin-bottom: 15px;
  }
  
  .message-form label {
    display: block;
    font-weight: bold;
  }
  
  .message-form input[type="text"],
  .message-form input[type="email"],
  .message-form input[type="tel"],
  .message-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #182267;
    border-radius: 5px;
    font-size: 1em;
  }
  
  .message-form button {
    background-color: #21124d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }


  

  .cl1 {
    margin-left: 10%;
  }
  
  
  
  /* Whatsapp CSS Starts here */
  
  #subject {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.whatsapp-button {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9999;
}

.whatsapp-icon{
  width: 50px;
  height: auto;
}

.blinking {
  padding: 10px;
  display:inline-block;
  text-align: center;
  font-size: 1.5em;
  color: #FFB90F;
  border-bottom: 5px solid #1b7d14;
  animation-name: blinking;
  animation-duration: 0.5s;
  animation-iteration-count: 200;
}
@keyframes blinking {
  0%{opacity: 0.2;}
  50%{opacity: .5;}
  100%{opacity: 1;}

  50% {
      border-color: #214ba0;
  }
}
  