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: #333;
    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/oil-tank-bg.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 */
}


.split-section {
    display: flex;
    align-items: center;
    justify-content: space-around; /* Changed to space-around to give more space around items */
    padding: 50px 20px;
    background-color: #ffffff;
    position: relative; /* For pseudo-element positioning */
}

.content {
    margin-right: 20px;
   width: 40%;
    padding-left: 20px;
    margin-left: 90px; /* Adjusted as needed */
    position: relative; /* For z-index stacking context */
    z-index: 2; /* Higher z-index so text appears above the pseudo-element */
}

.image-container {
    flex: 1;
    overflow: hidden;
    position: relative; /* For z-index stacking context */
    z-index: 1; /* Lower z-index so images go under the pseudo-element */
}

.image-container img {
    width: 80%; /* Adjust width as needed */
    border-radius: 10px;
    position: relative; /* For z-index stacking context */
}

/* Pseudo-element to act as the text block between image and content */
.split-section::before {
    content: 'OIL, GAS & ENERGY'; /* The content you want to display */
    position: absolute;
    left: 50%; /* Center the element */
    top: 50%; /* Align vertically */
    transform: translate(-50%, -50%); /* Center the element exactly */
    background: #12403c; /* Background color of the text block */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding inside the text block */
    z-index: 3; /* Above both the image and content */
    font-size: 1.5rem; /* Font size of the text */
    font-weight: bold; /* Font weight of the text */
    white-space: nowrap; /* Ensure the content stays on one line */
    border-radius: 5px; /* Rounded corners for the text block */
    margin-top: -35px;
}


.content h2 {
    font-size: 2.2rem; /* Adjust the font size as needed */
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a5656; /* Adjust the text color as needed */
    margin-bottom: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}


.standards-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #eae9e9; /* Adjust the background color as needed */
    gap: 20px; /* Reduced gap between elements */
}

.standards-image img {
    width: 70%;
    border-radius: 10px; /* Adjust the border radius as needed */
    margin-left: 90px;
}

.standards-content {
    width: 50%;
    padding-left: 20px;
    margin-left: 90px;
}

.standards-content h2 {
    font-size: 2.5rem; /* Adjust the font size as needed */
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.standards-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333; /* Adjust the text color as needed */
    margin-bottom: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.standards-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff; /* Text color for the button */
    background-color: #12403c; /* Background color for the button */
    border-radius: 5px; /* Adjust the border radius as needed */
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #12403c; /* Border color same as background */
    background-color: transparent; /* Transparent background initially */
    color: #12403c; /* Text color same as background */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    transform: translateY(0); /* Start at normal position */
    overflow: hidden; /* Ensures that background reveal does not overflow */
    position: relative;
}

.standards-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #12403c; /* Background color for the hover effect */
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.standards-button:hover::before {
    transform: scaleY(1); /* Scale the pseudo-element to full height on hover */
}

.standards-button:hover {
    color: #fff; /* Change text color on hover */
    transform: translateY(-3px); /* Move up slightly on hover */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}



.mini-hero-section {
    text-align: center;
    background: url('img/abt.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 50px 0;
}

.mini-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Blue gradient overlay */
    z-index: 0;
}

.title-container {
    position: relative;
    z-index: 1;
}

.mini-hero-title {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    font-size: 1.5rem; /* Adjust size as needed */
    margin-bottom: -10px;
}

.main-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(255, 51, 0);
    font-size: 2.5rem; /* Adjust size as needed */
    margin: 20px 0;
}

.title-divider {
    width: 150px; /* Adjust width as needed */
    height: 3px;
    background-color: white;
    margin: 10px auto;
}

.cards-container {
    display: flex;
    justify-content: space-around; /* Space cards evenly */
    align-items: stretch; /* Stretch cards to fill the container */
    flex-wrap: wrap; /* Wrap onto the next line if needed */
    margin: 0 -10px; /* Negative margin to counteract card margin */
}

.card {
    margin-left: 30px;
    margin-right: 30px;
    background: #fff;
    padding: 40px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    cursor: pointer;
    width: calc(33.333% - 15px); /* Three cards per row, minus margin */
    margin: 10px; /* Space between cards */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    position: relative; /* Position relative to enable z-index stacking */
    z-index: 10; /* Higher z-index value to bring card above overlay */
}

.card-content {
    text-align: center;
}


.card h3, .card p {
    margin: 10px 0;
}

.card:hover {
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 20px); /* Two cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .cards-container {
        justify-content: center;
    }

    .card {
        width: 80%; /* Full width cards on smaller screens */
        margin: 20px 0; /* Increase margin to space out stacked cards */
    }
}


.card h3 {
    font-size: 1.5rem; /* Adjust size as needed */
    color: #333;
}

.card p {
    font-size: 1rem; /* Adjust size as needed */
    color: #666;
    line-height: 1.6;
}



.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(10, 10, 106, 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: none;
}

.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 */
}



/* Additional responsive adjustments */
/* @media (max-width: 768px) {
    .nav-links, .logo {
        float: none;
        text-align: center;
    }

    .nav-links li {
        display: block;
        margin: 10px 0;
    }
} */

/* 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: #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 */
    }

    .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;
    }

    .split-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around; /* Changed to space-around to give more space around items */
        padding: 50px 20px;
        background-color: #ffffff;
        position: relative; /* For pseudo-element positioning */
    }
    
    .content {
        margin-right: 20px;
       width: 100%;
        margin-left: -8px;
        position: relative; /* For z-index stacking context */
        z-index: 2; /* Higher z-index so text appears above the pseudo-element */
    }

    .split-section::before {
        display: none;
    }

    .content h2 {
        font-size: 2.0rem; /* Adjust the font size as needed */
        margin-bottom: 20px;
        font-family: Arial, Helvetica, sans-serif;
    }
    
    .content p {
        text-align: justify;
        font-size: 1rem;
        line-height: 1.7;
        color: #5a5656; /* Adjust the text color as needed */
        margin-bottom: 20px;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    .image-container img {
        margin-top: 10px;
        width: 100%; /* Adjust width as needed */
        border-radius: 10px;
        position: relative; /* For z-index stacking context */
    }

    .standards-section {
        margin-top: -50px;
        flex-direction: column;
        margin-left: -42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px 20px;
        background-color: #ffffff; /* Adjust the background color as needed */
        gap: 20px; /* Reduced gap between elements */
        width: 100%;
    }

    .standards-image img,
    .standards-content {
        width: 100%;
    }

    .standards-content {
        padding-left: 0;
    }

    .standards-image img {
        width: 100%;
        border-radius: 10px; /* Adjust the border radius as needed */
        margin-left: 43px;
    }

    .standards-content h2 {
        font-size: 1.8rem; /* Adjust the font size as needed */
        margin-bottom: 20px;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
    }

    /* 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;
    }
}
