<%- include("pages/header")%>
    <!-- Navbar End -->
    

    <!-- Header Start -->
   <!-- Header Start -->
<div class="jumbotron jumbotron-fluid mb-5" style="background-size: cover; background-position: center; background-repeat: no-repeat;">
    <div class="container text-center py-5" style="border-radius: 10px;">
        <h1 class="text-white display-3"><%= cateName %></h1>
        <h4 class="text-primary display-3">
            ATAYESHE OIL & MARINE SERVICES
        </h4>
        <div class="d-inline-flex align-items-center text-white">
            <p class="m-0 d-flex align-items-center">
                <a class="text-white text-decoration-none mx-2" href="/" aria-label="Home">Home</a>
                <span class="px-2 text-muted">|</span>
            </p>
            <p class="m-0 d-flex align-items-center">
                <a class="text-white text-decoration-none mx-2" href="/airfrieght" aria-label="Services">Air Freight</a>
                <span class="px-2 text-muted">|</span>
            </p>
            <p class="m-0 d-flex align-items-center">
                <a class="text-white text-decoration-none mx-2" href="/contact" aria-label="Contact">Contact</a>
                <span class="px-2 text-muted">|</span>
            </p>
            <p class="m-0 d-flex align-items-center">
                <a class="text-white text-decoration-none mx-2" href="/about" aria-label="About">About</a>
            </p>
        </div>
    </div>
</div>
<!-- Header End -->
<!-- Blog Start -->
<div class="container-fluid pt-5">
    <div class="container">
        <div class="text-center pb-2">
            <h6 class="text-primary text-uppercase font-weight-bold">Our Freight Services</h6>
            <h1 class="mb-4">Insights from the Freight Industry</h1>
        </div>
        
        <div class="row">
            <% getMainInfo.forEach(info=>{ %>
            <div class="col-md-6 mb-5">
                <div class="position-relative">
                    <img class="img-fluid w-100" src="../<%= info.image %>" alt="hh" style="height: 300px;">
                    <div class="position-absolute bg-primary d-flex flex-column align-items-center justify-content-center rounded-circle shadow"
                        style="width: 70px; height: 70px; bottom: -35px; right: 30px;">
                        <i class="fas fa-ship text-white" style="font-size: 24px;"></i>
                        <small class="text-white text-uppercase mt-1">Freight</small>
                    </div>

                </div>
                <div class="bg-secondary" style="padding: 30px;">
                    <!-- <div class="d-flex mb-3">
                        <div class="d-flex align-items-center">
                            <img class="rounded-circle" style="width: 40px; height: 40px;" src="img/user.jpg" alt="">
                            <a class="text-muted ml-2" href="">John Doe</a>
                        </div>
                        <div class="d-flex align-items-center ml-4">
                            <i class="far fa-bookmark text-primary"></i>
                            <a class="text-muted ml-2" href="">Web Design</a>
                        </div>
                    </div> -->
                    <h4 class="font-weight-bold mb-3">
                        <%=info.description %>
                    </p>
                    <!-- <a class="border-bottom border-primary text-uppercase text-decoration-none" href="">Read More <i class="fa fa-angle-right"></i></a> -->
                </div>
            </div>
            <% })%>
            
        </div>
    </div>
</div>

<%- include('pages/footer')%>