/* Define custom properties for font sizes */
:root {
  --base-font-size: 1rem;
  /* 16px */
  --h1-size: 2.5rem;
  /* 40px */
  --h2-size: 2rem;
  /* 32px */
  --h3-size: 1.75rem;
  /* 28px */
  --h4-size: 1.5rem;
  /* 24px */
  --h5-size: 1.25rem;
  /* 20px */
  --h6-size: 1rem;
  /* 16px */
  --p-size: 1rem;
  /* 16px */
  --overlay-color: rgba(0, 0, 0, 0.6);
  /* Adjust overlay color and transparency */
  --text-color: #fff;
  /* Purplish color */
  --paw-color: #ff85a2;
  /* Cat paw pink color */
  --btn-font-size: 1rem;
}

/* Base styles for mobile-first */
html,
body {
  font-size: var(--base-font-size);
  margin: 0;
  font-family: "MADE Canvas", "Arial", sans-serif;
  line-height: 1.5;
  /* overflow: hidden; */
  height: 100%;
  cursor: url("http://www.zingerbug.com/cursors/cursors/catscratch2.gif"), auto;
}

/* Headings and paragraphs */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

h1 {
  font-size: var(--h1-size);
  font-family: "Voga", "Georgia", sans-serif;
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  font-size: var(--p-size);
}

/* Hero section */
#hero-section {
  position: relative;
  height: 100vh;
  color: var(--text-color);
  /* Use the custom text color */
}

#hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: slider 32.5s infinite;
  z-index: 0;
  opacity: 0.8;
  /* Adjust opacity for better readability */
}

.image-slider .slide:nth-child(1) {
  background-image: url("./images/Cat_Slider_1.jpg");
  animation-delay: 0s;
}

.image-slider .slide:nth-child(2) {
  background-image: url("./images/Cat_Slider_2.jpg");
  animation-delay: -6.5s;
}

.image-slider .slide:nth-child(3) {
  background-image: url("./images/Cat_Slider_3.jpg");
  animation-delay: -13s;
}

.image-slider .slide:nth-child(4) {
  background-image: url("./images/Cat_Slider_4.jpg");
  animation-delay: -19.5s;
}

.image-slider .slide:nth-child(5) {
  background-image: url("./images/Cat_Slider_5.jpg");
  animation-delay: -26s;
}

@keyframes slider {

  0%,
  16%,
  100% {
    transform: translateX(0);
    animation-timing-function: ease;
  }

  20% {
    transform: translateX(-100%);
    animation-timing-function: step-end;
  }

  96% {
    transform: translateX(100%);
    animation-timing-function: ease;
  }
}

/* Overlay for text readability */
#hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  z-index: 1;
}

/* Heading container */
.heading-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  /* Ensure text is above the overlay */
}

.heading-container i.fa-paw {
  color: var(--paw-color);
  /* Use the custom paw color */
  margin-left: 5px;
}

/* Feature Section */
#features {
  background-color: #ebadad;
  color: #531553;
}

/* Testimonials */
#testimonials,
#download {
  background-color: #f5e8da;
  color: #2b192e;
}

.testimonial>img {
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: url(#heartClipPath);
  /* Apply the heart-shaped clip-path */
}

/* Pricing Section */
#pricing {
  background-color: #ebadad;
  color: #2b192e;
}

.btn {
  background-color: #531553;
  border: none;
  color: #f5e8da;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: var(--btn-font-size);
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(80, 0, 108, 0.7);
}

/* Download Section */

.btn-download {
  background-color: #2b192e;
  border: none;
  color: #f5e8da;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-items: center;
  font-size: var(--btn-font-size);
  border-radius: 12px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 300px;
}

.btn-download i {
  margin-right: 10px;
  /* Space between icon and text */
}

.btn-download:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 5px 0px rgba(43, 25, 43, 0.5);
}

/* Footer Section  */
#footer {
  background-color: #303030;
  color: #f5e8da;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Small devices (mobile phones) */
@media (min-width: 320px) {
  :root {
    --base-font-size: 0.9375rem;
    /* 15px */
  }

  /* Feature Section */
  #features,
  #testimonials,
  #pricing {
    min-height: 100vh;
    padding-top: 100px;
  }

  .features-container,
  .testimonials-container,
  .download-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    margin: 0 40px;
  }

  .fa-shield-cat,
  .fa-heart-pulse,
  .fa-crown {
    font-size: 4rem;
    margin-bottom: 15px;
  }

  /* Testimonials Section */
  #testimonials,
  #pricing {
    padding-bottom: 100px;
  }

  .testimonial>img {
    width: 150px;
  }

  /* Pricing Section */

  .pricing-header {
    text-align: center;
    margin: 0 40px;
  }

  .pricing-container {
    gap: 30px;
    /* Add gap between the pricing cards */
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 50px;
  }

  .pricing-card {
    padding: 20px;
    border: 1px solid #f5e8da;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(80, 0, 108, 0.22);
    width: 100%;
    max-width: 300px;
    /* Consistent max width */
    height: auto;
    flex: 1 1 auto;
    box-sizing: border-box;
    /* Include padding and border in width */
    margin-bottom: 20px;
    /* Add margin to space out cards */
  }

  .pricing-card h3 {
    margin-bottom: 10px;
  }

  .pricing-card h2 {
    margin-bottom: 20px;
  }

  .pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
  }

  .pricing-card ul li {
    margin-bottom: 10px;
  }

  /* Download Section */
  #download {
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .download-container {
    gap: 20px;
    align-items: center;
  }

  .fa-google-play,
  .fa-apple {
    font-size: 2rem;
  }

  /* Footer Section  */
  #footer {
    min-height: 50vh;
  }

  .footer-container ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-container li {
    margin: 0;
  }

  .footer-container a {
    color: #ffb1a5;
    text-decoration: none;
  }

  .footer-container a:hover {
    color: #ce8ca5;
  }

  .footer-container {
    font-size: 1.5rem;
  }

  .footer-container p {
    margin: 10px 0 0 0;
  }
}

@media (min-width: 375px) {
  :root {
    --base-font-size: 1rem;
    /* 16px */
  }
}

/* Medium devices (tablets) */
@media (min-width: 768px) {
  :root {
    --base-font-size: 1.125rem;
    /* 18px */
    --h1-size: 2.75rem;
    /* 44px */
    --h2-size: 2.25rem;
    /* 36px */
    --h3-size: 2rem;
    /* 32px */
    --h4-size: 1.75rem;
    /* 28px */
    --h5-size: 1.5rem;
    /* 24px */
    --h6-size: 1.25rem;
    /* 20px */
    --p-size: 1.125rem;
    /* 18px */
    --btn-font-size: 1.125rem;
  }
}

/* Large devices (desktops) */
@media (min-width: 1024px) {
  :root {
    --base-font-size: 1.25rem;
    /* 20px */
    --h1-size: 3rem;
    /* 48px */
    --h2-size: 2.5rem;
    /* 40px */
    --h3-size: 2.25rem;
    /* 36px */
    --h4-size: 2rem;
    /* 32px */
    --h5-size: 1.75rem;
    /* 28px */
    --h6-size: 1.5rem;
    /* 24px */
    --p-size: 1.25rem;
    /* 20px */
    --btn-font-size: 1.125rem;
  }

  /* Features Section */
  #features,
  #testimonials {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .features-container,
  .testimonials-container {
    flex-direction: row;
    column-gap: 60px;
    margin: auto 60px;
  }

  .feature,
  .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    /* Include padding and border in the element's width and height */
  }

  .feature-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .feature-content h2,
  .testimonial h2 {
    margin-bottom: 10px;
  }

  .feature-content p,
  .testimonial p {
    margin: 0;
    padding-top: 10px;
  }

  .fa-shield-cat,
  .fa-heart-pulse,
  .fa-crown {
    font-size: 4rem;
    margin-bottom: 15px;
  }

  /* Testimonial Section */
  .testimonial>img {
    width: 200px;
    margin-bottom: 10px;
  }

  .testimonial h2,
  .testimonial p {
    margin: 0;
  }

  .testimonial {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    min-width: 200px;
  }

  .testimonials-container {
    justify-content: space-between;
  }

  /* Pricing Section */
  .pricing-container {
    flex-direction: row;
    align-items: normal;
  }

  /* Download Section */
  .download-buttons {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
  }

  /* Footer Section */
  .footer-container ul {
    flex-direction: row;
  }
}

@media (min-width: 1280px) {
  :root {
    --base-font-size: 1.375rem;
    /* 22px */
    --h1-size: 3.25rem;
    /* 52px */
    --h2-size: 2.75rem;
    /* 44px */
    --h3-size: 2.5rem;
    /* 40px */
    --h4-size: 2.25rem;
    /* 36px */
    --h5-size: 2rem;
    /* 32px */
    --h6-size: 1.75rem;
    /* 28px */
    --p-size: 1.375rem;
    /* 22px */
    --btn-font-size: 1.375rem;
  }

  /* Features Section */
  #features,
  #testimonials,
  #pricing {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* Pricing Section */
  .pricing-card,
  .btn-download {
    max-width: 400px;
  }
}

@media (min-width: 1440px) {
  :root {
    --base-font-size: 1.5rem;
    /* 24px */
    --h1-size: 3.5rem;
    /* 56px */
    --h2-size: 3rem;
    /* 48px */
    --h3-size: 2.75rem;
    /* 44px */
    --h4-size: 2.5rem;
    /* 40px */
    --h5-size: 2.25rem;
    /* 36px */
    --h6-size: 2rem;
    /* 32px */
    --p-size: 1.5rem;
    /* 24px */
    --btn-font-size: 1.5rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --base-font-size: 1.625rem;
    /* 26px */
    --h1-size: 3.75rem;
    /* 60px */
    --h2-size: 3.25rem;
    /* 52px */
    --h3-size: 3rem;
    /* 48px */
    --h4-size: 2.75rem;
    /* 44px */
    --h5-size: 2.5rem;
    /* 40px */
    --h6-size: 2.25rem;
    /* 36px */
    --p-size: 1.625rem;
    /* 26px */
    --btn-font-size: 1.625rem;
  }
/* Pricing Section */
  .pricing-card {
    max-width: 500px;
  }
}
