
/* Full Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  padding-top: 100px;
  margin: 0;
  line-height: 1.5;
}

#topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.9s ease;
}


/* Header Container */
.main-header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  width: 100%;
  height: 100px;  
  z-index: 1000;
  background-color: #007244;
  color: #007244;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.9s ease-in-out;
  will-change: transform;

}

.header-container {
  
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 100px;
  padding: 0 20px;
}

/* Left Menu */
.header-left .main-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header-left .main-menu li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}
.header-left .main-menu li a:hover {
  color: #ffeb3b;
}

/* লোগো একদম মাঝখানে আনার জন্য absolute */
.logo-center {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
}


.header-left {
  display: flex;
  align-items: center;
  z-index: 2;
}


.logo img {
  height: 120px;
}

.logo {
  height: 120px;
  cursor: center;
  padding: 0;
  margin: 0;
   
}

/* Right Side: Search & Cart */

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  z-index: 2;
}
.search-container {
  position: relative;
  width: 180px;
}
.search-input {
  width: 100%;
  padding: 6px 30px 6px 10px;
  border: none;
  border-radius: 4px;
}
.search-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #333;
}
.cart-icon {
  color: white;
  font-size: 24px;

.cart-icon i {
  font-size: 24px;
  color: white;
}

}/* Transparent Header */
.transparent-header {
  background: transparent;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

.menu li {
  margin: 10px 0;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-wrapper {
  position: absolute;
  display: inline-block;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  display: none;
  z-index: 1000;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* মেনু দেখানোর জন্য JS class */
.menu.show {
  display: block;
}

.menu ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* মূল hover সিলেক্টর */
.menu ul li a:hover {
  background-color: #007244;  /* আপনার পছন্দের রঙ */
  color: #fff;                /* টেক্সট সাদা হবে */
  border-radius: 4px;
}

/* ক্লিক-টগল স্টেটে hover */
.menu.show ul li a:hover {
  background-color: #000080;
  color: #fff;
}

.main-navbar .menu {
  list-style: none;
  align-items: center;
  display: flex;
  gap: 18px;
}

.main-navbar .menu li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.main-navbar .menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffeb3b;
}

.main-navbar .menu li a.active {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Search and Cart */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header {
  display: flex;
  justify-content: center; /* মাঝখানে আনবে */
  align-items: center;
  background-color: #009688;
  padding: 15px 20px;
}

.search-container {
  position: relative;
  width: 200px;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 10px;
  font-size: 14px;
  border-radius: 4px;
  border: none;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}
/* Cart Icon */
.cart-icon {
  color: white;
  font-size: 30px;
  margin-right: 30px;
}


/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #009688;
  padding: 20px 20px;
  position: relative;
}




/* Dropdown মেনু */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 180px;
}



.nav-links ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.nav-links ul li {
  padding: 8px 12px;
}

.nav-links ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
  padding: 8px 12px;
}

.nav-links ul li a:hover {
  background-color: #007244;
  color: #fff;
  border-radius: 5px;
}


/* মেনু দেখানোর জন্য toggle */
.nav-links.active {
  display: block;
}

.nav-links ul li a.active {
  color: #ffeb3b;
}

.nav-links ul li {
  margin: 5px 0;
}


.nav-links li {
  margin: 8px 0;
}


.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}


/* JavaScript থেকে active class দিলে দেখাবে */
.nav-links.show {
  display: block;
}

/* Hover করলে দেখাবে */
.hamburger-wrapper:hover .nav-links {
  display: block;
}

.hamburger-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1001;
}


.hamburger {
  font-size: 26px;
  color: #000;
  background: #f0f0f0;
  padding: 1px 7px;
  cursor: pointer;
  z-index: 1001;
}


}


/* Desktop: Show menu normally, hide hamburger */
@media screen and (min-width: 768px) {
  .nav-links {
    display: none;
  }
}
  .nav-links ul {
    display: flex;
    gap: 20px;
  
}
.container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-left: 20px;
}




.site-title h1 {
  margin: 0;
  font-size: 28px;
}

.site-title p {
  margin: 0;
  font-size: 16px;
  color: #d0f0dd;
}
.hero {
  background-color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 32px;
  color: #007244;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #555;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

.whatsapp-button:hover {
  background-color: #1da851;
}

.product-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

.product-section h3 {
  font-size: 24px;
  color: #222;
  margin-bottom: 10px;
}

.product-section p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #444;
}

.product-box {
  display: flex;
  justify-content: center;
}

.product-image {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-form-section {
  padding: 40px 20px;
  background-color: #ffffff;
  max-width: 500px;
  margin: auto;
}

.order-form-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.order-form {
  display: flex;
  flex-direction: column;
}

.order-form label {
  margin-bottom: 10px;
  font-weight: bold;
}

.order-form input,
.order-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.order-form button {
  background-color: #007244;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.order-form button:hover {
  background-color: #005f36;
}

.features {
  background-color: #e8f5e9;
  padding: 40px 20px;
  text-align: center;
}

.features h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #006633;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  font-size: 18px;
  color: #333;
}

.site-footer {
  background-color: #222;
  color: #ffffff;
  padding: 30px 20px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  max-width: 100%;
  box-sizing: border-box;
}

.site-footer p {
  margin: 5px 0;
  color: #ffffff !important;

}

.site-footer strong {
  color: #ffffff; /* bold অংশগুলোও সাদা */
}

.footer-social-icons a {
  color: #ffffff;
  background-color: #444;
}

.footer-social-icons a:hover {
  background-color: #ffc107;
  color: #000;
}

.features,
.site-footer {
  width: 100%;
  box-sizing: border-box;
  adding: 40px 20px;
  overflow: hidden;
}

.products-grid-section {
  padding: 40px 20px;
  background-color: #fefefe;
  text-align: center;
}

.products-grid-section h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #006633;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-content: center;
}


.order-btn:hover {
  background-color: #005e36;
}


/* মাঝখানের শিরোনাম */
.title-link {
  text-decoration: none;
  color: white;
}

.site-title {
  text-align: center;
  margin: 0 auto;
}
.site-title h1 {
  margin: 0;
  font-size: 32px;
}

.site-title p {
  margin: 0;
  font-size: 16px;
  color: #d0f0dd;
}

.product-card img {
  width: 100%; /* বক্সের ভিতরে পুরোপুরি ফিট হবে */
  height: 220px; /* নির্দিষ্ট উচ্চতা */
  object-fit: contain; /* ছবির আকৃতি নষ্ট না করে ফিট করবে */
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 2px;
  line-height: 1.1 !important; /* নিশ্চিতভাবে প্রাধান্য পাবে */
}

.product-card p {
  font-size: 15px;
  margin-top: 2px;
  margin-bottom: 2px;
  line-height: 1.1 !important; /* নিশ্চিতভাবে প্রাধান্য পাবে */
}

.order-btn {
  margin-top: 6px;
  background-color: #009688;
  color: white;
  padding: 6px 10px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 5px;
}
.product-card {
  background-color: #fff8e1; /* white এর বদলে সুন্দর হালকা হলুদ */
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* আগের 20px থেকে কমিয়ে 10px */
  justify-content: center;
}

.home-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #555;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
}
.home-btn:hover {
  background-color: #333;
}


 

.details-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background-color: #f2f2f2;
  padding: 40px 20px;
}

.details-card {
  background-color: #fff;
  max-width: 800px;
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.details-card h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #009688;
}

.details-card p {
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.7;
  color: #333;
}

/* Top Info Bar */
.top-info-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #000;
  color: #fff;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1001;
  transition: transform 0.9s ease-in-out;
  will-change: transform;

}



.left-info {
  display: flex;
  align-items: center;
  font-weight: bold;
  flex-wrap: wrap;
  gap: 6px;
}

.call-link {
  color: #ffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.call-link i {
  font-size: 14px;
}

.call-link:hover {
  color: #00e676;
}

.right-info a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
  font-size: 16px;
}

.right-info i:hover {
  color: #00e676;
}

@media (max-width: 768px) {
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 15px;
    min-height: 100px;
  }

  .header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .logo-center .logo {
    height: 100px;
  }



  .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
  }

  .search-container.desktop-only {
    display: none !important;
  }

  .search-icon-mobile,
  .cart-icon {
    display: flex;
    align-items: center;
  }

  .search-icon-mobile i,
  .cart-icon i {
    font-size: 20px;
    color: #fff;
    margin-top: 10px;
  }

  .hamburger {
    font-size: 24px;
    color: #000;
    cursor: pointer;
    margin-top: -4px;
  }

  .menu {
    display: none;
  }
}


/* Desktop fallback (already set) */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}

/* ডিফল্ট (ডেস্কটপ): টপ সোস্যাল আইকন দেখা যাবে, ফুটারেরটা লুকানো থাকবে */
.top-social-icons {
  display: flex;
  gap: 10px;
}
.footer-social-icons {
  display: none;
}

/* মোবাইলের জন্য পরিবর্তন */
@media (max-width: 768px) {
  .top-social-icons {
    display: none;
  }
  .footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
}

/* সোস্যাল আইকনের স্টাইল */
.top-social-icons a,
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #444;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
   z-index: 1001;

}

/* Hover effect */
.top-social-icons a:hover,
.footer-social-icons a:hover {
  background-color: #ffc107; /* সুন্দর হলুদ রঙ */
  color: #000; /* কালো রঙ */
  transform: scale(1.1); /* হালকা বড় হবে */
}

@media (max-width: 1000px) {
  .top-info-bar .left-info {
    font-size: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  .top-info-bar {
    margin-bottom: 0 !important;
    padding-bottom: 6px !important;
  }

  .main-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .header-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body {
    padding: 0 !important;
    margin: 0 !important;
  }
}


/* মোবাইলের জন্য ফিক্সড হেডার এবং টপ বার */
@media (max-width: 768px) {
  .top-info-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
  }

  .main-header {
    position: fixed;
    top: 27px; /* টপবারের উচ্চতা */
    width: 100%;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #007244;
  }

  body {
    padding-top: 120px !important; /* 40px (top bar) + 90px (header approx) */
    margin: 0 !important;
  }
}


@media (max-width: 768px) {
  .main-header {
    top: 40px;
  }

  body {
    padding-top: 140px;
  }

  .logo-center {
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.top-info-bar,
.main-header {
  transition: transform 0.9s ease-in-out;
  will-change: transform;
}

/* Parent menu item */
.has-flyout {
  position: relative;
}

.has-flyout > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s;
}

/* Flyout submenu */
.flyout-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  list-style: none;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 200px;
  border-radius: 4px;
}

.flyout-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.flyout-menu li a:hover {
  background: #007244;
  color: white;
  border-radius: 4px;
}

/* Show on hover (desktop) */
@media (min-width: 768px) {
  .has-flyout:hover .flyout-menu {
    display: block;
  }
}

/* Mobile view support */
@media (max-width: 767px) {
  .has-flyout .flyout-menu {
    position: relative;
    left: 0;
    top: 0;
    padding-left: 20px;
    display: none;
    background: #f8f8f8;
    box-shadow: none;
    border-left: 2px solid #ccc;
  }

  .has-flyout.active .flyout-menu {
    display: block;
  }

  .has-flyout > a .arrow {
    transform: rotate(90deg);
  }
}