/* ==========================
   BASIC RESET
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html, body {
  overflow-x: hidden;
}

.hero, .about, .products, .home-products {
  padding: 20px; /* instead of 10% + big pixel padding */
  max-width: 100%;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ==========================
   HEADER
========================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:linear-gradient(to right,rgb(115, 115, 59),rgb(199, 96, 96),rgb(206, 139, 150),rgb(171, 100, 100));
    color: white;
    padding: 15px 10%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5em;
    font-weight: bold;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  animation: spinLogo 10s linear infinite;
}

@keyframes spinLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: #ffb400;
}

/* ==========================
   HERO SECTION
========================== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f9f9f8, #f4f2f2);
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.7;
     
}

.hero img {
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 0 25px cyan;
  
}

.btn {
  background: #ff6600;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}



.why-gas {
  background: #7898b8;
  padding: 60px 20px;
  text-align: center;
}

.why-gas h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.why-gas p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
  max-width: 800px;
  margin: 10px auto;
}

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

.benefit {
  background: #e5eaec;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.benefit h3 {
  color: #ff6600;
  margin-bottom: 10px;
}

.closing {
  font-weight: bold;
  color: #333;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}



/* ==========================
   ABOUT SECTION
========================== */
.about {
  background: #f4f3f3;
  padding: 60px 20px;
  text-align: center;
}

.about h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 15px;
}

.about p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 10px auto;
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}

.about ul li {
  margin: 10px 0;
  font-size: 1rem;
  color: #444;
}

.about img {
  border-radius: 100%;
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgb(0, 51, 255);
}

.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s;
}

.btn:hover {
  background: #65b719;
}


/* ==========================
   PRODUCTS PAGE
========================== */
.products {
    padding: 60px 10%;
    text-align: center;
    background: #a5c3e2;
}

.products h1 {
    font-size: 2em;
    color: #222;
    margin-bottom: 10px;
}

.products p {
    color: #fcf9f9;
    margin-bottom: 40px;
    font-size: 1.4em;
}

/* Highlight the “Free Delivery” line */
.products p:nth-of-type(2) {
    background: #ffb400;
    color: #000;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, #FFD700, #FF8C00, #FF4500);

    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover Effect */
.product-card:hover {
    transform: scale(1.05);

}

/* Product Images */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 25px rgb(0, 51, 255);
}

/* Product Text */
.product-card h2 {
    font-size: 1.2em;
    margin: 15px 0 8px;
}

.product-card p {
    font-size: 0.95em;
    line-height: 1.4;
}

/* Price Tag */
.price {
    display: inline-block;
    margin-top: 12px;
    background: #ffb400;
    color: rgba(0, 0, 0, 0.854);
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 1.05em;
    transition: 0.3s ease;
}

.price:hover {
    background: #ffcc33;
}

/* Improve Text Contrast on Gradient Cards */
.product-card h2, 
.product-card p, 
.price {
    color: #f9fafcfd;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ==========================
   FOOTER
========================== */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        display: inline-block;
        margin: 10px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .products {
        padding: 40px 5%;
    }

    .product-card img {
        height: 160px;
    }
}
/* ========== HOME PAGE PRODUCTS PREVIEW ========== */
.home-products {
    padding: 60px 10%;
    background: #d7a4a4eb;
    text-align: center;
}

.home-products h2 {
    font-size: 1.7em;
    color: #222222f3;
    margin-bottom: 10px;
}

.home-products p {
    color: #fafafa;
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* Hide prices for home preview */
.home-products .price {
    display: none;
}

/* Make “View Details” button smaller */
.home-products .btn {
    padding: 8px 20px;
    font-size: 0.95em;
    margin-top: 10px;
}

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

.contact {
    padding: 80px 10%;
    background: linear-gradient(135deg, #66bb6a, #a8e063); /* Softer green gradient */
    text-align: center;
    color: #1a1a1a;
    margin-top: 60px;
    border-top: 5px solid #4caf50;
}

.contact h2 {
    font-size: 2.2rem;
    color: #1b1b1b;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #2f2f2f;
    line-height: 1.7;
}

.contact-info {
    background: linear-gradient(135deg, #1f3c88, #2f6db0); /* Deep blue gradient */
    padding: 40px 20px;
    margin: 30px auto;
    border-radius: 16px;
    color: #fdfdfd;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #ffcc33;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-info ul {
    list-style: none;
    line-height: 1.9;
    margin: 0;
    padding: 0;
}

.contact-info li {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.contact-info i {
    color: #ffcc33;
    margin-right: 10px;
    transition: color 0.3s;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover,
.contact-info i:hover {
    color: #4cff5d;
}
/* ==========================
   FLOATING WHATSAPP BUTTON
========================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: bounceIn 1s ease-in-out;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0.8; }
}

