
@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: body-font;
    src: url(SEGOEUI.TTF);
}
@font-face {
    font-family:title-font;
    src: url(berlin-regular.TTF);
}

body{
    padding:0px;
    margin :0px;
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    word-wrap: break-word;
    overflow-wrap:break-word ;
    /* background: #1E272E; */
    transition: 1s;
    /* background-image:url(../images/loan-bg1.jpg);
    background-size: cover  no-repeat; */
    position:absolute; 
    width: 100%;
    height: 100%;
}

a{
  text-decoration: none;
  color: inherit;
}
* {
  box-sizing: border-box;
}


.training-section {
 width: 100%;
  min-height: 85vh; /* Ensures it takes 85% of the viewport height */
  position: relative;
  text-align: center;
  /* color: #fff; */
  padding-bottom: 20px;
  padding-top: 100px;
}
.training-section .inner-div{
      display: flex;
  flex-direction: column; /* side-by-side layout */
  justify-content: space-between;
  gap: 20px;
  width: 98%;
  margin: auto;
  text-align: center;
  max-width: 1300px;
  position: relative;
  z-index: 2; 
  height: 100%;
}

.training-section .inner-div .container {
     display: flex;
  gap: 20px;
  flex-direction: row;
  height: 100%;
  width: 100%;
  text-align: center;
}
.training-section .inner-div .container .image-div {
    flex: 1;
  color: #0377ba;
  height: 80vh;
  text-align: center;
  position: relative; 
  overflow: hidden;   
  padding: 0; 
}

.training-section .inner-div .container .image-div img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95%;
  object-fit: cover;   /* makes the image fill and crop appropriately */
  object-position: center; /* centers the image */
  margin: 2% 0px;
  border-top-right-radius:10px;
border-bottom-left-radius: 10px;
}
  

.training-section .inner-div .text-div {
    flex: 1;
  border-radius: 10px;
  box-shadow: 3px 3px 6px #0000004f;
  color: #fff;
  height: 80vh;
  text-align: center;
  position: relative; 
  overflow: hidden;   
  padding: 0;
  background-color: #0377ba;

}
.training-section .inner-div .text-div h1 {
    font-family: title-font;
    /* font-size: 40px; */
    color: #fff;
    margin: 0;
    padding: 10px 0px 20px 0px;
}

.training-section .inner-div .text-div p{
    font-family: body-font;
    font-size: 15px;
    color: #fff;
    margin: 0 1% ;
    /* padding: 10px 0px 40px 0px; */
    line-height: 30px;
    /* margin-bottom: 5%; */
}

.form-div {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0377ba;
}

.form-div h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #0377ba;
  font-size: 24px;
}

.form-div form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  font-size: 14px;
}

.form-div form input,
.form-div form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  font-size: 15px;
  color: #0377ba;
  transition: all 0.3s ease;
}

.form-div form input:focus,
.form-div form textarea:focus {
  outline: none;
  border-color: #0377ba;
  box-shadow: 0 0 5px #0377ba50;
  background-color: #fff;
}

.form-div form textarea {
  min-height: 120px;
  resize: vertical;
  max-height: 130px;
}

.form-div form button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #0377ba;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-div form button:hover {
  background-color: #025b94;
}

/* mobile */

@media (max-width: 768px) {
  .training-section .inner-div .container {
    flex-direction: column;
  }

  .training-section .inner-div .text-div,
  .training-section .inner-div .container .image-div {
    height: auto;
    min-height: 300px;
  }

  .training-section .inner-div .text-div h1 {
    font-size: 24px;
  }

  .training-section .inner-div .text-div p {
    font-size: 14px;
    line-height: 25px;
  }

  .training-section .inner-div .container .image-div img {
    position: static;
    height: 100%;
    margin: 0;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .form-div {
    margin: 20px 10px;
    padding: 20px;
  }

  .form-div h2 {
    font-size: 20px;
  }

  .form-div form input,
  .form-div form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .form-div form button {
    font-size: 15px;
    padding: 10px;
  }
}

