:root {
  --aladay-50: #f0fdf6;
  --aladay-100: #dcfce9;
  --aladay-500: #3EAD61;
  --aladay-600: #339251;
  --aladay-700: #297642;
  --aladay-800: #215e35;
  --aladay-900: #1b4b2b;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img{
    height: auto;
    width: 180px;
}

.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: white;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.header.scrolled .nav-link {
  color: #374151;
}

.nav-link:hover,
.nav-link.active {
  color: var(--aladay-600);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aladay-500);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001; /* Ensure it's above other elements */
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
  background: #374151;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.nav-mobile.active {
  display: flex;
  background-color: #e3e3e3;
  border-radius: 11px;
}

.nav-link-mobile {
  text-decoration: none;
  font-weight: 500;
  color: black;
  padding: 10px 15px;
  border-radius: 8px;
  transition: var(--transition);
  background-color: ghostwhite;
}

.header.scrolled .nav-link-mobile {
  color: #374151;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
  /* background: rgba(255, 255, 255, 0.1); */
  color: var(--aladay-600);
}


/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--aladay-600), var(--aladay-500), #10b981);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-bg, .hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.1;
}

.hero-pattern::before, .hero-pattern::after {
  content: '';
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-pattern::before { top: 40px; left: 40px; width: 300px; height: 300px; }
.hero-pattern::after { bottom: 80px; right: 80px; width: 400px; height: 400px; }

.floating-cart, .floating-apple, .floating-carrot, .floating-leaf {
  position: absolute;
  font-size: 40px;
  animation: float 3s ease-in-out infinite;
  pointer-events: none;
}

.floating-cart { top: 80px; right: 10%; animation-delay: 0s; }
.floating-apple { top: 130px; left: 8%; font-size: 30px; animation-delay: 0.5s; }
.floating-carrot { bottom: 160px; left: 10%; font-size: 35px; animation-delay: 1s; }
.floating-leaf { top: 250px; right: 15%; font-size: 25px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.fresh-badge {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--aladay-800);
  font-size: 14px;
  animation: slideDown 0.8s ease-out 2s both;
}

@media (max-width: 600px) {
    .fresh-badge {
        height: 34px;
        top: 79px;
        left: 57%;
        line-height: 14px;
        font-weight: 600;
    }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--aladay-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) scale(0); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  z-index: 10;
  position: relative;
}

.hero-text {
  color: white;
  animation: slideInLeft 0.8s ease-out;
}

.hero-badges { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.emoji { font-size: 24px; }
.farm-fresh-badge { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); padding: 8px 16px; border-radius: 25px; font-size: 14px; font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.2); }

.hero-title { font-size: clamp(40px, 8vw, 80px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.groceries-line { color: rgba(255, 255, 255, 0.9); display: flex; align-items: center; gap: 20px; }
.delivered { background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-description { font-size: 20px; color: rgba(255, 255, 255, 0.9); line-height: 1.6; margin-bottom: 30px; max-width: 500px; }

.guarantee-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; padding: 20px; margin-bottom: 30px; display: flex; align-items: center; gap: 20px; }
.guarantee-icons { display: flex; gap: 10px; font-size: 20px; }
.guarantee-title { font-weight: 600; color: white; font-size: 16px; }
.guarantee-subtitle { color: rgba(255, 255, 255, 0.8); font-size: 14px; }

.app-store-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.app-store-btn { background: #000; color: white; padding: 12px 20px; border-radius: 15px; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: var(--transition); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.app-store-btn:hover { background: #1f1f1f; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
.app-store-icon { font-size: 24px; }
.download-text { font-size: 12px; opacity: 0.8; }
.store-name { font-size: 16px; font-weight: 600; }

.hero-phones { display: flex; justify-content: center; align-items: center; gap: 20px; animation: slideInRight 0.8s ease-out; }
.phone { width: 200px; height: 400px; background: white; border-radius: 30px; padding: 8px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); transition: var(--transition); }
.phone-1 { transform: rotate(12deg); animation: phoneFloat1 4s ease-in-out infinite; }
.phone-2 { transform: rotate(-6deg); animation: phoneFloat2 4s ease-in-out infinite 0.5s; }
.phone:hover { transform: rotate(0deg) scale(1.05); }

.phone-screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; position: relative; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: white; padding: 15px; font-size: 12px; font-weight: 500; }

@keyframes phoneFloat1 { 0%, 100% { transform: rotate(12deg) translateY(0px); } 50% { transform: rotate(12deg) translateY(-10px); } }
@keyframes phoneFloat2 { 0%, 100% { transform: rotate(-6deg) translateY(0px); } 50% { transform: rotate(-6deg) translateY(-15px); } }

.delivery-badge { position: absolute; bottom: 80px; right: 40px; background: white; border-radius: 50px; padding: 12px 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aladay-800); font-size: 14px; animation: slideInRight 0.8s ease-out 1.5s both; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 20px; animation: bounce 1.5s infinite; }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* About Section */
.about { padding: 100px 0; background: linear-gradient(to bottom, white, var(--aladay-50)); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(36px, 6vw, 48px); font-weight: 800; color: var(--aladay-800); margin-bottom: 20px; }
.section-header p { font-size: 18px; color: #6b7280; max-width: 800px; margin: 0 auto; line-height: 1.6; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 80px; }
.feature-card { background: white; border-radius: 24px; padding: 40px 30px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border: 1px solid var(--aladay-100); transition: var(--transition); text-align: center; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #10b981, var(--aladay-600)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; transition: var(--transition); }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 20px; font-weight: 700; color: var(--aladay-800); margin-bottom: 15px; }
.feature-card p { color: #6b7280; line-height: 1.6; }

.stats-card { background: white; border-radius: 24px; padding: 60px 40px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); border: 1px solid var(--aladay-100); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; color: var(--aladay-600); margin-bottom: 8px; }
.stat-label { color: #6b7280; font-weight: 500; }

/* Contact Section */
.contact { padding: 100px 0; background: linear-gradient(to bottom, var(--aladay-50), white); }
.contact-content { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.contact-info h3 { font-size: 24px; font-weight: 700; color: var(--aladay-800); margin-bottom: 30px; }
.contact-items { display: flex; flex-direction: column; gap: 30px; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-icon { width: 48px; height: 48px; background: var(--aladay-100); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-details h4 { font-weight: 600; color: var(--aladay-800); margin-bottom: 5px; }
.contact-details p { font-weight: 500; color: #1f2937; margin-bottom: 3px; }
.contact-details span { font-size: 14px; color: #6b7280; }
.why-choose { background: var(--aladay-100); border-radius: 20px; padding: 30px; }
.why-choose h4 { font-weight: 700; color: var(--aladay-800); margin-bottom: 15px; }
.why-choose ul { list-style: none; }
.why-choose li { color: var(--aladay-700); font-size: 14px; margin-bottom: 8px; }
.contact-form { background: white; border-radius: 24px; padding: 40px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); border: 1px solid var(--aladay-100); }
.contact-form h3 { font-size: 24px; font-weight: 700; color: var(--aladay-800); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; color: #374151; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 16px; transition: var(--transition); font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--aladay-500); box-shadow: 0 0 0 3px rgba(62, 173, 97, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; background: var(--aladay-600); color: white; border: none; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.submit-btn:hover { background: var(--aladay-700); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(62, 173, 97, 0.3); }
.submit-btn:disabled { background: #9ca3af; cursor: not-allowed; transform: none; }
.form-result { margin-top: 20px; padding: 15px; border-radius: 8px; font-weight: 500; text-align: center; }
.form-result.success { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.form-result.error { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

/* Policy Sections */
.policy-section { padding: 100px 0; background: white; }
.policy-section:nth-child(even) { background: var(--aladay-50); }
.last-updated { display: block; font-size: 14px; color: #6b7280; margin-top: 10px; }
.policy-content { background: var(--aladay-50); border-radius: 24px; padding: 40px; max-width: 800px; margin: 0 auto; }
.policy-item { margin-bottom: 40px; }
.policy-item:last-child { margin-bottom: 0; }
.policy-item h3 { font-size: 24px; font-weight: 700; color: var(--aladay-800); margin-bottom: 15px; }
.policy-item p { color: #374151; line-height: 1.7; margin-bottom: 15px; }
.policy-item ul { list-style: none; padding-left: 0; }
.policy-item li { color: #374151; margin-bottom: 8px; position: relative; padding-left: 20px; }
.policy-item li::before { content: '•'; color: var(--aladay-500); font-weight: bold; position: absolute; left: 0; }
.contact-details-policy { background: white; border-radius: 16px; padding: 20px; }
.contact-details-policy p { margin-bottom: 8px; color: var(--aladay-800); font-weight: 500; }

/* Footer */
.footer { background: var(--aladay-800); color: white; padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 24px; font-weight: 800; }
.logo-icon-footer { width: 40px; height: 40px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--aladay-800); font-weight: bold; }
.footer-brand p { text-align: left; color: var(--aladay-100); line-height: 1.6; max-width: 400px; }
.footer-links h4, .footer-contact h4 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--aladay-100); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--aladay-100); }
.footer-contact-item span:first-child { color: var(--aladay-500); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--aladay-700); color: var(--aladay-100); }
.footer-contact-item a{
    color: white;
    text-decoration: none;
}
.footer-contact-item img{
    height: 23px;
}

.footer-logo img{
    height: auto;
    width: 180px;
}
/* ==== RESPONSIVE DESIGN FIXES ==== */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: auto;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-phones {
    order: -1; /* Puts phones on top */
    margin-bottom: 30px;
    gap: 15px;
  }
  
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .phone {
    width: 140px;
    height: 280px;
  }

  /* Reset phone rotations for mobile */
  .phone-1, .phone-2, .phone:hover {
    transform: rotate(0deg);
    animation: none;
  }

  .floating-cart, .floating-apple, .floating-carrot, .floating-leaf {
    display: none;
  }
  
  .delivery-badge {
    display: none; /* Hide for cleaner mobile look */
  }

  .scroll-indicator {
    display: none; /* Hide for cleaner mobile look */
  }

  .contact-content { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand, .footer-links, .footer-contact { align-items: baseline; display: flex; flex-direction: column; }

  .stats-card { grid-template-columns: 1fr; gap: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  
  .section-header h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px;
}
  
  .hero-title { font-size: 36px; }
  .hero-description { font-size: 16px; }
  
  .app-store-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
  }

  .hero-phones {
      gap: 10px;
      margin-top: 22px;
  }

  .phone {
    width: 160px;
    height: 329px;
    border-radius: 20px;
  }
  .phone-screen {
      border-radius: 16px;
  }

  .contact-form { padding: 30px 20px; }
  .policy-content { padding: 30px 20px; }
  .stats-card { padding: 40px 20px;
}
}