@charset "UTF-8";
/* CSS Document */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;	
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
    
    -webkit-font-smoothing: antialaised;
    -moz-osx-font-smoothing: greyscale;
    font-smooth: never;
}

a {
  text-decoration: none;
	color: inherit;
}

/* main top and logo container */
#main-top {
  display: flex;
  justify-content: space-between; /* Aligns items to the start and end of the flex container */
  width: 100%;
}

#logo-container {
  width: 50%;
	padding-top: 35px;
    padding-left: 65px;
	min-width: 280px;
	max-width:280px;
	max-height:85px;
}

#logo-container img {
    max-width: 200px; /* Adjust based on the size of your logo */
    height: auto;
}

/* top left navigation */

#navigation {
    width: 50%;
    text-align: right; /* Aligns the navigation content to the right */
    padding-top: 35px; /* Adjust the padding from the top */
    padding-right: 35px; /* Adjust the padding from the right */
}

#navigation ul {
    list-style-type: none; /* Removes default list styling */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

#navigation ul li {
    display: inline; /* Displays list items inline */
    margin-right: 20px; /* Adjust space between list items */
}

#navigation ul li a {
    text-decoration: none; /* Removes default link underline */
    color: #142b48; /* Adjust link color */
    font-size: 18px; /* Adjust font size */
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    position: relative; /* Needed for absolute positioning of the pseudo-element */
    overflow: hidden; /* Ensures the pseudo-element is clipped to the link's dimensions */
    padding-bottom: 5px; /* Adds some space at the bottom for the border */
}

#navigation ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; /* Start with a width of 0 */
    height: 2px; /* Set the height of the bottom border */
    background-color: #142b48; /* Set the color of the bottom border to match the link color */
    transition: width 0.3s ease; /* Animate the width property */
}

#navigation ul li a:hover::after {
    width: 100%; /* On hover, expand the width to 100% */
}



/* overlay for navigation */

.overlay {
	display: none; 
	position: absolute;
  	top: 0;
  	right:0 ;
  	width: 450px;
 	 height: 100%;
  	background-color: #ffffff;
  	z-index: 9999;
}

.overlay-content {
  background-color: #525f76;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  position: relative;
	padding-top: 150px;
	
}

.overlay-content a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: black;
}

.overlay-content a:hover {
  
}

.close-button {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 35px;
  color: #ffffff;
  cursor: pointer;
}
.overlay-text{
	 font-size: 25px;
	font-family: "Gloock", serif;
  	font-weight: 400;
  	font-style: normal;
	color: #ffffff;
	padding-bottom: 25px;
}

.banner-container {
  position: relative;
  display: inline-block;
}

/* hero banner */

/* main image banner */

.banner-container {
    position: relative;
    display: inline-block;
    
  }
  
  #private-credit-banner {
    position: relative;
    z-index: 1;
     max-height:600px;
  }
  
  #private-credit-banner img {
    display: block;
    width: 100%;
    height: auto;
      padding-top:20px;
  }
  
  .banner-overlay {
    position: absolute;
    top: 155px;
    left: 135px;
    z-index: 2;
    text-align: center;
    color: white;
      background-color: #4a6d7d;
      width: 300px;
      height: 450px;
  }
  
  .banner-overlay h2 {
      font-size: 2.488rem;
      margin-bottom: 20px;
      padding-top: 75px;
      padding-left: 35px;
      padding-right: 20px;
      font-size: 30px;
      font-family: "Gloock", serif;
        font-weight: 400;
        font-style: normal;
        letter-spacing:-2.2%;
      padding-bottom: 85px;
      line-height: 1.3;
  }

  /* contact form styling*/

.parent {
    display: flex;
    justify-content: space-between;
    max-width: 1700px;
    margin: 0 auto;
    padding: 20px;
      padding-bottom: 200px;
      padding-top: 50px;
      left: 250px;
  }
  
  .left-child {
    flex: 1;
      padding-left: 450px;
  }
  
  
  .right-child {
    flex: 1;
    padding-right: 110px;
  }
  
  h2 {
    text-align: left;
    margin-bottom: 20px;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  input,
  textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  textarea {
    height: 100px;
  }
  
  button {
    padding: 10px;
    background-color: #285828;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
      color: #ffffff;
      font-size: 12px;
      font-family: "Gloock", serif;
      font-weight: 400;
      font-style: normal;
  }
  
  button:hover {
    background-color: #45a049;
      
  }
  
  ::placeholder {
    color: #333333;
  }
  
  .address-text{
	
	font-family: "haboro", sans-serif; 
  	font-weight: 200;
  	font-style: normal;
 	font-size: 16px;
  	color: #000000;
	line-height: 1.2;
	padding-bottom: 15px;
}

/* Footer */

#footer-container {
    background-color: #424244;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* Align child elements to opposite ends */
}

#left-footer p {
    color: #ffffff;
    font-size: 12px;
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    padding-top: 15px;
    padding-bottom: 15px;
    padding: 0 10px; /* Adjust padding as needed */
    width: 50%; /* Adjust width as needed */
	width: auto;
}

#bottom-navigation {
    color: #ffffff;
    line-height: 1;
    font-size: 13px;
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
    width: 50%; /* Adjust width as needed */
}

#bottom-navigation ul {
    list-style-type: none; /* Remove bullet points */
    display: flex; /* Align items horizontally */
    justify-content: flex-end; /* Align items to the right */
    padding: 0; /* Remove default padding */
}

#bottom-navigation li {
    margin-left: 20px; /* Add space between navigation items */
}

@media only screen 
  and (min-device-width: 810px) 
  and (max-device-width: 1080px) 
  and (orientation: portrait) {

    .banner-overlay {
        position: absolute;
        top: 50px;
        left: 105px;
        z-index: 2;
        text-align: center;
        color: white;
          background-color: #00477b;
          width: 250px;
          height: 350px;
      }
      
      .banner-overlay h2 {
          margin-bottom: 20px;
          padding-top: 35px;
          padding-left: 35px;
          padding-right: 20px;
          font-size: 30px;
          font-family: "Gloock", serif;
            font-weight: 400;
            font-style: normal;
            letter-spacing:-2.2%;
          padding-bottom: 65px;
          line-height: 1.3;
      }
      .left-child {
        flex: 1;
          padding-left: 75px;
          padding-top: 115px;
      }

      .right-child {
        flex: 1;
        padding-right: 110px;
        padding-top: 115px;
      }



  }