/* CSS Variables for Color Theme - UPDATED FOR HEALTH/DRY FRUITS */
:root {
  /* Natural colors for dry fruit health products */
  --primary-color: #5e682e; /* Natural brown - almonds, dates color */
  --secondary-color: #D4A76A; /* Light golden - honey, dry fruits */
  --accent-color: #A8C686; /* Healthy green - pistachio, wellness */
  --light-bg: #FFF9F0; /* Light creamy background */
  --medium-bg: #F5EFE6; /* Medium cream */
  --dark-text: #3E2723; /* Dark brown for text - chocolate color */
  --light-text: #8D6E63; /* Light brown for secondary text */
  --white: #FFFFFF;
  
  /* Theme colors for sections */
  --female-color: #F8BBD0; /* Soft pink */
  --male-color: #90CAF9; /* Soft blue */
  --family-color: #A8C686; /* Healthy green */
  --section-bg: #FFF9F0; /* Light background for sections */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

h1 {
  font-size: 80px;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
    color: #ffffff;
    font-size: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Buttons - UPDATED */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  background-color: var(--primary-color);
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(156, 124, 90, 0.2);
}

.female-btn {
  background-color: var(--female-color);
  color: var(--dark-text);
  border-color: var(--female-color);
}


.male-btn {
  background-color: var(--male-color);
  color: var(--dark-text);
  border-color: var(--male-color);
}

.family-btn {
  background-color: #ffffff;
  color: #5e682e;
  border-color: #5e682e;
}

.female-btn:hover {
  background-color: transparent;
  color: #D81B60;
}

.male-btn:hover {
  background-color: transparent;
  color: #1976D2;
}

.family-btn:hover {
  background-color: #5e682e;
  color: #ffffff;
  border-color: #ffffff;
}



/* Banner Slider */
.banner-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides-container {
  display: flex;
  margin-top: -80px;
  height: 100%;
  width: 300%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
  width: 33.333%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 100px;
  position: relative;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback background colors if images don't load */
.female-slide {
  background: url("./image/female-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.male-slide {
  background: url("./image/male-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.family-slide {
  background: url("./image/family-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title p {
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

/* PRODUCT SLIDER WITH ARROWS - NEW */
.product-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  padding: 0 10px;
}

.slider-arrow {
  background-color: rgba(156, 124, 90, 0.9);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.product-slider {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  padding: 20px 0;
  scroll-behavior: smooth;
  animation: fadeIn 1s ease-out;
  transition: transform 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Product Cards - UPDATED */
.product-card {
  flex: 0 0 360px;
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
  transition: all 0.4s ease;
  animation: cardFloat 3s ease-in-out infinite alternate;
}

@keyframes cardFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.product-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(156, 124, 90, 0.15);
}

.product-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h2 {
  font-size: 1.3rem;
  padding: 20px 20px 10px;
  color: #000000;
}

.product-card p {
  padding: 0 20px;
  color: #656565;
  font-size: 0.95rem;
}

.price-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-top: 15px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.price-cart button {
  background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-cart button:hover {
  background-color: #000000;
  color: white;
}

/* Female Section - UPDATED */
.female-section {
  background-color: rgba(248, 187, 208, 0.05);
}

/* About Section - UPDATED */
.about {
  background: #5e682e;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-text h3 span {
  color: #ffffff;
}

.about-image {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  height: 550px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(156, 124, 90, 0.1);
  animation: imageFloat 4s ease-in-out infinite alternate;
}

@keyframes imageFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-15px);
  }
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single Product Section - UPDATED */
.single-product-content {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.single-product-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(156, 124, 90, 0.1);
}

.single-product-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.single-product-image:hover img {
  transform: scale(1.05);
}

.product-details {
  flex: 1;
}

.features {
  margin: 25px 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: var(--accent-color);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

p.description {
  color: #5e682e;
}
/* Counter Section - UPDATED */
.counter {
  background: #5e682e;
  color: var(--white);
  padding: 100px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.counter-item {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  animation: counterPulse 2s infinite alternate;
}

@keyframes counterPulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.counter-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.counter-item i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.count {
  font-size: 3rem;
  font-weight: 700;
}

/* Reviews Section - UPDATED */
.reviews-container {
  display: flex;
  gap: 30px;
  padding: 20px 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}

.reviews-container::-webkit-scrollbar {
  display: none;
}

.review-slider {
  position: relative;
}

.review-card {
  min-width: 350px;
  background-color: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(156, 124, 90, 0.08);
  border-top: 4px solid var(--secondary-color);
  animation: reviewFloat 3s ease-in-out infinite alternate;
}

.review-card p {
  color: black;
  font-size: 16px;
}

@keyframes reviewFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.review-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(156, 124, 90, 0.15);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-right: 15px;
  font-weight: bold;
}

.review-stars {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.review-slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Blog Section Styles */
.blog {
  padding: 80px 0;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2c1810;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Blog Image - For actual images */
.blog-img {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

/* Blog Icon - For icon-based blogs (male-blog, family-blog) */
.blog-img.male-blog,
.blog-img.family-blog {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img.male-blog {
  background: linear-gradient(135deg, #2a6f97 0%, #1e4a6f 100%);
}

.blog-img.family-blog {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.blog-img.male-blog i,
.blog-img.family-blog i {
  font-size: 5rem;
  color: white;
  opacity: 0.8;
}

/* Blog Content */
.blog-content {
  padding: 25px;
}

.blog-date {
  color: #c17b4b;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-content h3 {
  font-size: 1.3rem;
  color: #2c1810;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #c17b4b;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 10px;
  color: #a5673a;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog {
      padding: 60px 0;
  }
  
  .section-title h2 {
      font-size: 2rem;
  }
  
  .blog-grid {
      grid-template-columns: 1fr;
  }
  
  .blog-img {
      height: 200px;
  }
}

@media (max-width: 480px) {
  .blog-content {
      padding: 20px;
  }
  
  .blog-content h3 {
      font-size: 1.2rem;
  }
}

/* Footer - UPDATED */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-links li i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-links li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.newsletter-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    width: 95%;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .slide {
    padding: 0 50px;
  }
  
  .product-card {
    flex: 0 0 320px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.3rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .about-content,
  .single-product-content {
    flex-direction: column;
  }

  .slide {
    padding: 0 30px;
  }

  .product-card {
    flex: 0 0 300px;
  }

  .image-placeholder {
    height: 400px;
  }

  nav ul {
    gap: 20px;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(156, 124, 90, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav ul li {
    margin: 5px 0;
  }

  .slide {
    padding: 0 20px;
  }

  .counter-item {
    padding: 20px;
  }

  .product-card {
    flex: 0 0 280px;
  }

  .header-actions {
    gap: 15px;
  }

  .count {
    font-size: 2.5rem;
  }

  .review-card {
    min-width: 300px;
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .product-slider-arrows {
    padding: 0 5px;
    max-width: 100%;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 60px 0;
  }

  .banner-slider {
    height: 100vh;
    margin-bottom: -140px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .slider-nav{
    bottom: 160px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    padding: 10px 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
  }
  .counter {
    padding: 30px 0;
}
p {
  font-size: 12px;
}
  .product-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .product-card {
    flex: 0 0 360px;
  }

  .footer-grid {
    gap: 30px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .review-card {
    min-width: 350px;
    padding: 20px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-text p {
    font-size: 14px;
    text-align: center;
}

  .counter-item {
    padding: 15px;
  }
  
  .about-text h3 {
    text-align: center;
}
  .count {
    font-size: 2rem;
  }
  
  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }

  .slide {
    padding: 0 15px;
  }

  .product-card {
    flex: 0 0 100%;
  }

  .product-card img {
    height: 360px;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}









