body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh; /* Ensure the body takes up the full viewport height */
  position: relative; /* Position the pseudo-element relative to the body */  
  background-image: url('images/Background.jpg');
  background-repeat: repeat;
}



/* CSS for Navbar Buttons */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  display: inline-block;
  padding: 10px 15px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white;
  background-color: red;
  border-radius: 5px;
}


.hero .custom-background {
  background-color: white;
  padding: 50px;
  text-align: center;
}

.section {
  padding: 40px 0;
}



/* Add a red underline to headings */
.red-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.red-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Thickness of the underline */
  background-color: red;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Apply the underline animation when hovered */
.red-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Style for text background */
.section {
  background-color: #f4f4f4a8; /* Light gray background */
  padding: 20px;             /* Adds space around the text */
  border-radius: 10px;       /* Rounded corners for the box */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
}




/* Custom CSS for the service boxes */
.sectionsevvices{
  background-color: #f4f4f4a8; /* Light gray background */
  padding: 20px;             /* Adds space around the text */
  border-radius: 10px;       /* Rounded corners for the box */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
}

.service-box {
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
display: flex;
flex-direction: column;
height: 100%; /* Ensures both boxes have the same height */
transition: all 0.3s ease-in-out; /* Smooth transition for the hover effect */

}


/* Ensuring boxes are the same size and have a red border */
.aviation, .marine {
border: 1px solid red;
display: flex;
flex-direction: column;
justify-content: space-between; /* Ensures content is spaced evenly */

}

.service-box h2 {
font-size: 1.5rem;
margin-bottom: 10px;
}

.service-box ul {
list-style-type: none;
padding-left: 0;
}

.service-box ul li {
margin-bottom: 10px;
}

/* Ensuring the boxes inside the container are aligned properly */
.row {
display: flex;
justify-content: space-between;
}

/* This ensures that the two columns (service boxes) are the same height */
.col-md-6 {
display: flex;
flex-direction: column;
}

/* Hover effect for the service boxes */
.service-box:hover {
transform: translateY(-10px); /* Slightly lifts the box on hover */
box-shadow: 0 10px 20px red; /* Adds a subtle red shadow on hover */

}





/*  why chose us */
/* Ensure the section takes up full height of the viewport */
#why-choose-us {
  padding: 60px 20px; /* Adjust padding as needed */
  background-color: #f4f4f4a8; /* Light gray background */
  border-radius: 10px; /* Rounded corners for the box */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
}

/* Container setup for flexbox layout */
#why-choose-us .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Styling for the text content (on the left) */
.text-content {
  flex: 1;
  max-width: 50%; /* Text content occupies 50% of the container */
  margin-right: 20px; /* Adds space between text and image */
}

/* Styling for headings in the text content */
.text-content h2,
.text-content h5 {
  margin-bottom: 15px; /* Space between headings */
  color: black; /* Text color */
}

/* Styling for the image content (on the right) */
.image-content {
  flex: 1;
  max-width: 45%; /* Limits image area to 45% of container */
  margin-left: 20px; /* Adds space between image and text */
  display: flex; /* To prevent image from resizing */
  justify-content: center; /* Centers the images */
  align-items: center; /* Vertically align images */
}

/* Image responsiveness - Remove automatic scaling */
.image-content img {
  width: 300px; /* Fix image width */
  height: 200px; /* Fix image height */
  object-fit: cover; /* Ensures images are cropped to fit without stretching */
  border-radius: 10px; /* Optional: rounded corners for the image */
  margin-bottom: 20px; /* Adds space between images */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  #why-choose-us .container {
    flex-direction: column; /* Stack content and image vertically */
    align-items: center;
  }

  .text-content {
    max-width: 100%; /* Full width for text on small screens */
    margin-right: 0;
    text-align: center; /* Center the text for smaller screens */
  }

  .image-content {
    max-width: 100%; /* Full width for images on small screens */
    margin-left: 0;
  }

  /* Fix images on smaller screens */
  .image-content img {
    width: 300px; /* Fixed width */
    height: 200px; /* Fixed height */
    margin-top: 20px; /* Adds space between image and text when stacked */
  }
}



/* Ensure the row is a flex container */
.row {
display: flex;
justify-content: space-between;  /* Distributes space between items */
flex-wrap: wrap;  /* Allows wrapping of items to new lines */
}

/* Set each column to take up 1/3 of the available space */
.col-md-3 {
flex: 1 1 30%;  /* Flex-grow, flex-shrink, flex-basis */
margin: 10px;  /* Adds margin between the cards */
}

/* Set a fixed height for each service card */
.service-card {
border: 1px solid red;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 350px;  /* Set a fixed height for each card */
}

/* Hover effect for cards */
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px red;
}

/* Card Header Styling */
.card-header {
font-size: 1.5rem;
text-align: center;
padding: 1rem;
}

/* Card Body Styling */
.card-body {
padding: 1.5rem;
}

/* List Styling */
.card-body ul {
list-style-type: none;
padding: 0;
}

.card-body ul li {
margin-bottom: 1rem;
font-size: 1rem;
}

.card-body ul li strong {
color: black;
}

/* Underline effect on hover */
.card:hover ul li strong {
text-decoration: underline;
}



/* Blog Cards */
.sectionblogs{
  background-color: #f4f4f4a8; /* Light gray background */
  padding: 20px;             /* Adds space around the text */
  border-radius: 10px;       /* Rounded corners for the box */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
}
.blog-card {
  border: 1px solid red; /* Red border for cards */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px red; /* Subtle red shadow on hover */
}

.card-title {
  font-size: 1.25rem;
  color: black;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1; /* Allow the body content to grow to fill the available space */
}

.card-text {
  font-size: 1rem;
  color: black;
}

/* Make sure all cards are of equal height */
.card-img-top {
  object-fit: cover;
  height: 200px; /* Set a fixed height for images to maintain uniformity */
}

/* Set all cards to be the same height */
.row .col-md-4 {
  display: flex;
  justify-content: space-between;
}

.row .col-md-4 .blog-card {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%; /* Make sure cards are equal height */
}

/* Buttons */
.btn-danger {
  background-color:white;
  border-color: red;
}

.btn-danger:hover {
  background-color: red;
  border-color: red;
}




/* Custom styles for the contact page */
#contact {
padding: 60px 0;
background-color: #f4f4f4a8; /* Light gray background */
  padding: 20px;             /* Adds space around the text */
  border-radius: 10px;       /* Rounded corners for the box */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */

}

.text-container {
text-align: left;
z-index: 10; /* Ensure text is on top of the background */
}

.contact-item {
font-size: 1.1rem;
margin-bottom: 10px;
}

.contact-item i {
margin-right: 10px;
color: black; /* Red color for the icons */
}

.map-container iframe {
width: 100;
height: 310px;
}

@media (max-width: 767px) {
.col-lg-6 {
  margin-bottom: 20px; /* Space between contact and map for mobile screens */
}

.map-container iframe {
    height: 200px; /* Adjust the map height for mobile screens */
}
}




/* General footer styling */
.footer {
background-color: white;
padding: 20px;
text-align: center;
font-family: Arial, sans-serif;
}

/* Text style */
.footer-text {
color: black;
font-size: 14px;
margin-bottom: 10px;
}

/* Social icons container */
.social-icons {
display: flex;
justify-content: center;
gap: 15px;
}

/* Social icon links */
.social-icon {
color: black;
text-decoration: none;
font-size: 24px;  /* Increase icon size */
transition: color 0.3s ease;
}

/* Hover effect */
.social-icon:hover {
color: red;
}
