html {
	width: 100%;
	height: 100%;
    margin: 0;
    padding: 0;		
}

body {
	width: 100%;
	height: 100%; 
    padding-top: 60px; /* adjust based on banner height */
    font-family: sans-serif;
    margin: 0;
    padding: 0;	
    /* min-height: 100vh;			*/
	background-color: #f3f4f6;
}

main {
	margin-top: 50px;
}

.bg-navy-blue {
    background-color: #000080;
}

.fixed-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 8%;              /* Here the height of the banner can be set, e.g. 50px */
  background-color: #000080; /* Replicates bg-navy-blue */
  color: #ffffff; /* Replicates text-white */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1rem; /* Replicates px-4 */
  padding-right: 1rem; /* Replicates px-4 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* Replicates shadow-md */
}

@media (min-width: 1024px) {
  .fixed-banner {
    padding-left: 2rem; /* Replicates lg:px-8 */
    padding-right: 2rem; /* Replicates lg:px-8 */
  }
}

.page-section-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(191, 219, 254); /* Tailwind's bg-blue-200 */
  padding-top: 2.5rem; /* py-10 */
  padding-bottom: 2.5rem;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem;
}

/* sm:px-8 */
@media (min-width: 640px) {
  .page-section-all {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* lg:flex-row, lg:h-[10cm], lg:py-0 */
@media (min-width: 1024px) {
  .page-section-all {
    flex-direction: row;
    height: 10cm;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.container {
  width: 100%;
  margin: 20px auto;   /* This centers the container horizontally */
  margin-top: 20px;
  border: 1px solid #ccc;
  background-color: white; 
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Used in services. */
.left-panel {
  width: 33.33%;
  padding: 20px;
  border-right: 1px solid #ccc;
  background-color: #f9f9f9;	
}

/* Used in services. */
.right-panel {
  width:  66.67%;
  padding: 20px;
  height:  60%; /* Here the height of the text box is set.600px */
}

h1 {
  font-size: 3.000rem; /* Base size for small screens (text-3xl) */
  font-weight: 700;
  color: black;           /* navy-blue: #000080*/
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.25rem; /* Size for medium screens (sm:text-4xl) */
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem; /* Size for large screens (md:text-5xl) */
  }
}

/* Used in header of services, deliverables. */
h2 {
  color: navy;  /* color: black, navy; */
  font-weight: bold;
  padding-bottom: 5px;
  font-size: 30px;           /* increase size. Does not work. I overwrote it now.  */
}


h3 {
  color: #1e3a8a; /* Replicates text-blue-900 */
  font-size: 1.25rem; /* Replicates text-xl */
  font-weight: 600; /* Replicates font-semibold */
  margin-bottom: 0.5rem; /* Replicates mb-2 */
}

h4 {
  font-size: 1.125rem; /* Replicates text-lg */
  font-weight: 900; /* Replicates font-bold */
  color: #ffffff; /* Replicates text-white */
  margin-bottom: 0.5rem; /* Replicates mb-2 */
}

/* class selector is initiated with (.), used to only have some tags with this paragraph setting. */
.paragraph-section1 {
  color: #4b5563; /* Replicates text-gray-700 */
  line-height: 1.625; /* Replicates leading-relaxed */
  max-width: 42rem; /* Replicates max-w-2xl */
  margin-left: auto; /* Replicates mx-auto */
  margin-right: auto; /* Replicates mx-auto */
}

/* This is media query to handle responsive behavior for the horizontal margins of paragraph-section1 */
@media (min-width: 1024px) {
  .paragraph-section1 {
    margin-left: 0; /* Replicates lg:mx-0 */
    margin-right: 0; /* Replicates lg:mx-0 */
  }
}

.paragraph-section2 {
  color: #1f2937;       /* Tailwind's text-gray-800 */
  margin-bottom: 2rem;  /* Tailwind's mb-8 */
}

.paragraph-section3 {
  color: #1f2937;      /* Tailwind's text-gray-800 */
  font-size: 0.875rem; /* Tailwind's text-sm */
  line-height: 1.25rem;/* Tailwind's text-sm line-height */
}

ul {
  list-style-type: circle; /* Removed default bullet points:  */
  padding: 0; /* Removed default padding */
}

li {
  margin-bottom: 10px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  width: 12rem;
  background-color: #000080;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: none; /* This hides the dropdown by default */
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

.group:hover .dropdown-menu {
  display: block; /* This makes it visible on hover */
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem; /* Replicates px-4 and py-2 */
  font-size: 0.875rem;  /* Replicates text-sm */
  color: #e5e7eb;       /* Replicates text-gray-200 */
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s; /* Replicates transition-colors duration-300 */
}

.dropdown-item:hover {
  background-color: #1d4ed8; /* Replicates hover:bg-blue-700 */
  color: white;              /* Replicates hover:text-white */
}

a {
  text-decoration: none; /* Removes underline from links */
  color: black;
  display: block; /* Makes the entire list item clickable */
  padding: 5px;
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

a:hover {
  color: #fff; /* Changes text color on hover */
  background-color: navy; /* Highlights the background in navy blue */
}

.nav-link {
  transition: color 0.3s ease; /* Replicates transition-colors and duration-300 */
}

.nav-link:hover {
  color: #d1d5db; /* Replicates hover:text-gray-300 */
}		

.footer-link {
  transition: color 0.3s ease, opacity 0.3s ease; /* Replicates transition-colors and transition-opacity with duration-300 */
  color: #ffffff; /* Replicates hover:text-white */
}

.footer-link:hover {
  background-color: #1d4ed8;
  color: #ffffff; /* Replicates hover:text-white */
  opacity: 0.8; /* Replicates hover:opacity-80 */
}

.footer-columns {
  width: 4rem; /* Replicates w-16 */
  height: 0.25rem; /* Replicates h-1 */
  background-color: #4b5563; /* Replicates bg-gray-600 */
  margin-bottom: 1rem; /* Replicates mb-4 */
  margin-left: auto; /* Replicates mx-auto */
  margin-right: auto; /* Replicates mx-auto */
}

@media (min-width: 768px) {
  .footer-columns {
    margin-left: 0; /* Replicates md:mx-0 */
    margin-right: 0; /* Replicates md:mx-0 */
  }
}

.footer-background {
  background-color: #111827; /* Replicates bg-gray-900 */
  color: #d1d5db; /* Replicates text-gray-300 */
  padding-top: 3rem; /* Replicates py-12 */
  padding-bottom: 3rem; /* Replicates py-12 */
  padding-left: 1rem; /* Replicates px-4 */
  padding-right: 1rem; /* Replicates px-4 */
}

@media (min-width: 640px) {
  .footer-background {
    padding-left: 2rem; /* Replicates sm:px-8 */
    padding-right: 2rem; /* Replicates sm:px-8 */
  }
}

.footer-social-media-box {
  display: flex;
  gap: 1rem; /* Replicates space-x-4 */
  justify-content: center; /* Replicates justify-center */
}

@media (min-width: 768px) {
  .footer-social-media-box {
    justify-content: flex-start; /* Replicates md:justify-start */
  }
}

.footer-social-media-item {
  font-size: 1.25rem; /* Replicates text-xl */
  transition: color 0.3s ease; /* Replicates transition-colors and duration-300 */
}

.footer-social-media-item:hover {
  color: #ffffff; /* Replicates hover:text-white */
}

.excellence_icons {
  height: 4rem; /* Replicates h-16 */
  width: 4rem; /* Replicates w-16 */
  margin-left: auto; /* Replicates mx-auto */
  margin-right: auto; /* Replicates mx-auto */
  color: #1e3a8a; /* Replicates text-blue-900 */
  margin-bottom: 0.5rem; /* Replicates mb-2 */
}

.footer-background-boxes {
  max-width: 80rem; /* Replicates max-w-7xl */
  margin-left: auto; /* Replicates mx-auto */
  margin-right: auto; /* Replicates mx-auto */
  display: grid;
  grid-template-columns: 1fr; /* Replicates grid-cols-1 */
  gap: 2rem; /* Replicates gap-8 */
  text-align: center; /* Replicates text-center */
}

@media (min-width: 768px) {
  .footer-background-boxes {
    grid-template-columns: repeat(2, 1fr); /* Replicates md:grid-cols-2 */
    text-align: left; /* Replicates md:text-left */
  }
}

@media (min-width: 1024px) {
  .footer-background-boxes {
    grid-template-columns: repeat(4, 1fr); /* Replicates lg:grid-cols-4 */
  }
}

/* Used in contact dataform text message, also in software.  */
.textarea {
    resize: vertical;
    min-height: 10rem; /* At least 10 lines tall */
}

/* Used in Deliverables.*/
.read-more-link {
  color: #3b82f6; /* A blue color */
  text-decoration: none;
  font-weight: 500;
  display: inline; /* To ensure it stays on the same line */
}
.read-more-link:hover {
  color: white; /* A darker blue on hover. #1e40af*/
}

/* Used in Projects.html*/
.filter-btn {
    border-width: 1px;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    border-color: #a0aec0;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e2e8f0;
}

/*Document link; used a a link to another document (.pdf). Used for example in deliverables/quaysidemooring */
.document-link {
  /* Initial state: light blue text */
  color: #4299e1; /* Blue-500 tailwind color code */
  text-decoration: none; /* Remove default underline */
  padding: 2px 5px; /* Add some padding so the background fill looks nice */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
  display: inline-block; /* Allows padding and background to be applied neatly */
}

.document-link:hover {
  /* Hover state: white text on a blue background */
  color: white; /* White text */
  background-color: #000080; /* A standard Blue for the fill */
  text-decoration: none; /* Keep the underline removed */
}

.box {
    display: block; /* Ensure boxes are initially visible */
}