/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #e30613;
    --dark-color: #000;
    --grey-color: #333;
    --light-grey: #f4f4f4;
    --medium-grey: #666;
    --white-color: #fff;
    --transition: all 0.3s ease;
}

body {
    line-height: 1.6;
    color: var(--grey-color);
    background-color: var(--white-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header and Navigation - Transparent Style */
header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* On scroll effect - add background for better readability when scrolling */
header.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header .container {
    display: flex;
    justify-content: flex-start; /* Start alignment pushes logo to left */
    align-items: center;
    padding: 15px;
    width: 100%;
}

.logo h1 {
    color: var(--white-color);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* Pushes everything else to the right */
    padding-left: 0; /* Remove any padding to position at the far left */
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 50px; /* Adjust height as needed */
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 5px;
    display: block;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    display: none;
    list-style: none;
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
    border-top: 2px solid var(--primary-color);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 15px;
    display: block;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    background-color: rgba(227, 6, 19, 0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white-color);
    transition: var(--transition);
}

/* Main Content Padding to account for fixed header */
main {
    padding-top: 80px; /* Adjust based on your header height */
}

/* Hero Section - Full Background Image */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    color: var(--white-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -80px; /* Correct offset for the fixed header */
    background-attachment: fixed; /* Creates parallax effect */
    z-index: 1; /* Ensure proper stacking with header */
    width: 100%;
    overflow: hidden; /* Prevent any potential overflow issues */
}

.hero .container {
    max-width: 900px;
    z-index: 1;
    padding: 0 20px;
    margin-top: 80px; /* To account for the header offset */
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out forwards;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
    padding: 14px 34px;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Services Section */
.features {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--dark-color);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover:before {
    height: 5px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--medium-grey);
}

.service-card a {
    display: inline-block;
    color: var(--primary-color);
    margin-top: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.service-card a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card a:hover:after {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 0;
}

/* Updated Footer Styling */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.footer-logo h2 {
    color: var(--white-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #aaa;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    margin-top: 4px;
}

/* Special alignment for map marker icon */
.footer-contact p .fa-map-marker-alt {
    font-size: 18px; /* Slightly larger icon */
    margin-top: 2px; /* Adjust vertical position */
    margin-left: 2px; /* Center the icon */
    margin-right: 12px; /* Add extra space after icon */
}

.footer-contact p {
    margin-bottom: 15px;
    color: #aaa;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
    margin-top: 4px;
}

.footer-contact p:nth-child(2):before {
    content: '\f0e0';
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    color: #777;
    font-size: 0.9rem;
}

/* Page Header for Inner Pages */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/about-hero-image.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
    /* Additional properties to ensure full coverage */
    width: 100%;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    margin-top: -80px; /* Match the hero section offset */
    padding-top: 160px; /* Increase padding to account for navbar */
    padding-bottom: 80px;
}

/* Animations and Effects */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(227, 6, 19, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        background-color: var(--dark-color);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #222;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        width: 100%;
        border-radius: 0;
        border-top: none;
        background-color: rgba(51, 51, 51, 0.5);
        margin-top: 15px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-menu a:after {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    .hero h2 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 80px 0;
        margin-bottom: 40px;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }

    .logo img {
        max-height: 40px; /* Slightly smaller on mobile */
    }
}

/* Additional styles for inner pages */
.service-details {
    padding: 0 0 60px;
}

.service-overview {
    margin-bottom: 40px;
}

.service-overview h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cta-box {
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    color: var(--white-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cta-box p {
    color: #aaa;
    margin-bottom: 20px;
}

.about-content, .contact-content, .sustainability-content {
    padding-bottom: 60px;
}

/* Contact form styling */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--grey-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

/* Adjust nav positioning */
nav {
    margin-left: auto; /* Push nav to the right side */
}

/* Detailed Services Section */
.services-detailed {
    padding: 80px 0;
    background-color: var(--dark-color);
    color: var(--white-color);
}

.services-detailed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.services-detailed h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card-detailed {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-detailed:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-card-detailed h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 10px;
}

.service-card-detailed h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.service-card-detailed p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.7;
}

.service-card-detailed .btn {
    margin-top: auto;
    align-self: flex-start;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Responsive layout for service cards */
@media (max-width: 992px) {
    .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .service-card-detailed {
        margin-bottom: 20px;
    }
    
    .services-detailed h2 {
        font-size: 2rem;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.welcome-content h3 {
    font-size: 1.5rem;
    color: var (--dark-color);
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

.welcome-content h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var (--grey-color);
    margin-bottom: 20px;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content h3 {
        font-size: 1.3rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Welcome Section with Full-height Image */
.welcome-section {
    padding: 0; /* Remove padding to allow full-height image */
    background-color: var(--white-color);
    position: relative;
}

.welcome-grid {
    display: flex;
    flex-direction: row;
    min-height: 600px;
}

.welcome-image {
    position: relative;
    flex: 1;
    overflow: hidden;
    box-shadow: none;
    border-radius: 0;
}

.welcome-image::after {
    display: none; /* Remove decorative border */
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.welcome-content {
    flex: 1;
    padding: 80px 0 80px 60px;
    text-align: left;
}

.welcome-content .subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.welcome-content h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-content .separator {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-content h3 {
    font-size: 1.3rem;
    color: var(--grey-color);
    margin-bottom: 25px;
    font-weight: 500;
    font-style: italic;
}

.welcome-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var (--grey-color);
    margin-bottom: 20px;
}

.welcome-content .btn {
    margin-top: 20px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .welcome-grid {
        flex-direction: column;
        min-height: auto;
    }
    
    .welcome-image {
        height: 500px;
        position: relative;
    }
    
    .welcome-image img {
        position: relative;
    }
    
    .welcome-content {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .welcome-image {
        height: 400px;
    }
}

/* Welcome Section - Professional Split Layout */
.welcome-section {
    position: relative;
    padding: 0;
    background-color: var(--white-color);
    overflow: hidden;
    margin-top: 50px; /* Add space between hero and welcome section */
    margin-bottom: 50px; /* Add space after the welcome section */
}

.welcome-grid {
    display: flex;
    width: 100%;
    min-height: 250px; /* Further reduced from 300px */
}

.welcome-image {
    width: 50%;
    overflow: hidden;
    position: relative;
}

.welcome-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-content-wrapper {
    width: 50%;
    display: flex;
    align-items: center;
}

.welcome-content {
    padding: 30px 40px; /* Reduced padding for more compact layout */
    max-width: 600px;
}

.welcome-content .subtitle {
    font-size: 0.8rem; /* Reduced from 0.9rem */
    margin-bottom: 10px; /* Reduced from 15px */
}

.welcome-content h2 {
    font-size: 1.8rem; /* Reduced from 2.2rem */
    margin-bottom: 15px; /* Reduced from 20px */
}

.welcome-content .separator {
    width: 60px; /* Reduced from 80px */
    height: 2px; /* Reduced from 3px */
    margin-bottom: 15px; /* Reduced from 20px */
}

.welcome-content h3 {
    font-size: 1.1rem; /* Reduced from 1.3rem */
    margin-bottom: 15px; /* Reduced from 25px */
}

.welcome-content p {
    font-size: 0.95rem; /* Reduced from 1.05rem */
    line-height: 1.6; /* Reduced from 1.8 */
    margin-bottom: 15px; /* Reduced from 20px */
}

.welcome-content .btn {
    margin-top: 15px; /* Reduced from 20px */
    font-size: 0.9rem; /* Added smaller font size */
    padding: 8px 20px; /* Reduced padding */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .welcome-grid {
        flex-direction: column;
        min-height: auto;
    }
    
    .welcome-image {
        width: 100%;
        height: 220px; /* Reduced from 280px */
        position: relative;
    }
    
    .welcome-content-wrapper {
        width: 100%;
    }
    
    .welcome-content {
        padding: 40px 25px; /* Reduced padding */
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .welcome-image {
        height: 200px; /* Reduced from 250px */
    }
    
    .welcome-content {
        padding: 30px 20px;
    }
    
    .welcome-content h2 {
        font-size: 1.6rem;
    }
}

/* Fuel Products Section */
.fuel-products {
    padding: 80px 0;
    background-color: var(--light-grey);
    position: relative;
}

.fuel-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.fuel-products h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.fuel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.fuel-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border-bottom: 3px solid transparent;
}

.fuel-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.fuel-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.fuel-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.fuel-card p {
    color: var(--medium-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive layout for fuel cards */
@media (max-width: 992px) {
    .fuel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .fuel-grid {
        grid-template-columns: 1fr;
    }
    
    .fuel-products h2 {
        font-size: 2rem;
    }
}

/* Terminal Locations Section */
.terminal-locations {
    padding: 80px 0;
    background-color: var(--white-color);
    position: relative;
}

.terminal-locations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var (--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.terminal-locations h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.terminals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.terminal-card {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid transparent;
}

.terminal-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.terminal-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.terminal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.terminal-card:hover .terminal-image img {
    transform: scale(1.05);
}

.terminal-info {
    padding: 20px;
}

.terminal-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
}

.terminal-info p {
    font-size: 0.9rem;
    color: var(--medium-grey);
    line-height: 1.5;
}

/* Image error handling */
.terminal-image.image-error {
    background-color: #f8f8f8;
    position: relative;
}

.terminal-image.image-error::before {
    content: '\f1c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.terminal-image.image-error img {
    opacity: 0.5;
}

/* Responsive layout for terminal cards */
@media (max-width: 1200px) {
    .terminals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .terminals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .terminals-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-locations h2 {
        font-size: 2rem;
    }
}

/* Key Facts Section */
.key-facts {
    position: relative;
    padding: 100px 0;
    color: var(--white-color);
    background: url('../img/key-facts-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.key-facts .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.key-facts .container {
    position: relative;
    z-index: 2;
}

.key-facts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.key-facts h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.facts-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.facts-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.facts-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.stat-description {
    font-size: 0.95rem;
    color: #cccccc;
}

/* Responsive layout for stats */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .key-facts {
        padding: 80px 0;
    }
    
    .key-facts h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--grey-color);
}

.contact-details i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.contact-form-container {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.contact-cta {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-cta-content {
    max-width: 80%;
}

.contact-cta h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-cta p {
    margin-bottom: 30px;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-cta .btn {
    padding: 12px 35px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .contact-cta {
        padding: 20px;
    }
    
    .contact-cta-content {
        max-width: 100%;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--white-color);
    position: relative;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.why-choose-us h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Update to Why Choose Us section grid for 5 cards */
.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.choose-us-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background-color: var(--white-color);
    border-bottom: 3px solid transparent;
}

.choose-us-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.choose-us-card:hover .icon-wrapper {
    background-color: var(--primary-color);
}

.icon-wrapper i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.choose-us-card:hover .icon-wrapper i {
    color: var(--white-color);
}

.choose-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.choose-us-card p {
    color: var(--medium-grey);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    .choose-us-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
}

/* Tabs System for Why Choose Us Section */
.company-tabs-section {
    margin-top: 60px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: var(--light-grey);
    border-bottom: 1px solid #e0e0e0;
}

.tab-item {
    padding: 15px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-align: center;
    flex: 1;
}

.tab-item:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.tab-item:hover {
    background-color: rgba(227, 6, 19, 0.05);
}

.tab-item.active {
    color: var(--primary-color);
    background-color: var(--white-color);
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tabs-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.tab-section {
    margin-bottom: 40px;
}

.tab-section h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.tab-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-grey);
    margin-bottom: 15px;
}

/* Timeline styling */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    height: 100%;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-year {
    position: absolute;
    left: -30px;
    top: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 60px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    padding-top: 5px;
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--medium-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Growth stats styling */
.growth-content {
    text-align: center;
}

.growth-content p {
    font-size: 1.1rem;
    color: var (--medium-grey);
    margin-bottom: 30px;
}

.growth-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.growth-stat {
    padding: 25px 15px;
    background-color: var(--light-grey);
    border-radius: 8px;
    transition: var(--transition);
}

.growth-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--medium-grey);
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .growth-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tabs-content {
        padding: 20px 15px;
    }
    
    .growth-stats {
        grid-template-columns: 1fr;
    }
}

/* Service Page Layout with Sidebar */
.service-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.service-sidebar {
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.service-sidebar h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1.4rem;
}

.service-nav {
    list-style: none;
}

.service-nav li {
    margin-bottom: 5px;
}

.service-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--grey-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.service-nav a:hover {
    background-color: rgba(227, 6, 19, 0.08);
    color: var(--primary-color);
    transform: translateX(5px);
}

.service-nav li.active a {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
}

.service-nav li.active a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--dark-color);
}

.service-content {
    width: 100%;
}

/* Responsive adjustments for sidebar */
@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

/* Service page image styling */
.service-image-container {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-image-container:hover .service-main-image {
    transform: scale(1.02);
}

/* About page hero section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/about-hero-image.jpg') no-repeat center center/cover;
}

.about-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.about-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service pages hero sections */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/service-hero-bg.jpg') no-repeat center center/cover;
}

.pipeline-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/pipeline-hero-bg.jpg') no-repeat center center/cover;
}

.leasing-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/leasing-hero-bg.jpg') no-repeat center center/cover;
}

.storage-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/storage-hero-bg.jpg') no-repeat center center/cover;
}

.terminal-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/terminal-hero-bg.jpg') no-repeat center center/cover;
}

.transshipment-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/services/transshipment-hero-bg.jpg') no-repeat center center/cover;
}

.service-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.service-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero sections for additional pages */
.sustainability-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/sustainability-hero-bg.jpg') no-repeat center center/cover;
}

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../img/contact-hero-bg.jpg') no-repeat center center/cover;
}

/* Add spacing after hero sections */
.hero + section {
    margin-top: 60px; /* Adds space between hero and next section */
}

/* Service page specific spacing */
.service-hero + .service-details {
    margin-top: 60px;
    padding-top: 20px;
}

/* Specific adjustments for content sections */
.service-details {
    padding-top: 20px;
}

.about-content {
    padding-top: 20px;
}

/* Specific adjustment for about page */
.about-content {
    padding-top: 20px;
}

/* Enhanced Sustainability Page Styling */
.sustainability-content {
    padding: 60px 0;
}

.section-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(227,6,19,0.3);
}

.section-card h3 {
    margin-top: 15px;
    font-size: 1.8rem;
    color: var(--dark-color);
    padding-bottom: 0;
    margin-bottom: 20px;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1.2rem;
    color: var(--grey-color);
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
}

.section-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
}

.section-card h4 i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.feature-item {
    background-color: var(--light-grey);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(227,6,19,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.goals-list {
    list-style: none;
    margin: 25px 0;
}

.goals-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.goals-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.sustainability-report {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/sustainability-report-bg.jpg') no-repeat center center/cover;
    padding: 60px 40px;
    border-radius: 10px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sustainability-report h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.sustainability-report p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.sustainability-report .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.sustainability-report .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-card {
        padding: 30px 25px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: 30px;
    }
    
    .section-card h3 {
        font-size: 1.5rem;
    }
    
    .section-lead {
        font-size: 1.1rem;
    }
}
