/* ===================== GOOGLE FONT ===================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f8f9fa;
    overflow-x:hidden;
}

/* ===================== GLOBAL ===================== */

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{
    width:100%;
}

.btn{
    white-space:nowrap;
}

/* ===================== TOP BAR ===================== */

.top-bar{
    background:#0C5D3C;
    color:#fff;
    padding:10px 0;
    font-size:14px;
}

.top-link{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.top-link:hover{
    color:#8cff8c;
}

/* ===================== NAVBAR ===================== */

.custom-navbar{
    background:rgba(0,0,0,.55)!important;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    position:sticky;
    top:0;
    width:100%;
    z-index:1000;
    padding:10px 0;
    transition:.3s ease;
}

.logo-title{
    color:#42ff77;
    margin:0;
    font-weight:700;
}

.logo-subtitle{
    color:#fff;
    letter-spacing:2px;
}

.navbar-logo{
    height:65px;
    width:auto;
    display:block;
    transition:.3s ease;
    max-width:100%;
}

.nav-link{
    color:white!important;
    margin-left:18px;
    padding:10px 15px;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color:#42ff77!important;
}

/* Biofuel Cost Calculator Icon */
.calculator-icon {
    font-size: 24px;
    color: #39ff68 !important;
    padding: 8px 12px !important;
}

.calculator-icon:hover {
    color: #ffffff !important;
}

/* ===================== HERO ===================== */

.hero{

    min-height:100vh;

    padding:120px 0 80px;

    background:url("../images/hero.jpg") center center/cover no-repeat;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:flex-start;

}

.hero-overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:linear-gradient(
        rgba(0,0,0,.70),
        rgba(0,0,0,.55)
    );

    z-index:1;

}

.hero .container{
    position:relative;
    z-index:5;
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-left:8%;
    padding-right:8%;
}

.welcome-text{

    color:#8cff8c;

    font-weight:600;

    letter-spacing:3px;

}

.hero-title{

    font-size:clamp(2.8rem,6vw,4.5rem);

    font-weight:700;

    color:#fff;

    margin-top:15px;

    line-height:1.2;

}

.hero-title span{

    display:block;

    color:#59ff74;

}

.hero-desc{

    color:#ddd;

    font-size:18px;

    line-height:1.8;

    margin-top:25px;

    max-width:620px;

}

/* ===================== BUTTONS ===================== */

.btn-success{

    background:#1fb14e;

    border:none;

    padding:14px 30px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.btn-success:hover{

    background:#15953e;

    transform:translateY(-5px);

}

.btn-outline-light{

    border-radius:40px;

    padding:14px 30px;

    transition:.3s;

}

.btn-outline-light:hover{

    transform:translateY(-5px);

}

/* ===================== FEATURE CARDS ===================== */

.feature-card{

    border:none;

    border-radius:18px;

    transition:.35s;

    cursor:pointer;

    height:100%;

}

.feature-card:hover{

    transform:translateY(-12px);

    box-shadow:0 18px 35px rgba(0,0,0,.18);

}

.feature-card h1{

    font-size:60px;

}

.feature-card h4{

    margin-top:15px;

    font-weight:600;

}

/* ===================== SECTION TITLE ===================== */

section{

    padding:80px 0;

}

h2{

    font-weight:700;

}

/* ===================== RESPONSIVE ===================== */

@media(max-width:992px){

.hero{

min-height:auto;

padding:100px 20px 70px;

text-align:center;

}

.hero-title{

font-size:42px;

}

.hero-desc{

font-size:17px;

margin:auto;

}

.navbar-logo{

height:55px;

}

}

@media(max-width:768px){

.hero{

padding:80px 15px 60px;

}

.hero-title{

font-size:34px;

}

.hero-desc{

font-size:16px;

}

.btn{

width:100%;

margin-bottom:12px;

}

}

@media(max-width:576px){

.hero-title{

font-size:30px;

}

.hero-desc{

font-size:15px;

}

.top-bar{

display:none;

}

.navbar-logo{

height:48px;

}

}

/* ===================== ABOUT ===================== */
.about-company{
    background:#fff;
}

.about-img{
    border-radius:20px;
    transition:.4s;
}

.about-img:hover{
    transform:scale(1.03);
}

.about-image{
    width:100%;
    max-width:100%;
    height:420px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
    transition:.4s;
}

.about-image:hover{
    transform:scale(1.03);
}

/* ===================== STATS ===================== */

.stats{
    background:#0b5d3b;
    color:#fff;
    padding:70px 0;
}

.stat-box{
    text-align:center;
}

.stat-box h2{
    font-size:50px;
    font-weight:700;
    color:#7cff7c;
}

.stat-box p{
    margin-top:10px;
    font-size:18px;
}

/* ===================== FOOTER ===================== */

.footer{
    background:#111;
    color:#fff;
    padding:70px 0 20px;
}

.footer h3,
.footer h4{
    color:#5cff76;
    margin-bottom:20px;
}

.footer p{
    color:#ccc;
}

.footer a{
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.footer a:hover{
    color:#5cff76;
}

.footer hr{
    border-color:#444;
    margin:30px 0;
}

/* ===================== PRODUCTS PAGE ===================== */

.product-hero{

    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/hero.jpg");

    background-size:cover;
    background-position:center;

    padding:130px 0 90px;

    text-align:center;

    color:#fff;

}

.product-hero h5{

    color:#5cff76;

    letter-spacing:3px;

    font-weight:600;

}

.product-hero h1{

    font-size:55px;

    font-weight:700;

    margin:15px 0;

}

.product-hero p{

    max-width:700px;

    margin:auto;

    color:#ddd;

    font-size:18px;

}

/* ===================== PRODUCT SECTION ===================== */

.products-section{

    background:#f8f9fa;

    padding:80px 0;

}
.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .4s;
    text-align: center;
    height: 100%;
}

.product-image-container {
    width: 100%;
    height: 360px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
    padding: 15px;
}
.product-card h3 {
    margin-top: 20px;
    font-weight: 700;
    color: #0b5d3b;
}

.product-card p {
    padding: 0 20px;
    color: #666;
    min-height: 90px;
}

.product-card .btn {
    margin-bottom: 25px;
    border-radius: 30px;
    padding: 10px 25px;
}

/* ===================== WHY CHOOSE PRODUCTS ===================== */

.why-products{

    background:#0b5d3b;

    color:#fff;

    padding:70px 0;

}

.why-card{

    text-align:center;

    padding:30px;

}

.why-card i{

    font-size:55px;

    color:#6fff8b;

}

.why-card h4{

    margin-top:20px;

    font-weight:600;

}

.why-card p{

    color:#ddd;

}

/* ===================== PRODUCT CTA ===================== */

.product-cta{

    background:#fff;

    padding:80px 0;

    text-align:center;

}

.product-cta h2{

    font-weight:700;

    margin-bottom:15px;

}

.product-cta p{

    color:#666;

    margin-bottom:30px;

}

/* ===================== ABOUT HERO ===================== */

.about-hero{

    height:450px;

    background:url("../images/about-bg.jpg") center center/cover no-repeat;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}

.about-hero .overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.55);

}

.about-hero .container{

    position:relative;

    z-index:2;

}

.about-title{

    color: #ffffff !important;

    text-shadow:0 5px 20px rgba(0,0,0,.4);

}

.section-title{

    color:#138d47;

    position:relative;

    display:inline-block;

}

.section-title::after{

    content:"";

    width:70px;

    height:4px;

    background:#58ff7d;

    position:absolute;

    left:0;

    bottom:-10px;

    border-radius:10px;
}

/* ===================== RESPONSIVE IMPROVEMENTS ===================== */

@media(max-width:992px){

.product-hero h1{

font-size:42px;

}

.about-hero{

height:350px;

}

.stat-box{

margin-bottom:30px;

}

}

@media(max-width:768px){

.product-hero{

padding:100px 20px 70px;

}

.product-hero h1{

font-size:34px;

}

.product-hero p{

font-size:16px;

}

.about-hero{

height:300px;

}

.about-title{

font-size:34px;

}

.stat-box h2{

font-size:38px;

}

.footer{

text-align:center;

}

}

@media(max-width:576px){

.product-hero h1{

font-size:28px;

}

.about-title{

font-size:28px;

}

.product-card p{

min-height:auto;

}

.why-card{

padding:20px;

}

.footer{

padding:50px 0 20px;

}

}

/* ===================== CONTACT HERO ===================== */

.contact-hero{
    height:450px;
    background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
               url("../images/contact.png");
    background-size:cover;
    background-position:center;
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.contact-hero .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.25);
}

.contact-hero .container{
    position:relative;
    z-index:2;
}

.contact-hero h1{
    color:#fff;
    font-size:60px;
    font-weight:700;
    margin-bottom:20px;
}

.contact-hero p{
    color:#fff;
    font-size:18px;
    max-width:700px;
    margin:auto;
}
/* ===================== CONTACT INFO ===================== */

.contact-info{
    background:#f8f9fa;
}

.contact-info .card{
    border-radius:18px;
    transition:.35s;
}

.contact-info .card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.contact-info h1{
    font-size:55px;
}

.contact-info h4{
    color:#0b5d3b;
    margin-top:15px;
    font-weight:600;
}

/* ===================== CONTACT HERO ===================== */

.contact-hero{
    height:450px;
    background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
               url("../images/contact.png");
    background-size:cover;
    background-position:center;
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.contact-hero .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.25);
}

.contact-hero .container{
    position:relative;
    z-index:2;
}

.contact-hero h1{
    color:#fff;
    font-size:60px;
    font-weight:700;
    margin-bottom:20px;
}

.contact-hero p{
    color:#fff;
    font-size:18px;
    max-width:700px;
    margin:auto;
}
/* ===================== CONTACT INFO ===================== */

.contact-info{
    background:#f8f9fa;
}

.contact-info .card{
    border-radius:18px;
    transition:.35s;
}

.contact-info .card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.contact-info h1{
    font-size:55px;
}

.contact-info h4{
    color:#0b5d3b;
    margin-top:15px;
    font-weight:600;
}

.more-options-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    padding: 0 !important;
}

.more-options-btn i {
    font-size: 18px;
}

.dropdown-menu {
    border-radius: 8px;
    padding: 8px;
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
}
/* ===================== GRIDFS PRODUCT IMAGE ===================== */

.gridfs-product-image-box {
    width: 100%;
    height: 270px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gridfs-product-img {
    width: auto !important;
    height: 250px !important;
    max-width: 90% !important;
    max-height: 250px !important;
    object-fit: contain !important;
    display: block !important;
}