@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;
}

.sea-freight-section {

  position: relative; /* Important for ::before positioning */
  width: 100%;
  height: 100%;
  padding-top: 100px;
  background-image: url('../../images/sea-freight-bg.jpg'); /* Update to sea freight image */
  background-size: cover; /* Use cover for full background effect */
  background-repeat: no-repeat;
  background-position: center;
  text-align: right;
  color: #fff; /* For contrast against dark overlay */
  overflow: hidden;
  z-index: 1;
}

.sea-freight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 51, 51, 0.5); /* Overlay darkness */
  z-index: 0;
}
.sea-freight-section > * {
  position: relative;
  z-index: 2;
}

.sea-freight-section .inner-div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 98%;
  margin: 0;
  text-align: center;
  max-width: 1300px;
  position: relative;
  z-index: 2;
}

.sea-freight-section .inner-div h1 {
  font-family: title-font;
  font-size: 50px;
  color: #fff;
  margin: 0;
  padding-top: 80px;
}

.sea-freight-section .inner-div p {
  font-family: body-font;
  font-size: 20px;
  color: #fff;
  margin: 0;
  padding: 10px 0px 40px 0px;
  line-height: 30px;
  margin-bottom: 5%;
}
.sea-freight-section .inner-div .seafreight-redirect-btn{
  padding: 10px 20px;
  background-color: #2894d2;
  color: #fff;
  border: #2894d2 1px solid;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  font-family: body-font;
  transition: background-color 0.3s ease;
  width: 25%;
}
.sea-freight-section .inner-div .seafreight-redirect-btn:hover {
  background-color: transparent;
  color: #fff;
  border: #fff 1px solid;
}

.sea-freight-info{
  width: 100%;
  min-height: 85vh;
  position: relative;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
}

.sea-freight-info .inner-div {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center */
  align-items: center;     /* Horizontally center */
  gap: 20px;
  width: 98%;
  margin: auto;
  text-align: center;
  max-width: 1300px;
  position: relative;
  z-index: 2;
  height: 100%;
}
.sea-freight-info .inner-div .side-div{
  display: flex;
  gap: 20px;
  flex-direction: row;
  height: 100%;
  width: 100%;
  text-align: center;
}
.sea-freight-info .inner-div .side-div .card {
  flex: 1;
  color: #0377ba;
  height: 80vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.sea-freight-info .inner-div .side-div .card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
  object-position: center;
   border-top-right-radius: 15px;
   border-bottom-right-radius: 15px;
 
}
.sea-freight-info .inner-div .side-div .card2{
  border-radius: 10px;
  box-shadow: 3px 3px 6px #0000004f;
}
.sea-freight-info  .inner-div .side-div .card p, 
.sea-freight-info .inner-div .side-div .card ul{
  text-align: left;
  padding: 10px;
  line-height: 25px;
}

.sea-freight-steps{
  width: 100%;
  min-height: 50vh;
  position: relative;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
  background-color: #2894d2;
}
.sea-freight-steps .inner-div{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: 98%;
  margin: auto;
  text-align: center;
  max-width: 1300px;
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
}
.sea-freight-steps .inner-div h1{
  font-family: title-font;
  font-size: 50px;
  color: #fff;
  margin: 0;
  padding-top: 80px;
}
.sea-freight-steps .inner-div .cards-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 100%;
}
.sea-freight-steps .inner-div .cards-container .card {
  flex: 1;
  border-radius: 10px;
  box-shadow: 3px 3px 6px #0000004f;
  color: #0377ba;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0px;
  background-color: #fff;
}


.form-section{
  width: 100%;
  min-height: 85vh; 
  position: relative;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
  background-color: #2894d2;
  color: #fff; 
}
.sea-freight-steps .inner-div {
  display: flex;
  flex-direction: column;
  justify-content: center;    /* Center vertically */
  align-items: center;        /* Center horizontally */
  gap: 20px;
  width: 98%;
  margin: auto;
  text-align: center;
  max-width: 1300px;
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
}

.form-section .inner-div h2{
  font-family: title-font;
  font-size: 30px;
  color: #fff; 
  margin: 0;
  padding-top: 10px;
}
.form-section .inner-div .form-container{
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 80%;
  height: 100%;
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: #fff 1px solid;
  box-shadow: 3px 3px 6px #0000004f;
  border-radius: 10px;
}

.form-section .inner-div .form-container form {
  width: 100%;
  display: flex;
  flex-direction: column; 
  gap: 20px;
  color: #0377ba;
  text-align: left; 
}
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-grid .form-group {
  flex: 1 1 45%;
}

.form-group.full-width {
  width: 100%;
  margin-top: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: #f9f9f9;
  color: #0377ba;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

.seafreight-redirect-btn {
  padding: 10px 20px;
  background-color: #2894d2;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}
.seafreight-redirect-btn:hover {
  background-color: #1a6f9c;
}


.calculator-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border: 2px solid #0377ba;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  background-color: #f2f9ff;
  display: none;
}

.calculator-container h2 {
  text-align: center;
  color: #0377ba;
}

.calculator-container label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.calculator-container select,
.calculator-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.calculator-container button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #0377ba;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.calculator-container button:hover {
  background-color: #025b94;
}

.result {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
  color: #0377ba;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  color: #0377ba;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-content h3 {
  margin-bottom: 20px;
  text-align: center;
}

.popup-content label {
  display: block;
  margin: 10px 0 5px;
}

.popup-content input,
.popup-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.popup-content button {
  background: #0377ba;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.popup-content button:hover {
  background: #025b94;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.result-box {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-top: 15px;
}






/* mobile view */
@media screen and (max-width: 768px) {
  .sea-freight-section .inner-div h1 {
    font-size: 30px;
    padding-top: 140px;
  }

  .sea-freight-section .inner-div p {
    font-size: 16px;
    line-height: 26px;
    padding: 10px 20px;
  }

  .sea-freight-section .inner-div .seafreight-redirect-btn {
    width: 90%;
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .sea-freight-info .inner-div .side-div {
    flex-direction: column; /* Stack cards vertically */
    align-items: center;
  }

  .sea-freight-info .inner-div .side-div .card {
    height: auto;
  }

  .sea-freight-info .inner-div .side-div .card img {
    position: relative;
    height: 200px;
    border-radius: 10px 10px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .sea-freight-steps .inner-div h1 {
    font-size: 32px;
    padding-top: 40px;
  }

  .sea-freight-steps .inner-div .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .sea-freight-steps .inner-div .cards-container .card {
    width: 90%;
    margin-bottom: 20px;
  }
}


@media screen and (max-width: 768px) {
  .form-grid {
    flex-direction: column;
  }

  .form-grid .form-group {
    flex: 1 1 100%;
  }

  .form-section .inner-div h2 {
    font-size: 24px;
  }

  .form-section .inner-div .form-container {
    width: 95%;
    padding: 15px;
  }
  
  .form-group.full-width {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 768px) {
  .seafreight-redirect-btn {
    width: 100%;            /* Full width on mobile */
    font-size: 16px;        /* Slightly smaller text */
    padding: 12px 16px;     /* Comfortable padding */
  }

}



