/* Custom body styles */
body {
  background-color: #ebebeb;
  margin: 0;  /* Ensure there's no default margin */
  font-family: Arial, sans-serif;  /* Add a base font */
}

/* Custom header styles */
.custom-header {
    background-color: #ebebeb !important;  /* Default background color */
    height: 80px; /* Adjust the header height */
    padding: 0 20px; /* Add some horizontal padding */
    width: 100%; /* Ensure header spans full width */
    box-shadow: none !important; /* Remove any shadow */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Solid background color for navbar when collapsed */
.navbar-collapse.collapse {
    background-color: #ebebeb !important; /* Solid dark background */
}

/* Logo size and alignment */
.custom-logo {
    height: auto; /* Let the height adjust automatically */
    max-width: 75%; /* Ensure logo doesn't exceed the container width */
    width: 40vw;  /* Logo width is 45% of the viewport width */
    object-fit: contain; /* Ensures logo keeps its aspect ratio */
}

/* Smaller screen sizes */
@media (max-width: 768px) {
    .custom-logo {
        width: 40vw; /* For smaller screens, set the logo to 40% of the viewport width */
        max-width: 250px;  /* Limit the maximum size */
    }
}

/* Very small screen sizes */
@media (max-width: 480px) {
    .custom-logo {
        width: 50vw; /* For very small screens, set the logo to 40% of the viewport width */
        max-width: 200px;  /* Limit the maximum size */
    }
}


/* Customize the navbar links */
.custom-link {
    font-size: 18px; /* Font size for navbar links */
    padding: 10px 15px; /* Add padding for better spacing */
    color: #333; /* Default text color */
    text-decoration: none; /* Remove underlines */
    transition: color 0.3s ease-in-out; /* Smooth hover transition */
}

/* Hover effect for navbar links */
.custom-link:hover {
    color: #005896; /* Hover color */
}

/* Active state for the clicked link */
.custom-link:focus,
.custom-link:active
/*.custom-link:visited*/ {
    color: #005896; /* Color when clicked or visited */
}

/* Highlight the active link using a class */
.navbar .nav-item.active .custom-link {
    color: #005896; /* Change to your preferred active link color */
}

/* Hover effect for dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block; /* Display the dropdown on hover */
}

/* Custom dropdown styling */
.dropdown-menu {
    background-color: #ebebeb; /* White background for dropdown */
    border: none; /* Remove border */
 	border-radius: 0 !important; /* Remove rounded corners */
    box-shadow: none; /* No shadow for dropdown */
    display: none; /* Hide dropdown by default */
    position: absolute;
    top: 100%; /* Position dropdown below the menu item */
    left: 50%; /* Align it to the center */
  	transform: translateX(-50%); /* Shift it back by half its width to truly center */
    min-width: 200px; /* Optional: Set a width to match the link */
}

/* Styling for each dropdown item */
.dropdown-item {
    padding: 10px 15px; /* Padding for dropdown items */
    text-align: center; /* Center text in dropdown items */
    transition: background-color 0.3s ease;
  	border-radius: 0 !important; /* Remove rounded corners */
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
    background-color: #005896; /* Hover color */
    color: white; /* Text color when hovering */
}

/* Optional: Make navbar sticky */
.custom-header.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for effect */
}

/* Flexbox for the navbar, ensuring it is spaced properly */
.flex-container {
  display: flex;
  justify-content: space-between;
  padding-right: 0; /* Try removing any right padding here too */
}


.image-container {
  padding-right: 0;     /* Remove any padding */
  margin-right: 0;      /* Remove any margin */
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-right: 0;
  padding-right: 0;
}

.hero-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.hero-text h1 {
  font-size: 1.7rem; /* Bigger for impact */
  font-weight: 800; /* Super bold */
  color: #1a1a1a;   /* Darker for more contrast */
  letter-spacing: 1px; /* Optional: adds a clean spacing between letters */
  text-transform: uppercase; /* Optional: makes it more impactful */
}

.hero-text h4 {
  font-size: 1.2rem; /* Bigger for impact */
  font-weight: 800; /* Super bold */
  color: #1a1a1a;   /* Darker for more contrast */
  letter-spacing: 1px; /* Optional: adds a clean spacing between letters */
  text-transform: uppercase; /* Optional: makes it more impactful */
}

.hero-text h5{
  color: #1a1a1a;   /* Darker for more contrast */
  text-transform: uppercase; /* Optional: makes it more impactful */
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
}

.hero-text li {
  font-size: 1.0rem;
  color: #666;
}

.hero-section p + ul {
  margin-top: 0rem; /* or 0, depending on how tight you want it */
}


.list-item {
  color: #005896;
  text-decoration: none;
}

.list-item:hover{
  color: black;
  text-decoration: none;
}

.contact-container .row {
  display: flex;
  justify-content: space-between;
  padding: 4rem 5rem;
  background-color: #005896  !important;
  color: white;
}

.contact-container a {
  color: white
}



.gallery-text {
  width: 100%;
}

.gallery-text h1{
  padding: 70px 0;
  margin-bottom: 0 !important;
  text-align: left;
  font-size: 2rem; /* Bigger for impact */
  font-weight: 800; /* Super bold */
  color: #1a1a1a;   /* Darker for more contrast */
  letter-spacing: 1px; /* Optional: adds a clean spacing between letters */
  text-transform: uppercase; /* Optional: makes it more impactful */
}

.gallery-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.gallery-two {
  width: 49%;        /* each image container takes 50% width */
  padding: 5px;
  box-sizing: border-box; /* include padding in width */
}

.gallery-two img {
  width: 100%;               /* image takes full width of container */
  height: auto;              /* maintains aspect ratio */
  object-fit: cover;         /* crops to fill, only works with fixed height */
  display: block;
  padding: 5px;
}

.gallery-three {
  width: 32.333333333%;        /* each image container takes 50% width */
  padding: 5px;
  box-sizing: border-box; /* include padding in width */
}

.gallery-three img {
  width: 100%;               /* image takes full width of container */
  height: auto;              /* maintains aspect ratio */
  object-fit: cover;         /* crops to fill, only works with fixed height */
  display: block;
  padding: 5px;
}


/* Custom mobile navbar behavior */
@media (max-width: 991px) {
    .dropdown-menu {
      left: 0 !important;
      transform: none !important;
      width: 100%; /* Optional: span full width under nav item */
    }
    .navbar-collapse {
        width: 100%; /* Make the collapsed navbar span the entire width */
    }
    .navbar-nav {
        width: 100%;
        text-align: center; /* Center the items inside the collapsed navbar */
    }

    /* Make collapsed navbar background solid */
    .navbar-collapse.collapse {
        background-color: #ebebeb !important; /* Solid background */
    }
}