@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-green: #0F6A3D;
  --dark-green: #0A4D2B;
  --light-green: #EAF5E7;
  --primary-yellow: #F4B223;
  --light-yellow: #FFF4D6;
  --white: #FFFFFF;
  --bg-color: #F8F9F7;
  --text-dark: #1E1E1E;
  --text-light: #666666;
  --border-color: #E5E5E5;
  
  /* Status Colors */
  --success: #0F6A3D;
  --warning: #F4B223;
  --error: #DC3545;
  
  /* Layout Values */
  --radius-button: 12px;
  --radius-card: 20px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  --font: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-green);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-yellow);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-button);
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(15, 106, 61, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: #D99A1C;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-green);
}

.logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  background-color: var(--light-green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  max-height: 450px;
  object-fit: cover;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards System */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-green);
}

/* Why Choose Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.why-us-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-us-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-us-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.why-us-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-us-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* Testimonials Carousel */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--primary-green);
}

.testimonial-stars {
  color: var(--primary-yellow);
  margin-bottom: 15px;
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 16px;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonials-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dot.active {
  background-color: var(--primary-green);
  width: 30px;
  border-radius: 6px;
}

/* Footer Section */
footer {
  background-color: #111827;
  color: #9CA3AF;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  color: var(--primary-yellow);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #9CA3AF;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-yellow);
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

/* Floating Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.floating-call {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(244, 178, 35, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-call:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(244, 178, 35, 0.5);
  color: var(--text-dark);
}

/* Forms & Authentication Screen Layout */
.auth-wrapper {
  min-height: calc(100vh - 80px - 350px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
}

.auth-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
  padding: 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 28px;
  color: var(--primary-green);
}

.auth-header p {
  color: var(--text-light);
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.password-strength {
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  transition: var(--transition);
}

.strength-weak { background-color: var(--error); width: 33.3%; }
.strength-medium { background-color: var(--warning); width: 66.6%; }
.strength-strong { background-color: var(--success); width: 100%; }

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 14px;
}

.auth-redirect {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}

/* Dashboard Layout */
.dashboard-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 80px);
}

.sidebar {
  background-color: var(--white);
  border-right: 1px solid var(--border-color);
  padding: 30px 20px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-button);
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
  background-color: var(--light-green);
  color: var(--primary-green);
}

.dashboard-content {
  padding: 40px;
  background-color: var(--bg-color);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.dashboard-title h2 {
  font-size: 28px;
  color: var(--primary-green);
}

.dashboard-title p {
  color: var(--text-light);
}

/* Dashboard Blocks */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.dashboard-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 30px;
}

.days-counter {
  text-align: center;
  padding: 20px;
}

.days-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
  margin-bottom: 10px;
}

.days-label {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}

.progress-container {
  margin: 20px 0;
}

.progress-bar-bg {
  background-color: var(--border-color);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  background-color: var(--primary-green);
  height: 100%;
  border-radius: 5px;
  transition: var(--transition);
}

/* Alert Notification Drawer Banner */
.alert-banner {
  padding: 15px 20px;
  border-radius: var(--radius-button);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.alert-banner-warning {
  background-color: var(--light-yellow);
  border-left: 5px solid var(--primary-yellow);
  color: #856404;
}

.alert-banner-success {
  background-color: var(--light-green);
  border-left: 5px solid var(--primary-green);
  color: var(--dark-green);
}

.alert-banner-error {
  background-color: #F8D7DA;
  border-left: 5px solid var(--error);
  color: #721C24;
}

/* Tabs & Filtering */
.tab-container {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

/* Orders and Lists */
.order-list-item {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.order-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-pending { background-color: var(--light-yellow); color: #856404; }
.status-preparing { background-color: #E6F0FA; color: #004085; }
.status-delivering { background-color: #E2F0D9; color: #385723; }
.status-delivered { background-color: var(--light-green); color: var(--dark-green); }
.status-failed { background-color: #F8D7DA; color: #721C24; }

/* FAQ List styling */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  transition: var(--transition);
}

.faq-header:hover {
  background-color: var(--bg-color);
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-light);
}

.faq-item.active .faq-content {
  padding: 0 24px 20px;
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Cart drawer page styling */
.cart-summary {
  background-color: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-button);
  overflow: hidden;
  max-width: 120px;
}

.quantity-btn {
  background: transparent;
  border: none;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: var(--bg-color);
}

.quantity-val {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonials Submission Form */
.rating-stars-input {
  display: flex;
  gap: 10px;
  font-size: 30px;
  color: var(--border-color);
  cursor: pointer;
}

.rating-stars-input i:hover,
.rating-stars-input i.active {
  color: var(--primary-yellow);
}

/* User Notification Bell component */
.notification-bell-container {
  position: relative;
  cursor: pointer;
}

.notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--error);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  width: 320px;
  background-color: var(--white);
  border-radius: var(--radius-button);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
  z-index: 1001;
  display: none;
  overflow: hidden;
}

.notification-dropdown.active {
  display: block;
}

.notification-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-color);
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  transition: var(--transition);
}

.notification-item:hover {
  background-color: var(--bg-color);
}

.notification-item.unread {
  background-color: var(--light-green);
}

.notification-item .time {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 5px;
}

/* Details table view style */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.info-table th, .info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  font-weight: 600;
  background-color: var(--bg-color);
}
