*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    
    
    
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: linear-gradient(
        to bottom,
        #0b0b0f 0%,      /* rich black */
        #111111 40%,     /* soft charcoal */
        #161616 70%,     /* smooth blend */
        #1c1c1c 100%
    );
}


.header{
    min-height: 100dvh;
    width: 100%;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.75),
            rgba(255, 200, 0, 0.15)   /* soft yellow glow at bottom */
        ),
        url("Images/banner.jpg");
    background-position: center;
    background-size: cover;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    padding: 2% 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: blur(3px);
    z-index: 1000;
}

.logo img{
    width: 80px;    /* makes your logo small */
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: aliceblue;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ef9e3c;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #efeddc;
    position: absolute;
    top:40%;
    left:6%;
    transform: translate(1%,1%);
    text-align: left;
    z-index: auto;
    pointer-events: none;
}

.text-box h1{
    font-size: 35px;
    color: #efeddc;
}

.text-box p{
    margin: 20px 0 40px;
    font-size: 14px;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #ffc400;
    border: 1px solid #ffc400;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    transition: 0.4s;
    pointer-events: auto;
}

.hero-btn:hover{
    background: #ffc400;
    color: #000;
}
.hero-btn:hover{
    border: 1px solid #ef9e3c;
    background: #ef9e3c;
    color: #efeddc;
    transition: 0.5s;
}

nav .fa-solid{
    display: none;
}

.hero-divider{
    width: 100%;
    line-height: 0;
    margin-top: -128px;
}

   @media screen and (max-width: 700px){

    .text-box{
        width: 90vw;
        text-align: center;
        left: 5px;
        transform: none;
    }

    .text-box h1{
        font-size: 20px;
        text-align: center;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #b97523c1;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid{
        display: block;
        color: #efeddc;
        text-align: left;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;
    }

    .hero-divider{
    width: 100%;
    line-height: 0;
    margin-top: -35px;
}
   }

@media screen and (max-width: 768px){

    .hero-divider{
        margin-top: -40px;
    }

    .about-us{
        padding-top: 60px;
    }

    .header{
        min-height: 100svh;
    }
}



/* About Section */
.about-us{
    padding-top: 120px;
    color: #efeddc;
}



.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 50px;
}

.about-image {

    text-align: left;
    margin-left: 10px;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 50px;
    object-fit: cover;
}

.about-section {
    flex: 1;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    
}

.learn-more-btn {
    display: inline-block;
    text-decoration: none;
    color: #efeddc;
    background-color: rgba(255, 255, 0, 0.63);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.5s ease;
}

.learn-more-btn:hover {
    background-color: #7c521f;
    color: #080817;
}

/* Responsive */
@media screen and (max-width: 900px) {
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-section{
        margin-top: -20%;
    }

    .about-image {
        margin-bottom: 30px;
        text-align: center;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-section p {
        font-size: 13px;
    }
}

/*-------services-------*/

.services{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 120px;
    background: transparent;
}

h1{
    font-size: 36px;
    font-weight: 600;
    color: #efeddc;
}

.services p{
    color: #efeddc;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    padding: 10px;
     
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.service-col {
  position: relative;
  margin-right: 30px;
  width: 100%;
  height: 250px; /* adjust as needed */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #efeddc;
}


.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 10px;
}
.service-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}


.service-col:hover img {
  transform: scale(1.05); /* subtle zoom on hover */
}

.service-overlay h3 {
  padding: 8px 15px;
  border-radius: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  margin-bottom: 10px;
}

.service-overlay p {
  position: absolute;
  top: 0;
  padding: 20px;
  font-size: small;
  width: 100%;
  height: 100%;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  align-items: center;
  background: rgba(255, 255, 0, 0.516); /* full overlay */
  color:  #efeddc;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  pointer-events: auto; /* now clickable if needed */
  box-sizing: border-box;
}
  .service-col:hover .service-overlay p {
  opacity: 100; /* appear on hover */
}

.service-col:hover .service-overlay h3 {
  opacity: 0;
}



@media(max-width: 700px){
    .row{
        flex-direction: column;
    }

    .service-col{
        margin-bottom: 20px;
    }
}



/* ---------------- BLOG SECTION ---------------- */

.blog-section {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 120px;
    background: transparent;
}

.blog-container h1 {
    color: #efeddc;
}

.blog-container p {
    color: #efeddc;
}

.blog-section p {
    color: #efeddc;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    padding: 10px;
}

.blog-row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.blog-card {
    flex-basis: 31%;
    background: rgba(253, 253, 119, 0.516);
    border-radius: 10px;
    padding: 25px;
    margin-right: 20px;
    transition: 0.5s;
}

.blog-card h3 {
    color: #efeddc;
}

.blog-card p {
    font-size: 14px;
    margin: 15px 0;
}

.blog-card:hover {
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transform: translateY(-5px);
}

.blog-btn {
    
    display: inline-block;
    text-decoration: none;
    color: #efeddc;
    background-color: rgba(255, 255, 0, 0.63);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.5s ease;
}

.blog-btn:hover {
    color: #ef9e3c;
}

/* Fade-in animation */
.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Responsive */
@media(max-width: 700px){
    .blog-row{
        flex-direction: column;
    }

    .blog-card{
        margin-bottom: 20px;
    }
}

/* =========================================
   CONTACT PAGE
========================================= */

.sub-header{
    height: 50vh;
    width: 100%;
    background: linear-gradient(
        rgba(8, 8, 23, 0.9),
        rgba(97, 20, 21, 0.7)
    ),
    url("Images/banner.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #efeddc;
    position: relative;
}

.sub-header h1{
    margin-top: 120px;
    font-size: 36px;
}

.contact-section{
    width: 80%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: -60px;
    padding: 130px 0;
    color: #efeddc;
}

.contact-container{
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact-info{
    flex: 1;
}

.contact-info h2{
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p{
    margin: 15px 0;
    font-size: 15px;
}

.contact-info i{
    color: gold;
    margin-right: 10px;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: #f4b400;
    text-decoration: underline;
}

.contact-form{
    flex: 1;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #efeddc;
    font-family: 'Poppins', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255,255,255,0.6);
}

.contact-btn{
    background: rgba(255, 255, 0, 0.516);
    color: #f9f63dc0;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.4s;
}

.contact-btn:hover{
    background: #ef9e3c;
    color: #080817;
}

@media(max-width: 900px){
    .contact-container{
        flex-direction: column;
        margin-top: -15%;
    }
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 20px 15px;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-content p {
  	text-align: center;
	margin: 0;
}

.social-icons a {
  color: #f9f63dc0;
  margin-left: 15px;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffffff;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .social-icons {
    margin-left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icons a {
    margin: 0 10px;
    font-size: 22px;
  }

  .footer-content p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* =====================================
   ABOUT PAGE
===================================== */

.about-hero{
    min-height:60vh;

    background:
    linear-gradient(
        rgba(0,0,0,.85),
        rgba(0,0,0,.75),
        rgba(255,200,0,.15)
    ),
    url("Images/close-up-fuel-level-gauge-vehicle.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.about-hero h1{
    color:#efeddc;
    font-size:48px;
    margin-bottom:15px;
}

.about-hero p{
    color:#efeddc;
    max-width:700px;
    margin:auto;
}

/* =====================================
   FUEL EFFICIENCY BLOG PAGE
===================================== */

.fuel-hero{
    min-height:60vh;
    background:
    linear-gradient(
        rgba(0,0,0,.85),
        rgba(0,0,0,.75),
        rgba(255,200,0,.15)
    ),
    url("Images/oil-pollution-water-created-with-generative-ai-technology (1).jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.fuel-hero h1{
    color:#efeddc;
    font-size:48px;
}

.fuel-hero p{
    color:#efeddc;
}

.blog-post{
    max-width:1000px;
    margin:80px auto;
    padding:0 20px;
}

.article-card{
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:40px;
    border:1px solid rgba(255,255,255,0.08);
}

.article-card h2{
    color:#ef9e3c;
    margin:30px 0 15px;
}

.article-card p{
    color:#efeddc;
    line-height:1.9;
}

.quote-box{
    margin:40px 0;
    padding:30px;
    border-left:5px solid #ffc400;
    background:rgba(255,196,0,.08);
    color:#efeddc;
    font-style:italic;
    border-radius:10px;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
}

.benefit-card{
    background:rgba(255,255,0,.08);
    padding:25px;
    border-radius:15px;
    transition:.4s;
}

.benefit-card:hover{
    transform:translateY(-5px);
}

.benefit-card h3{
    color:#ffc400;
}

.benefit-card p{
    color:#efeddc;
}

.cta-section{
    text-align:center;
    margin-top:60px;
}

@media(max-width:768px){

    .fuel-hero{
        min-height:45vh;
    }

    .fuel-hero h1{
        font-size:30px;
    }

    .article-card{
        padding:25px;
    }

}

/* =====================================
   BLASTING BLOG PAGE
===================================== */

.blasting-hero{
    min-height:60vh;

    background:
    linear-gradient(
        rgba(0,0,0,.85),
        rgba(0,0,0,.75),
        rgba(255,200,0,.15)
    ),
    url("Images/blasting.png");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.blasting-hero h1{
    color:#efeddc;
    font-size:48px;
    margin-bottom:15px;
}

.blasting-hero p{
    color:#efeddc;
    max-width:700px;
    margin:auto;
}

/* =====================================
   SUPPLY CHAIN BLOG PAGE
===================================== */

.supply-hero{
    min-height:60vh;

    background:
    linear-gradient(
        rgba(0,0,0,.85),
        rgba(0,0,0,.75),
        rgba(255,200,0,.15)
    ),
    url("Images/environmental-pollution-industry-exterior-daylight.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.supply-hero h1{
    color:#efeddc;
    font-size:48px;
    margin-bottom:15px;
}

.supply-hero p{
    color:#efeddc;
    max-width:700px;
    margin:auto;
}
