@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

html {
  
  height: 100%;
  
}
* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;


}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/*  "intro" section */
.intro {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right, rgba(32, 76, 115, 2.0), rgba(0, 0, 0, 0.1)), url(images/ivan-bandura-N_FDXbXwQmc-unsplash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  /* New styles for the image and text */
  .intro .image-with-text {
    display: flex;
    align-items: center;
    color: white;
    font-size: 2.5vw;
    width: 75%;
  }
  
  .intro .text-container {
    flex: 1;
    padding-left: 20px; /* Change padding-left to create space between text and image */
    opacity: 0; /* Set initial opacity to 0 for fade-in effect */
    transform: translateX(-50px); /* Initial translateX for slide-in effect from the left */
    animation: slideIn 2s forwards;
  }
  
  .intro .image-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
  }
  
  .intro .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.5s;
  }
  
  /* Media query for smaller screens */
  @media (max-width: 768px) {
    .intro .text-container {
      font-size: 1.5rem; /* Adjust font size for smaller screens */
    }
    .intro .image-with-text {
         width: 100%;
    }
    .intro{
      padding-top: 20%;
      height: 75vh;
    }
  }
  /* Animation keyframes */
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

.header {
    background-color: #204C73; /* Logistics-themed color */
    color: white;
    text-align: center;
    padding: 20px 0;
   
}

.header h1 {
    font-size: 2.5rem;
}
.contact-section{
    margin: 5% 10%;
}

.contact-section, .message-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.map {
    flex: 1;
    margin-right: 20px;
}

.contact-details {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
    font-size: 1.5rem;
    color: #204C73; /* Logistics-themed color */
    padding-top: 5%;
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 1%;
}

/* Additional CSS for message section */
.message-section {
    display: flex;
    justify-content: space-between;
    
    justify-content: center;
   
    
    margin: 2% 10%;
}

.message-left {
    flex: 0.5;
    background-color: #fff;
    height: 100%;
    padding: 20px;
    margin-right: 5%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   
}

.message-left .section-paragraph {
    font-size: 1rem;
    color: #555;
}

.message-right {
    padding-top: 5%;
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.message-section h2 {
    font-size: 1.5rem;
    color: #204C73; /* Logistics-themed color */
}

.message-section label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #555;
}

.message-section input[type="text"],
.message-section input[type="email"],
.message-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.message-section button {
    background-color: #204C73; /* Logistics-themed color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-section button:hover {
    background-color: #1a3a54; /* Slightly darker shade on hover */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .contact-section, .message-section {
        flex-direction: column;
        text-align: center;
    }
    
    .map {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .contact-details, .message-section {
        width: 100%;
    }
    .message-left {
      margin-right: 10%;
     
  }
  .message-right {
    margin-right: 10%;
   
}
  .message-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
   
    
    margin: 2% 5%;
}
}