html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Add media queries to handle different screen sizes */
  @media (max-width: 768px) {
    .card {
      width: 100%; /* Stack cards on smaller screens */
      margin: 10px 0; /* Remove horizontal margins on smaller screens */
    }
  }
  

/* Additional global styles */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Updated font */
    background: #fff;
    color: #333;
}

/* ... other styles ... */

/* Primary Header */
header nav {
    background: #fff; /* White background */
    padding: 10px 20px; /* Padding on top/bottom and left/right */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Center items vertically */
}


.logo img {
    height: 50px; /* Or any other size that fits your design */
    width: auto; /* Maintain aspect ratio */
}

#check{
    display: none;
}

.icons{
    right: 5%;
    font-size: 2.3rem;
    color: #000000;
    cursor: pointer;
    display: none;
    position: absolute;
    margin-top: -40px;
    /* margin-left: -15px; */

}

/* Navigation styles */
.nav-links {
    display: flex; /* Use flexbox for the nav links */
    justify-content: flex-end; /* Align nav items to the right */
    align-items: center; /* Center links vertically */
    list-style: none; /* Remove list styles */
    margin-left: auto; /* Push the navigation to the end of the flex container */
    font-family: 'Montserrat', sans-serif; /* More appealing font */
}

.nav-links li {
    padding: 0 10px; /* Space between nav items */
}

.nav-links a {
    text-decoration: none;
    color: #12403c;
    font-weight: none;
    font-size: 16px;
    position: relative; /* For the pseudo-element positioning */
    padding-bottom: 5px; /* Space for the underline */
}

/* Animated underline styles */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: rgb(255, 68, 0); /* Blue line */
    transition: width 0.5s ease, left 0.5s ease; /* Animation for the line */
}

/* Hover effect */
.nav-links a:hover::after,
.nav-links a:focus::after { /* Focus added for accessibility */
    width: 100%;
    left: 0;
}

/* Styles for dropdown menu */
.services-dropdown {
    position: relative; /* Set the dropdown container to relative */
}

.dropdown-content {
    display: none; /* Hide the dropdown content by default */
    position: absolute; /* Position it absolutely within the .services-dropdown */
    background-color: #ffffff; /* White background for the dropdown, no transparency */
    min-width: 500px; /* Minimum width for the dropdown */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Add some shadow */
    z-index: 1000; /* High z-index to ensure it's above other items */
}

/* Show the dropdown content on hover */
.services-dropdown:hover .dropdown-content {
    display: block; /* Show the dropdown */
}

/* Style the dropdown links */
.dropdown-content li {
    color: black; /* Make text color black or choose your preference */
    padding: 12px 16px; /* Add some padding */
    text-decoration: none; /* No underline on links */
    display: block; /* Dropdown items should be block to fill the container */
    background-color: #f9f9f9; /* Set a different background color if needed */
}

/* Change the color of dropdown links on hover */
.dropdown-content li:hover {
    background-color: #f2f2f2; /* Light grey background on hover */
}

/* Ensure the dropdown doesn't disappear when you hover over the submenu items */
.dropdown-content li:hover .dropdown-content {
    display: block;
}

/* Remove the secondary header curve and adjust padding */
.secondary-header {
    background: #12403c; /* Light blue background */
    padding: 10px 20px; /* Reduced padding for less height */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between flags and contact info */
    align-items: center; /* Center items vertically */
    position: relative; /* Relative for positioning */
    z-index: 2; /* Keep on top */
}

/* Remove the pseudo-element for the curve */
.secondary-header::after {
    display: none; /* Hide the pseudo-element */
}

/* Flag image styles */
.flags img {
    width: 20px; /* Set the flag size */
    height: auto; /* Maintain aspect ratio */
    margin-right: 1px; /* Space between flags */
}

/* Contact info styles */
.contact-info {
    text-align: right;
    color: #fff;
    font-size: 15px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Hero Section for About Us */
.about-us-hero {
    background: url('img/tank_terminal.jpg') no-repeat center center/cover;
    padding: 180px 0; /* Increased padding to make hero taller */
    color: #fff;
    text-align: center;
    position: relative;
}

/* Black gradient overlay */
.about-us-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.about-us-hero .container {
    position: relative;
    z-index: 2;
}

/* Title and horizontal line */
.about-us-hero h1 {
    font-size: 60px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: inline-block;
    position: relative;
    padding-bottom: 10px; /* Space for the line */
}

.about-us-hero h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
    margin-top: 20px;
    display: inline-block;
    position: relative;
    z-index: 2; /* Ensures the breadcrumb is above the gradient */
}

.breadcrumb-item {
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: inline; /* Align breadcrumb items horizontally */
    color: #fff;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    padding-right: 10px; /* Space for the arrow */
}

.breadcrumb-item::after {
    font-weight: bolder;
    content: '→'; /* Arrow character */
    margin-left: 5px; /* Space after the text */
    margin-right: 7px;
}

.breadcrumb-item:last-child::after {
    content: none; /* No arrow after the last item */
}

.breadcrumb-item.active a {
    color: #aaa;
    pointer-events: none; /* Disables the link functionality */
}


.table-container {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle shadow for depth */
    font-family: Arial, sans-serif; /* standard font */
    text-align: left; /* align text to the left side of cell */
    overflow: hidden; /* in case of overflow */
    margin-bottom: 20px;
  }
  
  .table-container thead {
    background-color: #ffffff; /* dark background for the header */
    color: #000000; /* white text color */
  }
  
  .table-container thead th {
    padding: 15px; /* padding inside header cells */
  }
  
  .table-container tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* zebra striping for rows */
  }
  
  .table-container tbody tr td {
    padding: 15px; /* padding inside body cells */
    border-bottom: 1px solid #ddd; /* border between rows */
  }
  
  .table-container tbody tr td[colspan="7"] {
    background-color: #e9ecef; /* lighter background for grouping titles */
    font-weight: bold; /* bold font for grouping titles */
    padding-top: 10px; /* extra padding for grouping titles */
    padding-bottom: 10px; /* extra padding for grouping titles */
  }
  
  /* P, C, G, V columns */
  .table-container tbody tr td:not(:first-child) {
    text-align: center; /* center text for all cells except first */
  }
  
  /* G column specifically */
  .table-container tbody tr td:nth-child(6):not(:empty) {
    background-color: #bbbbb9; /* red background for G column cells with content */
    color: #fff; /* white text color for contrast */
    border-radius: 4px; /* rounded corners for the G cell */
  }
  
  /* V column specifically */
  .table-container tbody tr td:last-child:not(:empty) {
    background-color: #12403c; /* green background for V column cells with content */
    color: #fff; /* white text color for contrast */
    border-radius: 4px; /* rounded corners for the V cell */
  }
  



.site-footer {
    background: url('img/terminal.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
}

/* Red overlay */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.714); /* Adjust opacity as needed */
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around; /* Change from space-between to space-around for even spacing */
    max-width: 1500px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1; /* Allows the columns to grow and shrink as needed */
    padding: 0 15px; /* Adds padding to create space between columns */
    max-width: 200px; /* Set a max-width for each column */
}

.footer-column h4 {
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.5;
    width: 150%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: none;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link::before {
    font-size: 20px;
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    transition: transform 0.3s;
}

.footer-link:hover::before {
    font-size: 30px;
    transform: translateY(-50%) rotate(45deg); /* Rotate on hover */
}

.logo2 {
    height: 50px; /* Or any other size that fits your design */
    width: auto; /* Maintain aspect ratio */
    margin-right: 150px;
    margin-left: -100px;
}

.logo2 img {
    height: 50px; 
    width: auto; 
    margin-right: 150px;
}

.footer-bottom {
    background-color: #12403c; /* Choose a color that matches your footer */
    color: #ffffff;
    padding: 10px 0;
    display: flex;
    justify-content: space-around; /* This will space out your items evenly */
    align-items: center;
    font-size: 0.85rem;
}

.footer-address,
.footer-social-icons,
.footer-trademark {
    padding: 0 15px; /* Adds padding to create space within each section */
    font-weight: bold;
}

.footer-social-icons i {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.2rem; /* Adjust the size of your icons */
    transition: color 0.3s;
}

.footer-social-icons i:hover {
    color: #000000; /* Change the icon color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
      }
      

    .header{
        padding: 1.3rem 5%;
    }
    .logo img {
        height: 40px; /* Or any other size that fits your design */
        width: auto; /* Maintain aspect ratio */
    }

}

@media (max-width: 768px) {

    .icons{
        display: inline-flex;
        top: 8%;
    }
    

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon{
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .nav-links{
        max-height: 0; /* Start with max-height 0 */
        opacity: 0; /* Start fully transparent */
        visibility: hidden; /* Start hidden */
        overflow: hidden; /* Prevents content from overflowing during transition */
        transition: opacity .1s ease, visibility 3s ease, max-height 3s ease; /* Smooth transition */
        position: absolute;
        top: 16%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.934);
        backdrop-filter: blur(20px);
        z-index: 1000;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.463);
    }
    
    

    #check:checked~.nav-links{
        height: 17rem;
    }

    .nav-links {
        display: block;
        font-size: 1.1rem;
        line-height: 2.5;
        margin-top: 2.0rem 0;
        text-align: center;
    }

    .nav-links a{
        color: #000000;
    }

    .nav-links .dropdown-content a{
        color: #000000;
    }

    .nav-links .dropdown-content{
        margin-left: -70px;
        margin-right: 20px;
    }

    .secondary-header {
        background: #DA291C; /* Light blue background */
        padding: 10px 20px; /* Reduced padding for less height */
        display: flex; /* Use flexbox for layout */
        justify-content: space-between; /* Space between flags and contact info */
        align-items: center; /* Center items vertically */
        position: relative; /* Relative for positioning */
        z-index: 2; /* Keep on top */
    }

    .flags img {
        display: none;
        width: 11px; /* Set the flag size */
        height: auto; /* Maintain aspect ratio */
        margin-left: -15px; /* Space between flags */
    }
    
    /* Contact info styles */
    .contact-info {
        text-align: center;
        color: #fff;
        font-size: 12px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    .about-us-hero h1 {
        font-size: 45px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        display: inline-block;
        position: relative;
        padding-bottom: 10px; /* Space for the line */
    }

    .breadcrumb-item {
        font-size: 17px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        display: inline; /* Align breadcrumb items horizontally */
        color: #fff;
    }

    /* Styles for dropdown menu */
.services-dropdown {
    position: relative; /* Set the dropdown container to relative */
}

.dropdown-content {
    display: none; /* Hide the dropdown content by default */
    position: absolute; /* Position it absolutely within the .services-dropdown */
    background-color: #ffffff; /* White background for the dropdown, no transparency */
    width: 50%; /* Minimum width for the dropdown */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Add some shadow */
    z-index: 1000; /* High z-index to ensure it's above other items */
}

/* Style the dropdown links */
.dropdown-content li {
    margin-top: -10px;
    font-size: 5px;
    color: black; /* Make text color black or choose your preference */
    padding: 12px 16px; /* Add some padding */
    text-decoration: none; /* No underline on links */
    display: block; /* Dropdown items should be block to fill the container */
    background-color: #f9f9f9; /* Set a different background color if needed */
}


}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-address,
    .footer-social-icons,
    .footer-trademark {
        padding: 5px 0; /* Reduce padding for mobile view */
    }

    .footer-social-icons i {
        margin: 0 5px; /* Reduce margin between icons for mobile view */
    }
}



/* Responsive adjustments */
@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
    }
    .footer-column {
        width: 50%;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        width: 110%;
        text-align: left;
    }
    .footer-column li {
        padding-left: 0;
        width: 100%;
    }

    .footer-column p {
        margin-left: -90px;
        margin-right: 100px;
        text-align: left;
        line-height: 1.5;
        width: 200%;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

    .footer-link::before {
        position: static;
        margin-right: 10px;
        transform: none;
    }

    .footer-column ul {
        width: 200%;
        margin-right: 60px;
        margin-left: -60px;
        list-style: none;
        padding: 0;
    }

    .footer-column h4 {
        margin-bottom: 20px;
        text-align: left;
        margin-left: -30px;
    }
}


.floating-block {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
  }

  .floating-block h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  .floating-block button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }

  .floating-block button:hover {
    background-color: #0056b3;
  }

  .table-container {
    overflow-x: auto; /* Enable horizontal scrolling when needed */
    width: 100%; /* Full width of the container */
  }
  
  @media screen and (max-width: 768px) {
    table {
      width: 100%; /* Make the table width 100% for smaller screens */
      table-layout: flex; /* Force the table to use the given width */
    }
  }
  
  /* Add this media query to your existing CSS file */
  @media screen and (max-width: 768px) {
    .floating-block {
      position: fixed;
      bottom: 30px;
      left: 40px;
      background-color: white;
      border: 1px solid #ccc;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 20px;
      border-radius: 5px;
      z-index: 1000;
      height: 100px;
    }

    .table-container {
        overflow-x: auto; /* Enable horizontal scrolling when needed */
        width: 100%; /* Full width of the container */
      }

  }