* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

main {
  width: 100%;
  background-color: #d5ff40;
}

nav {
  padding: 40px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

nav .part2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

nav h2 {
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

nav h2:hover {
  transform: scale(1.05);
}

nav h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav h2:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a {
  color: black;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #000000, #000000);
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hamburger:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #d5ff40;
  border-bottom: 3px solid #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  padding: 80px 20px 30px;
}

.mobile-menu a {
  display: block;
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  text-decoration: none;
  padding: 15px 20px;
  margin: 5px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
}

.mobile-menu a:hover {
  background-color: #000;
  color: #d5ff40;
  transform: translateY(-20px) scale(1.02);
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #d5ff40;
  transition: width 0.3s ease, left 0.3s ease;
}

.mobile-menu a:hover::after {
  width: 80%;
  left: 10%;
}

/* Mobile menu toggle functionality */
.mobile-menu-toggle:checked ~ .mobile-menu {
  transform: translateY(0);
}

.mobile-menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Staggered animation for menu items */
.mobile-menu-toggle:checked ~ .mobile-menu a:nth-child(1) {
  animation: slideInFromTop 0.4s ease forwards 0.1s;
}

.mobile-menu-toggle:checked ~ .mobile-menu a:nth-child(2) {
  animation: slideInFromTop 0.4s ease forwards 0.2s;
}

.mobile-menu-toggle:checked ~ .mobile-menu a:nth-child(3) {
  animation: slideInFromTop 0.4s ease forwards 0.3s;
}

.mobile-menu-toggle:checked ~ .mobile-menu a:nth-child(4) {
  animation: slideInFromTop 0.4s ease forwards 0.4s;
}

@keyframes slideInFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add some spacing when menu is open */
.mobile-menu-toggle:checked ~ .mobile-menu + * {
  margin-top: 200px;
  transition: margin-top 0.4s ease;
}

/* Hero Section Styles */
.hero-section {
  display: flex;
  flex-direction: column;
  padding: 40px 100px 80px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
  z-index: 2;
}

.hero-title {
  margin-bottom: 30px;
}

.hero-title h1 {
  font-size: 140px;
  text-transform: uppercase;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 0.85;
  letter-spacing: -2px;
}

.hero-title h1 span {
  display: block;
  color: #000;
}

.hero-text {
  font-size: 28px;
  -webkit-text-stroke: 0.2px #fff;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  font-family: "Bangers", system-ui;
  font-weight: 300;
  max-width: 550px;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #000;
  color: #d5ff40;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-images {
  position: absolute;
  right: 50px;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.hero-image-main {
  position: relative;
  z-index: 2;
}

.hero-image-main img {
  width: 400px;
  height: auto;
  object-fit: contain;
}

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

.marquee-container {
  background-color: #000;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 20px 0;
}

.marquee-content {
  color: #d5ff40;
  font-size: 28px;
  font-family: "Arial", Helvetica, sans-serif, system-ui;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  padding-left: 100%;
  animation: marquee 40s linear infinite;
}

.marquee-content span {
  display: inline-block;
  margin-right: 3em;
  font-size: 28px;
  text-transform: uppercase;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.image {
  height: 210px;
  border-radius: 90px;
  width: 90%;
  margin-left: 5%;
  margin-top: 5%;
  background-color: #d5ff40;
  background-image: url(https://res.cloudinary.com/drzxhrrh3/image/upload/v1746432866/img1_nnfriq.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 80px;
}

.image .arrow {
  height: 250px;
  width: 250px;
  border-radius: 50%;
  background-color: #d5ff40;
  position: absolute;
  left: 5%;
  top: -10%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid #444;
}

.image .arrow img {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.nav-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.Search,
.Cart,
.Account {
  color: #000;
  background: none;
  border: none;
  outline: none;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.Search:hover,
.Cart:hover,
.Account:hover {
  background-color: #9be08a;
}

.Search i,
.Cart i,
.Account i {
  font-size: 22px;
}

/* Products Section */
.products-section {
  padding: 100px 5%;
  background-color: #d5ff40;
}

.products-section h2 {
  font-size: 50px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.product-card p {
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}

.product-price {
  font-family: "Arial", system-ui;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 15px;
}

.add-to-cart {
  background-color: #d5ff40;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #c2e83a;
}

.view-more {
  display: flex;
  justify-content: center;
}

.view-more button {
  background-color: black;
  color: #d5ff40;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.view-more button:hover {
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  background-color: #fff;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.features-section h2 {
  font-size: 50px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: #000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0px 5px rgba(0.5, 0.5, 0.5, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0.1, 0.1, 0.1, 0.1);
}

.feature-icon {
  font-size: 40px;
  color: #d5ff40;
  background-color: #000;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  margin-bottom: 15px;
  color: #000;
}

.feature-card p {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 5%;
  background-color: #d5ff40;
}

.testimonials-section h2 {
  font-size: 50px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid #d5ff40;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  margin-bottom: 15px;
  text-align: center;
}

.testimonial-author {
  font-family: "Bangers", system-ui;
  text-align: center;
  font-size: 18px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 70px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 15px;
}

.footer-logo p {
  font-family: Arial, Helvetica, sans-serif;
  color: #ccc;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d5ff40;
}

.footer-contact p {
  font-family: Arial, Helvetica, sans-serif;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #d5ff40;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #555;
}

.footer-bottom p {
  font-family: Arial, Helvetica, sans-serif;
  color: #ccc;
}

/* RESPONSIVE DESIGN */

/* Large Desktop */
@media (max-width: 1400px) {
  nav {
    padding: 40px 80px;
  }

  .hero-section {
    padding: 40px 80px 80px;
  }

  .hero-title h1 {
    font-size: 120px;
  }

  .hero-image-main img {
    width: 350px;
  }

  .products-section,
  .features-section,
  .testimonials-section {
    padding: 80px 4%;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  nav {
    padding: 40px 60px;
  }

  .hero-section {
    padding: 40px 60px 80px;
  }

  .hero-title h1 {
    font-size: 100px;
  }

  .hero-text {
    font-size: 24px;
  }

  .hero-image-main img {
    width: 320px;
  }

  .products-section,
  .features-section,
  .testimonials-section {
    padding: 70px 4%;
  }

  .products-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 42px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }

  .image {
    height: 180px;
  }

  .image .arrow {
    height: 200px;
    width: 200px;
  }

  .image .arrow img {
    width: 180px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  nav {
    padding: 30px 40px;
  }

  nav .part2 {
    gap: 40px;
  }

  nav h2 {
    font-size: 26px;
  }

  nav a {
    font-size: 18px;
  }

  .hero-section {
    padding: 30px 40px 60px;
  }

  .hero-title h1 {
    font-size: 80px;
  }

  .hero-text {
    font-size: 22px;
    max-width: 100%;
  }

  .hero-image-main img {
    width: 280px;
  }

  .products-section,
  .features-section,
  .testimonials-section {
    padding: 60px 4%;
  }

  .products-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 36px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .testimonials-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .testimonial-card {
    max-width: 100%;
  }

  .image {
    height: 160px;
  }

  .image .arrow {
    height: 180px;
    width: 180px;
  }

  .image .arrow img {
    width: 160px;
  }
}

/* Mobile Landscape and Small Tablet */
@media (max-width: 768px) {
  /* Show hamburger menu and hide desktop navigation */
  .hamburger {
    display: flex;
  }

  .part2 {
    display: none !important;
  }

  .nav-icons {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  nav {
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
  }

  nav h2 {
    font-size: 24px;
  }

  /* Updated hero section for mobile to match screenshot */
  .hero-section {
    padding: 20px 20px 180px; /* Reduced bottom padding to bring dog closer */
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    max-width: 100%;
    margin-bottom: 20px; /* Reduced margin to bring dog closer */
  }

  .hero-title h1 {
    font-size: 60px;
  }

  .hero-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px; /* Reduced margin */
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px; /* Added margin to create some space before dog */
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 25px;
    font-size: 16px;
  }

  .hero-images {
    position: absolute;
    bottom: 0;
    right: 0;
    justify-content: center;
    top: auto;
  }

  .hero-image-main {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%); /* Center the dog image */
  }

  .hero-image-main img {
    width: 200px;
  }

  .marquee-content span {
    font-size: 22px;
    margin-right: 2.5em;
  }

  .marquee-container {
    padding: 15px 0;
  }

  .image {
    height: 140px;
    margin-top: 60px;
  }

  .image .arrow {
    height: 160px;
    width: 160px;
    left: 3%;
  }

  .image .arrow img {
    width: 140px;
  }

  .products-section,
  .features-section,
  .testimonials-section {
    padding: 50px 3%;
  }

  .products-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
  }

  .product-card {
    padding: 15px;
  }

  .product-image {
    height: 150px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-card p {
    font-size: 13px;
  }

  .product-price {
    font-size: 20px;
  }

  .add-to-cart {
    padding: 8px 12px;
    font-size: 14px;
  }

  .view-more button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 35px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-image {
    width: 80px;
    height: 80px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .testimonial-author {
    font-size: 16px;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  nav {
    padding: 15px;
  }

  nav h2 {
    font-size: 22px;
  }

  /* Further adjustments for smaller mobile screens */
  .hero-section {
    padding: 15px 15px 160px; /* Even less padding for smaller screens */
  }

  .hero-title h1 {
    font-size: 45px;
  }

  .hero-text {
    font-size: 16px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }

  .hero-image-main img {
    width: 160px;
  }

  .hero-image-main {
    bottom: 10px; /* Position dog closer to button */
  }

  .marquee-content span {
    font-size: 18px;
    margin-right: 2em;
  }

  .marquee-container {
    padding: 12px 0;
  }

  .image {
    height: 120px;
    margin-top: 40px;
  }

  .image .arrow {
    height: 140px;
    width: 140px;
  }

  .image .arrow img {
    width: 120px;
  }

  .products-section,
  .features-section,
  .testimonials-section {
    padding: 40px 3%;
  }

  .products-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 28px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    padding: 12px;
    max-width: 100%;
  }

  .product-image {
    height: 180px;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .product-card p {
    font-size: 12px;
  }

  .product-price {
    font-size: 18px;
  }

  .add-to-cart {
    padding: 8px 12px;
    font-size: 13px;
  }

  .view-more button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-image {
    width: 70px;
    height: 70px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-author {
    font-size: 15px;
  }

  .mobile-menu a {
    font-size: 20px;
    padding: 12px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .hero-title h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 15px;
  }

  .products-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 24px;
  }

  .hero-image-main img {
    width: 140px;
  }

  .hero-section {
    padding: 15px 15px 140px; /* Even less padding for extra small screens */
  }

  .image {
    height: 100px;
  }

  .image .arrow {
    height: 120px;
    width: 120px;
  }

  .image .arrow img {
    width: 100px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 15px 20px 160px;
  }

  .hero-title h1 {
    font-size: 50px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 15px;
  }

  .btn-primary {
    width: auto;
    flex: 1;
  }

  .image {
    height: 120px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-image img,
  .hero-image-main img,
  .image .arrow img,
  .testimonial-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}