/* ===== VARIABLES ===== */
:root {
  --green: #0b6837;        /* Primary Green */
  --accent: #b2cc44;       /* Secondary Color */
  --gray: #f5f5f5;
  --gray2: #dbd9d9;
  --white: #ffffff;
  --text: #333;
  --font: 'Roboto', sans-serif;
}

/* ===== RESET ===== */
* {
  margin: 0px;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--gray);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
/* ===== REUSABLE CLASSES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}  

.section {
  padding: 4rem 0;
}

.section__title {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--green);
  text-align: left; /* ✅ Align left to match logo */
}

.section__title2 {
  text-align: center;
}

.subtitle-left {
  text-align: left;
}

/* Base Button Style (shared) */
.btn {
padding: 0.75rem 1.5rem;
font-weight: bold;
border-radius: 10px;
text-decoration: none;
display: inline-block;
transition: background 0.3s ease, transform 0.2s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === Primary Green Button === */
.btn-primary {
background: var(--green);
color: var(--white);
}

.btn-primary:hover {
background: #09552d;
}

/* === Accent Button (Lime) === */
.btn-accent {
background: var(--accent);
color: var(--green);
}

.btn-accent:hover {
background: #d0e46c;
}

/* === Yellow Button === */
.btn-yellow {
background: #fdd835;
border-radius: 25px;
color: var(--green);
}

.btn-yellow:hover {
background: #ffee58;
}

.btn-sm {
font-size: 0.85rem;
font-weight: normal;
padding: 0.5rem 0.5rem;
}

.highlight {
color: var(--accent);
font-weight: bold;
}


/* ===== NAVBAR ===== */
.navbar .container {
  display: flex;
  justify-content: space-between; /* Ensures logo and nav go to opposite sides */
  align-items: center;
}

.navbar .container {
  position: relative; /* ⬅️ This anchors the dropdown correctly */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}  

.navbar {
  background: var(--green);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav__links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav__links a.active,
.nav__links a:hover {
  border-bottom: 2px solid var(--accent);
}


/* ==== Dropdown Container ==== */
.nav__links .dropdown {
  position: relative;
}

/* ==== Dropdown Menu Styling ==== */
.nav__links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 0.5rem 0;
  min-width: 160px;
  flex-direction: column;
}

/* Dropdown items */
.nav__links .dropdown-menu li {
  display: block;
}

.nav__links .dropdown-menu a {
  padding: 0.7rem 1.2rem;
  display: block;
  color: #333;
  white-space: nowrap;
}

/* Dropdown icon (optional caret) */
.nav__links .dropdown > a i {
  margin-left: 6px;
  font-size: 0.75rem;
}


/* ==== Show dropdown on desktop hover ==== */
@media (min-width: 769px) {
  .nav__links .dropdown:hover .dropdown-menu {
    display: block;
  }
}
/* ==== Show dropdown on mobile when <li> has .open ==== */
.dropdown.open .dropdown-menu {
  display: block;
}

/* Icon rotate animation */
.dropdown-toggle i {
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle i {
  transform: rotate(180deg);
}


/* ===== HERO ===== */
.hero {
  margin-top: 50px;
  position: relative;
  height: 85vh; /* Reduced from 100vh */
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.8)
}


.hero__slider {
  position: relative;
  height: 100%;
}


.hero__image.active {
  display: block;
}

.hero__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--accent);
  width: 100%;
}  

.hero_caption {
  color: var(--white);
}
.hero_sub {
  font-weight: 100;
}
.hero__text .container {
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.hero__text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero__text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero__text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; /* Above overlay */
  color: white;
  width: 100%;
  opacity: 0;
  animation: fadeUp 1.5s ease forwards 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
  }
}


/* simple hero for other pages*/
.hero--simple {
  position: relative;
  margin-top: 10px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero--simple .container {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left; /* <-- Add this */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* <-- Add this */
  justify-content: center;
  height: 100%;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* 🔧 try different percentages */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5);
}


.hero__title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.1rem;
}




/* ===== Hero slider ===== */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 2rem;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.9);
}

.slider-arrow.left {
  left: 15px;
}

.slider-arrow.right {
  right: 15px;
}


/* ===== Filters ===== */

.filters {
  background: #ffffff;
  padding: 1.7rem 0;
  border-top: 5px solid #e5e5e5;
  border-bottom: 5px solid #e5e5e5;
}

.filter__group {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.filter__group .btn {
padding: 0.9rem 1.8rem;
border-radius: 10px;
border: none; /* ✅ Explicitly removes the black border */
background-color: var(--gray2);
color: var(--green);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
cursor: pointer;
}

.filter__group .btn:hover {
background-color: #d0e46c;
}


/* ===== Why shop us ===== */
.feature {
position: relative;
transition: transform 0.3s ease;
cursor: pointer;
}

.feature:hover {
transform: translateY(-5px) scale(1.05);
}

.feature i {
transition: transform 0.3s ease;
}

.feature:hover i {
animation: pulse 0.6s;
}

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



/* ===== Our Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service__card {
  background: white;
  padding: 5rem 1.5rem;
  border-radius: 50px 10px 50px 10px; /* top-left, top-right, bottom-right, bottom-left */;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service__card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal; /* Removes the bold */
}


.service__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service__card i {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 1rem;
}


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

.about {
  background-color: #f1fcde;
  padding: 7rem 0;
}

.about__content {
  display: flex;
  flex-wrap: wrap;
  align-items: left; /* ✅ vertically centers content */
  gap: 2rem;
}


.about__text {
  flex: 1;
  padding-right: 2rem; /* Creates space from the image */
}

.about__text .btn {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  font-weight: normal;
}

.section__title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
  text-align: left; /* ✅ Align left to match logo */
}

.about__image {
  flex: 1;
}

.about__image img {
  width: 50%;
  border-radius: 25px;
}

.about__image {
  position: relative;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  height: 350px; /* ⬅️ You can adjust this */
}

.image-wrapper img {
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 50px 25px 50px 25px;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: cover;
}


.image-outline {
  position: absolute;
  top: 35px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: 50px 10px 50px 10px;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  height: 450px;
}

.image-wrapper img {
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 50px 10px 50px 10px;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: cover;
}



/* ===== About Us Sections ===== */

.mission__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.mission__grid h3 {
color: var(--green);
margin-bottom: 0.5rem;
}

.mission__grid ul {
padding-left: 1rem;
}

.ceo__box {
background: #f4f4f4;
padding: 4rem;
border-left: 6px solid var(--accent);
font-style: italic;
border-radius: 10px;
}

.achievements__list {
list-style: none;
padding-left: 0;
font-size: 1rem;
}

.achievements__list li {
margin-bottom: 1rem;
position: relative;
padding-left: 1.5rem;
}

.achievements__list li::before {
content: "✔";
color: var(--accent);
position: absolute;
left: 0;
}

.partners__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1.8rem;
align-items: center;
justify-items: center;
}

.partners__track img {
max-width: 100px;
height: auto;
transition: transform 0.3s ease;
filter: none !important; /* 💥 Force remove grayscale */
}

.partners__track img:hover {
transform: scale(1.1);
}


/* ===== OUR STORY SECTION ===== */
.our-story {
  background-color: #ffffff;
  padding: 5rem 0;
}

.our-story .section__title {
  text-align: left;
  color: var(--green);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.our-story p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}



/* ===== MISSION & VISION ===== */
.mission-vision {
background-color: #f1fcde;
padding: 5rem 0;
}

.mission-vision .section__title.center {
text-align: left;
color: var(--green);
margin-bottom: 4rem;
}

.mv__content {
display: flex;
flex-direction: column;
gap: 2rem;
}

.mv__box {
background: white;
border-radius: 25px;
padding: 4rem;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease, opacity 0.4s ease;
}

.mv__box h3 {
color: var(--green);
margin-bottom: 1rem;
font-size: 1.5rem;
}

.mv__box p {
font-size: 1rem;
color: var(--text);
line-height: 1.6;
}

/* Responsive */
@media (min-width: 768px) {
.mv__content {
  flex-direction: row;
  justify-content: space-between;
}

.mv__box {
  width: 48%;
}
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in-up {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}

.fade-in-up.active {
opacity: 1;
transform: translateY(0);
}

/* ===== WHAT WE DO / SERVICES ===== */
.what-we-do {
background: #ffffff;
padding: 5rem 0;
}

.what-we-do .section__title.center {
text-align: left;
color: var(--text);
margin-bottom: 3rem;
}

.services__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 2rem;
}

.service__card {
background: #fafafa;
padding: 2rem;
border-radius: 16px;
text-align: center;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service__card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service__card i {
font-size: 2.5rem;
color: var(--accent);
margin-bottom: 1rem;
}

.service__card h3 {
font-size: 1.2rem;
color: var(--green);
margin-bottom: 0.5rem;
}

.service__card p {
font-size: 0.95rem;
color: var(--text);
line-height: 1.6;
}

/* ===== CEO MESSAGE SECTION ===== */
.ceo-message {
background-color: #f1fcde;
}

.ceo__grid {
display: flex;
flex-wrap: wrap;
gap: 5rem;
align-items: center;
}

.ceo__text {
flex: 1;
}

.ceo__text h2{
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.ceo__text p {
font-size: 1rem;
line-height: 1.7;
margin-bottom: 1.2rem;
color: #444;
}

.ceo__text .ceo-signature {
margin-top: 3rem;
color: var(--green);
}

.ceo__image {
  flex: 1;
  text-align: center;
  position: relative;
}

.ceo__image::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 6px;
  background-color: var(--accent);
  border-radius: 3px;
}


.ceo__image img {
width: 80%;
max-width: 500px;
border-radius: 50px 15px 50px 15px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements {
background-color: #ffffff;
}

.achievements__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 2rem;
text-align: center;
}

.achievement__item {
background: white;
padding: 2rem 1rem;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
transition: transform 0.3s ease;
}

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

.achievement__item i {
font-size: 2.5rem;
color: var(--green);
margin-bottom: 1rem;
}

.achievement__item h3 {
font-size: 2rem;
color: var(--accent);
margin-bottom: 0.5rem;
}

.achievement__item p {
font-size: 0.95rem;
color: #555;
}


/* ===== Partners Scrolling ===== */
.section__subtitle .section__title2 {
align-content: left;
}

.section__title.partners {
  color: var(--green);
}

.partners__scroll {
overflow: hidden;
position: relative;
width: 100%;
margin-top: 2rem;
}

.partners__track {
display: flex;
gap: 3rem;
animation: scrollLeft 30s linear infinite;
align-items: center;
}

.partners__track img {
height: 60px;
object-fit: contain;
filter: grayscale(100%);
transition: filter 0.3s ease;
}

.partners__track img:hover {
filter: none;
}

@keyframes scrollLeft {
0% {
  transform: translateX(0);
}
100% {
  transform: translateX(-50%);
}
}



/* ===== Gallery ===== */

.gallery__grid {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* important for absolute children */
  padding: 2rem 0;
}

.gallery__item {
  display: block;
  position: absolute;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Create variation */
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}




/* ===== Featured Products Section ===== */
.featured-products {
padding: 4rem 0;
background-color: #f9f9f9;
}

.section__title {
font-size: 2rem;
font-weight: bold;
color: #222;
margin-bottom: 0.5rem;
}

.section__subtitle {
font-size: 1.05rem;
color: var(--text, #555);
margin-top: -0.5rem;
margin-bottom: 1.2rem;
line-height: 1.5;
}

.featured-box {
background: #dfdfdf;
padding: 2rem 1rem;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

/* Flex row for scroll (desktop) */
.product-row {
display: flex;
flex-wrap: nowrap;
gap: 1rem;
width: max-content;
min-width: 100%;
}

/* Product card */
.product-col {
flex: 0 0 auto;
width: 250px;
min-width: 250px;
max-width: 250px;
background: #fff;
padding: 1.5rem;
display: flex;
flex-direction: column;
justify-content: space-between;
border-bottom: 4px solid var(--accent, #a1c349);
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.product-col:hover {
transform: translateY(-5px);
}

.product-col img {
width: 100%;
height: 180px;
object-fit: contain;
display: block;
margin-bottom: 1rem;
border-radius: 6px;
}

.product-col h3 {
font-size: 1rem;
font-weight: 600;
color: #333;
margin-bottom: 0.5rem;
}

.product-col p {
flex-grow: 1;
font-size: 0.9rem;
color: #444;
line-height: 1.5;
margin-bottom: 1.2rem;
}

.product-col .btn {
align-self: flex-start;
font-size: 0.85rem;
padding: 0.5rem 1.2rem;
margin-top: auto;
}

/* Optional scroll styling */
.product-row::-webkit-scrollbar {
height: 8px;
}
.product-row::-webkit-scrollbar-thumb {
background-color: var(--accent, #a1c349);
border-radius: 4px;
}
.product-row {
scrollbar-width: thin;
scrollbar-color: var(--accent, #a1c349) transparent;
}


/* =========Catalogue Grid & Cards Styles========= */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
justify-content: center;
max-width: 1100px;
margin: 0 auto;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 50px 15px 50px 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 420px;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem; /* creates space for button */
}

.card .btn-accent {
  font-size: 0.85rem;
  padding: 0.5rem 2rem;
  margin-top: auto;
  align-self: center;
}

.card img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 6px;
margin-bottom: 1rem;
}

.card h3 {
color: var(--light-green);
margin-bottom: 0.5rem;
}


.card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}





 /* ============ Order now ============= */
.order-form {
  max-width: 700px;
  margin: 2rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--green);
}

.order-form input,
.order-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.bulk-order-note {
  text-align: center;
  margin-top: 3rem;
}

.bulk-order-note p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.order-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
border: none;
padding: 1rem 3rem;
}

.btn-accent {
border: none;
font-size: 12px;
padding: 0.5rem 1rem;
margin-bottom: 1rem;
}
.whatsapp-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 999;
  display: none;
  max-width: 320px;
  animation: fadeIn 0.4s ease-in-out;
}

.whatsapp-popup .popup-content {
  position: relative;
  text-align: center;
}

.whatsapp-popup strong{
  font-size: 1.8rem;
}

.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #eee;
  border: none;
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background 0.3s;
}

.popup-close:hover {
  background: #ccc;
}

.popup-icon {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 1rem;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  margin-top: 1rem;
}

.btn-whatsapp i {
  margin-right: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.order-success-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content.centered {
  background: white;
  padding: 2rem 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: fadeInScale 0.4s ease-in-out;
}

.popup-icon.success {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #eee;
  border: none;
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background 0.3s;
}

.popup-close:hover {
  background: #ccc;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ====== Order Form: Product List Styling ====== */
#productList .product-row {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* spacing between each input */
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fdfdfd;
}


#productList label {
display: block;
margin-bottom: 0.4rem;
font-weight: 600;
color: var(--green);
}

#productList select,
#productList input {
width: 100%;
padding: 0.6rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 6px;
font-family: inherit;
font-size: 1rem;
}

.custom-product-name {
display: none;
}

.remove-product {
display: inline-block;
color: #c0392b;
font-size: 0.9rem;
font-weight: bold;
cursor: pointer;
margin-top: 0.5rem;
text-decoration: underline;
}

.remove-product:hover {
color: #e74c3c;
}

#addProduct {
display: inline-block;
background: var(--accent);
color: var(--green);
padding: 7rem 1.2rem;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
margin-bottom: 2rem;
}

.btn .btn-accent {
border: none;
}

#addProduct:hover {
background: #d0e46c;
}

/* =============== CONTACT PAGE =============== */
.contact__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
background: #fff;
padding: 2rem;
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.contact__form form,
.contact__info {
background: #fafafa;
padding: 1.5rem;
border-radius: 12px;
}

.contact__form h2,
.contact__info h2 {
margin-bottom: 1rem;
color: var(--green);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
width: 100%;
padding: 0.8rem;
margin-bottom: 1.2rem;
border: 1px solid #ddd;
border-radius: 6px;
}

.contact__info ul {
list-style: none;
padding: 0;
margin: 1rem 0;
}

.contact__info li {
margin-bottom: 0.7rem;
font-size: 0.95rem;
display: flex;
align-items: center;
}

.contact__info li i {
color: var(--accent);
margin-right: 0.6rem;
}

.business-hours p {
margin: 0.4rem 0;
font-size: 0.95rem;
}

.social-icons {
margin-top: 3rem;
}

.social-icons a {
margin-right: 3rem;
color: var(--green);
font-size: 1.3rem;
transition: color 0.3s ease;
}

.social-icons a:hover {
color: var(--accent);
}

.map-container {
margin-top: 3rem;
padding: 0;
border-radius: 12px;
overflow: hidden;
}

.contact__info {
padding-left: 2rem;
}

.contact__info h3 {
color: var(--green);
margin-bottom: 0.5rem;
}

.contact__info hr {
margin: 2rem 0;
border: none;
border-top: 1px solid #ccc;
}

.contact__info a {
color: var(--green);
text-decoration: none;
transition: color 0.3s ease;
}

.contact__info a:hover {
color: var(--accent);
text-decoration: underline;
}

.contact-success-popup-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}

.contact-success-popup-overlay .popup-content.centered {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
text-align: center;
max-width: 400px;
width: 90%;
position: relative;
animation: fadeInScale 0.4s ease-in-out;
}

.contact-success-popup-overlay .popup-icon.success {
font-size: 3rem;
color: #28a745;
margin-bottom: 1rem;
}

.contact-success-popup-overlay .popup-close {
position: absolute;
top: -12px;
right: -12px;
background: #eee;
border: none;
font-size: 1.3rem;
color: #555;
cursor: pointer;
width: 30px;
height: 30px;
border-radius: 50%;
transition: background 0.3s;
}

.contact-success-popup-overlay .popup-close:hover {
background: #ccc;
}

@keyframes fadeInScale {
from {
  opacity: 0;
  transform: scale(0.9);
}
to {
  opacity: 1;
  transform: scale(1);
}
}


/* ============== PROJECTS =============== */

.project__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.5rem;
margin-top: 2rem;
}

.project__item {
background: #fff;
border-radius: 25px;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
display: flex;
flex-direction: column;
}

.project__item img {
width: 100%;
height: 220px;
object-fit: cover;
}

.project__content {
padding: 2.5rem;
}

.project__content h3 {
margin-bottom: 1rem;
color: var(--green);
}

.project__content p {
font-size: 0.95rem;
line-height: 1.5;
margin-bottom: 1rem;
}

/* Specific tweaks per page */
.hero--projects .hero__bg {
object-position: center 70%;
}


@media (max-width: 768px) {
.project__grid {
  grid-template-columns: 1fr;
}
}


/* ===== why shop us===== */
.why-shop {
background-color: #f9f9f9;
padding: 4rem 0;
text-align: center;
}

.why-shop .section__title2 {
font-size: 2rem;
margin-bottom: 2.5rem;
color: var(--green);
}

.why-shop__features {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4rem;
}

.feature {
flex: 1 1 200px;
max-width: 250px;
background: white;
border-radius: 25px;
padding: 2rem 1rem;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease;
}

.feature i {
font-size: 2rem;
color: var(--accent);
margin-bottom: 1rem;
}

.feature p {
font-size: 1.1rem;
color: var(--text);
font-weight: 500;
}

.feature:hover {
transform: translateY(-8px);
}


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

.blog__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.5rem;
margin-top: 2rem;
}

.blog__item {
background: #fff;
border-radius: 25px;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
display: flex;
flex-direction: column;
}

.blog__item img {
width: 100%;
height: 220px;
object-fit: cover;
}

.blog__content {
padding: 2.5rem;
}

.blog__content h3 {
margin-bottom: 1rem;
color: var(--green);
}

.blog__content p {
font-size: 0.95rem;
line-height: 1.5;
margin-bottom: 1rem;
}

.blog__meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
font-size: 0.85rem;
color: #777;
flex-wrap: wrap;
}

.blog__meta i {
margin-right: 0.4rem;
color: var(--green);
}

.blog__date {
display: flex;
align-items: center;
}

.blog__tag {
background-color: var(--accent);
color: var(--green);
padding: 0.2rem 0.6rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
}

/* Specific tweaks per page */
.hero--projects .hero__bg {
object-position: center 70%;
}


@media (max-width: 768px) {
.blog__grid {
  grid-template-columns: 1fr;
}
}

/* ==== Blog Post Layout ==== */
.blog-post__content {
max-width: 800px;
margin: 0 auto;
font-size: 1rem;
line-height: 1.8;
color: #333;
}

.blog-post__content h2,
.blog-post__content h3 {
color: var(--green);
margin: 2rem 0 1rem;
}

.blog-post__content ul {
padding-left: 1.5rem;
margin: 1rem 0;
}

.blog-post__content ul li {
margin-bottom: 0.5rem;
}

/* ==== Fade-In on Load ==== */
.blog-post.fade-in-up {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-post.fade-in-up.visible {
opacity: 1;
transform: translateY(0);
}

/* ==== Tag Badge ==== */
.blog__tag {
background: var(--accent);
color: var(--green);
padding: 0.2rem 0.6rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
}

/* ==== Image with Caption ==== */
.blog-image-full {
margin: 2rem 0;
text-align: center;
}

.blog-image-full img {
width: 100%;
max-height: 400px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.blog-image-full .caption {
font-size: 0.9rem;
color: #777;
margin-top: 0.5rem;
}

/* ==== Highlight Quote Box ==== */
.blog-quote {
margin: 2rem 0;
padding: 1.5rem;
border-left: 6px solid var(--accent);
background: #f9f9f9;
font-style: italic;
font-size: 1.1rem;
border-radius: 8px;
}

/* ==== Downloadable Document Box ==== */
.blog-download {
background: #eef7e4;
padding: 1.5rem;
border-left: 4px solid var(--green);
border-radius: 10px;
margin: 2rem 0;
}

.download-link {
display: inline-block;
margin-top: 1rem;
font-weight: bold;
color: var(--green);
text-decoration: none;
}

.download-link i {
margin-right: 0.5rem;
}

/* ==== Buttons at Bottom ==== */
.blog-buttons {
margin-top: 3rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
}

/* ==== Hero-Style Image Slider ==== */
.blog-slider {
position: relative;
width: 100%;
max-width: 800px;
height: 400px;
margin: 3rem auto;
overflow: hidden;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider-track {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.6s ease-in-out;
}

.slider-track img {
width: 100%;
height: 100%;
object-fit: cover;
flex-shrink: 0;
}

/* ==== Manual Slider Buttons ==== */
.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.7);
border: none;
font-size: 1.2rem;
padding: 0.6rem;
cursor: pointer;
z-index: 10;
transition: background 0.3s;
}

.slider-btn:hover {
background: rgba(255, 255, 255, 1);
}

.slider-btn.left {
left: 15px;
}

.slider-btn.right {
right: 15px;
}


/* ===== FOOTER ===== */
.footer {
background: var(--green);
color: white;
padding: 3rem 0 2rem;
}

.footer__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 2rem;
}

.footer__column h4 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
color: var(--accent);
}

.footer__column ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer__column ul li {
margin-bottom: 0.6rem;
font-size: 0.95rem;
}

.footer__column ul li a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
}

.footer__column ul li a:hover {
color: var(--accent);
}

.footer__column ul li i {
margin-right: 0.5rem;
color: var(--accent);
}

.footer__column.contact {
margin-left: -30px; /* Adjust value as needed */
}


/* Newsletter Signup */
.footer__newsletter p {
font-size: 0.9rem;
margin-bottom: 1rem;
}

#newsletterForm {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}











.newsletter-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

#newsletterForm {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

#newsletterForm input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  min-width: 200px;
}

.btn-newsletter {
  background: var(--accent);
  color: var(--green);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-newsletter:hover {
  background: #d0e46c;
}




/* newsletter success */
.newsletter-success-popup {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}

.newsletter-success-popup .popup-content {
background: white;
padding: 2rem 2rem 2.5rem;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
text-align: center;
max-width: 300px;
width: 90%;
position: relative;
animation: fadeInScale 0.4s ease-in-out;
}

.newsletter-success-popup .popup-icon.success {
font-size: 3rem;
color: #28a745;
margin-bottom: 1rem;
}

.newsletter-success-popup p {
font-size: 1rem;
color: #333;
}

.popup-close {
position: absolute;
top: -12px;
right: -12px;
background: #eee;
border: none;
font-size: 1.3rem;
color: #555;
cursor: pointer;
width: 30px;
height: 30px;
border-radius: 50%;
transition: background 0.3s;
}

.popup-close:hover {
background: #ccc;
}

@keyframes fadeInScale {
from {
  opacity: 0;
  transform: scale(0.9);
}
to {
  opacity: 1;
  transform: scale(1);
}
}


/* Contact Icons (upper section) */
.footer__socials {
margin-top: 1rem;
}

.footer__socials a {
color: white;
font-size: 1.2rem;
margin-right: 1rem;
transition: color 0.3s ease;
}

.footer__socials a:hover {
color: var(--accent);
}



/* ===== Footer Bottom Bar ===== */
.footer__bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.2);
margin-top: 2rem;
flex-wrap: wrap;
gap: 1rem;
}

.footer__bottom p {
margin: 0;
color: white;
font-size: 0.95rem;
}

/* Bottom Social Icons */
.footer__bottom-socials {
display: flex;
gap: 3rem;
}

.footer__bottom-socials a {
color: white;
font-size: 1.2rem;
transition: color 0.3s ease;
}

.footer__bottom-socials a:hover {
color: var(--accent);
}

.back-to-top {
text-align: right;
margin-top: 1.5rem;
}

.back-to-top .btn {
font-size: 0.95rem;
padding: 0.8rem 1.5rem;
margin-top: -2000px;
border-radius: 25px;
display: inline-flex;
align-items: right;
gap: 0.4rem;
background: var(--accent);
color: var(--green);
border: none;
cursor: pointer;
transition: background 0.3s ease;
}

.back-to-top .btn:hover {
background: #d0e46c;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about__content {
    flex-direction: column;
  }

  .hero__text h1 {
    font-size: 2rem;
  }

  .hero__text p {
    font-size: 1rem;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
  }
}
