:root {
  --navy: #0b3d7a;
  --navy-dark: #082c58;
  --green: #1e9e4d;
  --gold: #f4b400;
  --teal: #0fa89a;
  --bg-soft: #eef6fc;
  --text-dark: #12203a;
  --text-muted: #5c6b82;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

section[id],
div[id] {
  scroll-margin-top: 90px;
}

h1,
h2,
h3,
h4,
.brand-font {
  font-family: 'Poppins', sans-serif;
}


/* ===== BUTTONS ===== */
.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: .3s ease;
}

.btn-navy:hover {
  background: var(--navy-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 61, 122, .25);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  background: #fff;
  transition: .3s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar-aavas {
    background: var(--navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    overflow: visible !important;
    transition: padding .3s ease, box-shadow .3s ease;
}

/* Shrunk state, toggled via JS once the page scrolls past the hero */
.navbar-aavas.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.navbar-aavas.scrolled .logo-container {
  height: 30px;
  width: 130px;
}

.navbar-aavas.scrolled .logo {
  width: 95px;
  top: -3px;
}

/* Ensure parents don't restrict overflowing bounds */
.navbar-aavas .container,
.navbar-aavas .container-fluid,
.navbar-aavas .navbar-brand {
  position: relative;
  overflow: visible !important;
}

.navbar-aavas .navbar-brand {
  padding: 0;
  margin: 0;
}

.logo-container {
  position: relative;
  height: 40px; /* Aligns with navigation menu height */
  width: 180px;
  overflow: visible !important;
  z-index: 9999 !important; /* Guarantees logo floats over hero section */
}

.logo {
    position: absolute;
    top: -10px;
    left: 0;
    width: 140px;
    max-width: none !important;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    transition: width 0.3s ease, top 0.3s ease;
    margin-top: 2px;
}

.navbar-aavas .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 .6rem;
  position: relative;
}

.navbar-aavas .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
}

.navbar-aavas .nav-link:hover {
  color: var(--gold) !important;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #d8ecfb 0%, #eef6fc 55%, #eef6fc 100%);
  position: relative;
  padding: 90px 0 40px;
  overflow: hidden;
  background: url('images/backgrounds/bg-image1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 120px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 60px;
}

.hero h1 .line1 {
  color: var(--navy);
  display: block;
}

.hero h1 .line2 {
  color: var(--green);
  display: block;
}

.hero p.lead-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 430px;
}

.hero-visual {
  position: relative;
  /* animation: float 5s ease-in-out infinite; */
}

.hero-tag {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(11, 61, 122, .18);
}

.hero-tag i {
  color: var(--gold);
  font-size: 1rem;
}




@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hero-visual img {
  max-width: 100%;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, .15));
}

.cow-strip {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 90px;
  background-size: cover;
  background-position: center;
  opacity: .9;
}



/* ===== FEATURE STRIP ===== */
.feature-strip {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(11, 61, 122, .08);
    margin-top: -40px;
    position: absolute;
    z-index: 3;
    padding: 1.7rem 1rem;
    width: 100%;
}

.feature-strip .feature-item i {
  font-size: 1.6rem;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: .7rem;
  transition: .3s;
}

.feature-strip .feature-item:hover i {
  transform: scale(1.15) rotate(-6deg);
}

.feature-strip .feature-item small {
  display: block;
  color: var(--text-muted);
  font-size: .8rem;
}

.icon-green {
  background: #e5f7ea;
  color: var(--green);
}

.icon-gold {
  background: #fff4d9;
  color: var(--gold);
}

.icon-navy {
  background: #e3edfa;
  color: var(--navy);
}

.icon-purple {
  background: #f2e7fb;
  color: #8547c9;
}

/* ===== ABOUT US ===== */
#about {
    background-color: rgb(242, 253, 253);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0px;
    padding-top: 110px;
}

/* ===== PRODUCT SPOTLIGHT ===== */
.spotlight {
    padding: 100px 0px;
    background: rgb(242, 253, 253);
    padding-top: 140px;
}

.spotlight-visual {
  position: relative;
  display: inline-block;
}

.spotlight-visual img {
  max-width: 100%;
  width: 340px;
  filter: drop-shadow(0 25px 30px rgba(11, 61, 122, .18));
}

.spotlight-visual .badge-ribbon {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
  color: var(--text-dark);
  font-weight: 500;
}

.spotlight-list i {
  color: var(--green);
  font-size: 1.1rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.spotlight-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--green);
  padding-left: 1rem;
  font-size: .95rem;
}

.spotlight-quote span {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: .85rem;
  margin-top: .3rem;
}

/* ===== PRODUCTS ===== */
.section-eyebrow {
  color: var(--green);
  font-weight: 700;
  font-style: italic;
  font-size: .95rem;
}

.section-title {
    font-weight: 800;
    color: var(--navy);
    font-size: 2rem;
    position: relative;
    margin-bottom: 60px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 4px;
  margin-top: 8px;
}

.product-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(11, 61, 122, .08);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(11, 61, 122, .18);
}

.product-card .img-wrap {
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  position: relative;
}

/* ===== BADGE RIBBONS ===== */
.badge-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.ribbon-gold {
  background: var(--gold);
  color: #3a2a00;
}

.ribbon-green {
  background: var(--green);
}

.ribbon-navy {
  background: var(--navy);
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}

.product-card:hover .img-wrap img {
  transform: scale(1.08);
}

.product-card .card-body h5 {
  color: var(--navy);
  font-weight: 700;
}

.view-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
}

.view-link i {
  transition: .3s;
}

.view-link:hover i {
  transform: translateX(5px);
}

/* ===== COW BANNER ===== */
.cow-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background-image: url("images/backgrounds/happy-cow-bg.png");
  min-height: 420px;
  background-size: cover;
  background-position: left bottom -10px;
}

.cow-banner img.cow-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.cow-banner .content {
  padding: 2.5rem;
}

.cow-banner h2 {
  color: var(--navy);
  font-weight: 800;
}

.mini-shop-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(11, 61, 122, .2);
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 260px;
}

.mini-shop-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.mini-shop-card strong {
  display: block;
  color: var(--navy);
  font-size: .9rem;
}

.mini-shop-card small {
  display: block;
  color: var(--text-muted);
  font-size: .72rem;
  margin-bottom: .25rem;
  line-height: 1.2;
}

.mini-shop-card a {
  color: var(--green);
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
}

.mini-shop-card a i {
  transition: .3s;
}

.mini-shop-card a:hover i {
  transform: translateX(3px);
}

/* ===== WHY CHOOSE ===== */
.why-section {
    background: var(--bg-soft);
    padding: 80px 0px;
}

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(11, 61, 122, .06);
  transition: .3s;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(11, 61, 122, .14);
}

.why-card i {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}

.why-card h6 {
  font-weight: 700;
  color: var(--navy);
}

.why-card p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 0;
}

/* ===== RECIPES ===== */


section#recipes {
    padding: 70px 0px;
}
.recipe-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(11, 61, 122, .08);
  transition: .35s;
}

.recipe-card:hover {
  transform: translateY(-8px);
}

.recipe-card .img-wrap {
  overflow: hidden;
  height: 170px;
}

.recipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.recipe-card:hover img {
  transform: scale(1.1);
}

.recipe-card .cap {
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}

.recipe-card .cap i {
  color: var(--green);
}

.recipe-chip {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-top: 1px dashed rgba(11, 61, 122, .12);
}

.recipe-chip:hover {
  color: var(--navy);
}

.recipe-chip i {
  font-size: .9rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: #cfe0f5;
}

/* Footer logo: override the navbar's absolute-positioning trick so the
   image sits in normal flow and doesn't overlap the text underneath it */
footer .logo-container {
  position: relative;
  height: auto;
  width: 150px;
  overflow: visible;
  z-index: auto;
  margin-bottom: 1rem;
}

footer .logo-container .logo {
  position: static;
  width: 140px;
  max-width: 100%;
  margin-top: 0;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25));
}

footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: #cfe0f5;
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
  font-size: .9rem;
  transition: .25s;
}

footer a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  color: #fff;
  transition: .3s;
}

.social-icon:hover {
  background: var(--green);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* ----- Tablets & below (nav collapses here) ----- */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .logo-container {
    width: 130px;
    height: 35px;
  }

  .logo {
    width: 106px;
    top: -5px;
}

  .navbar-aavas.scrolled .logo-container {
    width: 110px;
    height: 30px;
  }

  .navbar-aavas.scrolled .logo {
    width: 90px;
    top: -3px;
  }

  /* Mobile dropdown menu: proper stacked alignment */
  .navbar-collapse {
    background: var(--navy);
    padding: 1.25rem 1rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    margin-top: .75rem;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-aavas .nav-link {
    padding: .6rem 0;
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
  }

  .navbar-aavas .nav-link.active::after {
    display: none;
  }

  .navbar-collapse .text-lg-end {
    width: 100%;
  }

  .navbar-collapse .btn-light {
    width: 100%;
  }

  /* Feature strip stacks under the hero instead of floating over content */
  .feature-strip {
    position: static;
    margin-top: 24px;
    box-shadow: 0 10px 25px rgba(11, 61, 122, .1);
  }

  .feature-strip .feature-item {
    justify-content: center;
  }

  #about {
    padding-top: 60px;
  }

  .cow-banner {
    min-height: 340px;
  }

  .cow-banner .content {
    padding: 2rem 1.5rem;
  }

  .spotlight {
    padding: 50px 0 80px;
}

  .spotlight-visual img {
    width: 260px;
  }

  .mini-shop-card {
    right: 16px;
    bottom: 16px;
    max-width: 220px;
    padding: .6rem .8rem;
  }

  .mini-shop-card img {
    width: 44px;
    height: 44px;
  }
}

/* ----- Small tablets / large phones ----- */
@media (max-width: 767.98px) {
  .hero {
    padding: 50px 0 20px;
    text-align: center;
  }

  .hero-visual {
    margin-bottom: -23px;
}

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .col-lg-6.text-center {
    margin-top: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  #about,
  .why-section,
  section#recipes {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .cow-banner .content {
    text-align: center;
  }

  .cow-banner h2 {
    font-size: 1.6rem;
  }

  footer {
    text-align: center;
  }

  footer .logo-container {
    margin-left: auto;
    margin-right: auto;
  }

  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
    justify-content: center !important;
  }

  /* Cow banner shrinks a lot on phones/tablets in portrait; let the mini
     shop card sit inline below the content instead of floating, so it
     never gets clipped or overlaps the copy */
  .cow-banner {
    min-height: 0;
    display: none;
}

  .cow-banner .row {
    flex-direction: column;
  }

  .cow-banner .col-lg-5 {
    height: 160px;
  }

  .mini-shop-card {
    position: static;
    max-width: 100%;
    margin: 0 1.5rem 1.5rem;
    box-shadow: 0 8px 20px rgba(11, 61, 122, .12);
  }

  .spotlight-quote {
    text-align: left;
  }
}

/* ----- Phones ----- */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .btn-navy,
  .btn-outline-navy {
    width: 100%;
    text-align: center;
  }

  .feature-strip .feature-item {
    justify-content: flex-start;
    text-align: left;
  }

  .product-card .img-wrap {
    height: 200px;
  }

  .recipe-card .img-wrap {
    height: 130px;
  }

  .why-card {
    padding: 1.2rem .8rem;
  }

  .hero-tag {
    font-size: .75rem;
    padding: .35rem .7rem;
    top: 4px;
    right: 8px;
  }

  .spotlight-visual img {
    width: 220px;
  }
}

/* ===== FLOATING QUICK-SHOP BUTTON ===== */
.quick-shop-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(11, 61, 122, .35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}

.quick-shop-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-shop-btn:hover {
  background: var(--navy-dark);
  color: #fff;
}

.quick-shop-btn i {
  font-size: 1.05rem;
  color: var(--gold);
}

@media (max-width: 575.98px) {
  .quick-shop-btn {
    right: 16px;
    bottom: 16px;
    padding: .7rem .9rem;
    font-size: .82rem;
  }

  .quick-shop-btn span {
    display: none;
  }
}