/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding-top: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease forwards;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 4rem;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease forwards 0.3s;
}

.hero-image img {
    width: 110%;
    height: auto;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
}

.hero p {
    font-size: 1rem;
    color: #4a4a4a;
    margin: 2rem 0;
    text-align: justify;
}
.floating-food {
  position: absolute;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(100px, -100px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
/* UNBS button */
.certifications {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.certification {
    padding: 8px;
}

.certification i {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2b6cb0;
}

.certification img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Updated Modal CSS */
.hero-certification-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.hero-certification-modal-content {
  background-color: #fefefe;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-certification-modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-certification-modal-close:hover {
  color: #333;
}

.hero-certification-modal-content h2 {
  margin-bottom: 1rem;
  color: #333;
}

.hero-certification-modal-content ul {
  padding-left: 2rem;
  margin-top: 1rem;
}
.hero-certification-modal-content li {
  margin-bottom: 10px;
}
.hero-certification-learn-more{
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-certification-learn-more:hover .arrow-icon {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 2rem;
    max-width: 400px;
  }

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

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

  .certifications {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
/* Mobile-specific adjustments */
@media screen and (max-width: 600px) {
  .hero-certification-modal {
      padding: 0.5rem;
  }

  .hero-certification-modal-content {
      width: 95%;
      padding: 1rem;
      margin: 0;
      border-radius: 8px;
  }

  .hero-certification-modal-close {
      top: 5px;
      right: 10px;
      font-size: 1.8rem;
  }

  .hero-certification-modal-content h2 {
    margin-top: 1rem;
      font-size: 1.2rem;
  }

  .hero-certification-modal-content p {
      font-size: 0.9rem;
  }

  .hero-certification-modal-content ul {
      padding-left: 1rem;
  }

  .hero-certification-modal-content ul li {
      font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-certification-modal-content {
      width: 100%;
      height: 100%;
      border-radius:8px;
      max-height: none;
      overflow-y: auto;
  }
}

/* Brands Section */
.brands-section {
  padding: 2rem 0;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brand-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.image-container {
  position: relative;
  padding-top: 77%; /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.brand-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-image {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.brand-description {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.learn-more:hover {
  color: #1d4ed8;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.learn-more:hover .arrow-icon {
  transform: translateX(4px);
}

/* Animation Classes */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Features Grid */
.features-section{
    padding: 2rem 0;
    background: white;
    text-align: center;
}
.features h2{
    color: var(--primary);
    font-size: 2.5 rem;
    padding-top: 2rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem ;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 10px;
    background: whitesmoke;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text);
    text-align: justify;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-card h3{
    color: var(--text);
    padding-bottom: 1rem;
}
.feature-card p{
    color: var(--text);
}

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

/* Creators Section */
#creators {
    text-align: center;
    background: whitesmoke;
}

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

.creator {
    padding: 2rem;
    background: var(--background);
    border-radius: 10px;
    transition: transform 0.3s;
}
.vision-text {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    color: var(--text);
}


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

/* Additional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
}
@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
