* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-right: 14%;
}
.main-nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.5em;
}
.main-nav a:hover {
    color: #ae8a63;
    text-decoration: underline;
    transition: 0.2s ease;
}
.main-nav a:active {
    color: #c9a073;
}
.nav-logo {
    background: url(assets/knn_logo.png) center / contain no-repeat;
    height: 200px;
    width: 200px;
}
.main-header {
    background: url(assets/main-header-bg.jpg) top / cover no-repeat;
    overflow: hidden;
    background-attachment: fixed;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.4), 0px 5px 10px rgba(0, 0, 0, 0.4); 
    text-align: center;
    padding: 8% 14%;
}
.main-header h1, h2 {
    color: #fff;
    font-size: 2.8em;
    font-weight: lighter;
    margin-bottom: 7%;
    width: auto;
}
.main-header h1{
    color: #c9a073;
    font-size: 3.4em;
    text-decoration-line: overline;
}
.main-header button {
    color: #fff;
    background-color: #504472;
    padding: 20px 40px;
    font-size: 1.5em;
    border: 2px solid #fff;
    border-radius: 2px;
    cursor: pointer;
}
.main-header button:hover {
    background-color: #8972ce;
    transition: 0.2s ease;
}
.main-header button:active {
    background-color: #9b82e7;
}
#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2% 16%;
    border: 2px solid #504472;
    border-radius: 4px;
    background-color: #e9e3ed;
}
#about h3 {
    margin-top: 1%;
    padding: 3%;
    font-size: 2.2em;
    font-weight: lighter;
    color: #504472;
}
#about p {
    padding: 2% 10%;
    line-height: 1.4em;
    color: #4a4a4a;
    font-size: 1.1em;
}
#about h4 {
    font-weight: lighter;
    font-size:  1.2em;
    margin-top: 4px;
    color: #4a4a4a;
}
#about a{
    color: #5932c3;
}
.animals {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.about-img {
    background-size: 135%;
    border-radius: 50%;
    height: 350px;
    width: 350px;
    max-width: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    margin: 1%;
}
#katie {
    background: url(assets/katie-pic.jpg) center / cover no-repeat;
}
#clue {
    background: url(assets/clue.jpg) center / cover no-repeat;
}
#vesta {
    background: url(assets/vesta.jpg) center / cover no-repeat;
    background-size: 140%;
}
footer {
    background-color: #000;
    color: #fff;
    padding: 6%;
    text-align: center;
    position: relative;
}
footer h6 {
    margin: 2%;
    margin-bottom: 4%;
    font-size: 3em;
    font-weight: lighter;
    color: #c9a073;
    text-decoration: overline;
}
footer a {
    color: #fff;
    font-size: 1.2em;
    margin: 12px;
}
footer a:hover {
    color: #8972ce;
    transition: 0.2s ease;
}
footer a:active {
    color: #9b82e7;
}
footer p {
    position: absolute;
    bottom: 0;
    left: 0;
}
footer .social-links {
    height: 100px;
    width: 300px;  
    margin-top: 4%;
    display: inline-block;
}
footer .social-links a {
  display: inline-block;
  height: 50px;
  width: 50px;
  margin: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
footer .social-links a:hover {
  opacity: 0.8;
}
footer .social-links a:active {
  opacity: 0.6;
}
footer .social-links #facebook {
  background-image: url(assets/Facebook.png);
}
footer .social-links #linkedin {
  background-image: url(assets/LinkedIn.png);
}
footer .social-links #instagram {
  background-image: url(assets/Instagram.png);
}
/* FAQs Section */
.faqs-body {
    min-height: 100%;
    background: linear-gradient(0deg, rgba(64, 53, 95, 0.8), rgba(64, 53, 95, 0.8)), url(assets/pexels-mikhail-nilov-7583935.jpg);
    background-size: cover;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
    padding: 2%;
}
.accordion {
    margin: auto;
    width: 600px;
}
.accordion li {
    list-style: none;
    width: 100%;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 2px;
    padding: 10px;
}
.accordion p {
    color: #4a4a4a;
    font-size: 1.1em;
    padding: 10px;
}
.accordion li label {
    padding: 10px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    color: #ae8a63;
}
.accordion li label:hover {
    background-color: #e9e3ed;
    transition: 0.2s ease;
}
.accordion li label span {
    font-size: 22px;
    display: inline-block;
    transition: transform 0.2s ease;
}
.accordion input[type="checkbox"] {
    display: none;
}
.accordion .answer {
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}
.accordion input[type="checkbox"]:checked ~ .answer {
    max-height: 400px;
}
.accordion input[type="checkbox"]:checked + label span {
    transform: rotate(90deg);
}
/*testimonial section*/
#testimonials {
    background: url(assets/testimonial-bg.jpg) center / cover no-repeat;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.4), 0px 5px 10px rgba(0, 0, 0, 0.4); 
    width: 100%;
    height: auto;
    color: white;
    text-align: center;
    padding: 10%;
    padding-top: 5%;
}
#testimonials h4 {
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: lighter;
}
.review-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.review-card {
    background-color: #504472;
    padding: 40px;
    border-radius: 4px;
}
.review-card-stars {
    background: url(assets/temp-stars.jpg) center / cover no-repeat;
    width: 200px;
    height: 20px;
    margin: auto;;
}
.review-card-img {
    background: url(assets/vesta.jpg) center / cover no-repeat;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    display: inline-block;
    margin: 40px;
}
.review-card-txt {
    margin: auto;
    margin-bottom: 20px;
    font-size: 1.2em;
    width: 90%;
}
.review-card-name-date {
    margin-bottom: 20px;
    font-size: 1.1em;
}
.review-card-link {
    margin-bottom: 40px;
    color: #ae8a63;
    font-size: 1.3em;
}
.review-card-link:hover {
    color: #c9a073;
    transition: ease 0.2s;
}
h5 {
    text-align: center;
    font-size: 2.2em;
    color: #ae8a63;
    font-style: italic;
    font-weight: lighter;
    padding: 40px;
}
#fees-services {
    height: auto;
    width: 100%; 
    display: flex;
}
#fees-services h5 {
    text-align: center;
    font-size: 2em;
    color: #ae8a63;
    color: #504472;
}
#fees-services .services {
    flex: 1;
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);

}
#fees-services .fees {
    flex: 1;
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);

}
#fees-services .accordion li label {
    background-color: #e9e3ed;
}
#fees-services .accordion li label:hover {
    background-color: #e1d1ec;
}
.fees-p {
    text-align: center;
    font-size: 1.2em;
    padding: 10px;
}
.contact-a {
  color: #5932c3;
}
.contact-a:hover {
  color: #8972ce;
  transition: 0.2s ease;
}

/* ====================== */
/*   Responsive Styles    */
/* ====================== */
@media (max-width: 768px) {
    html, body {
      overflow-x: hidden;
      max-width: 100%;
    }
  
    .main-nav {
      flex-direction: column;
      align-items: center;
      margin-right: 0;
      margin-bottom: 5%;
      gap: 10px;
    }
  
    .nav-logo {
      width: 150px;
      height: 150px;
      max-width: 100%;
    }
  
    .main-header {
      padding: 10% 5%;
    }
  
    .main-header h1 {
      font-size: 2.2em;
    }
  
    .main-header h2 {
      font-size: 1.8em;
    }
  
    .main-header button {
      padding: 14px 28px;
      font-size: 1.2em;
    }
  
    #about {
      margin: 4% 0%;
      border-radius: 0;
    }
  
    #about p {
      padding: 5%;
    }
  
    .animals {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .about-img {
      width: 200px;
      height: 200px;
      max-width: 300px;
    }
  
    .accordion {
      width: 90%;
      max-width: 100%;
    }
  
    #fees-services {
      flex-direction: column;
      align-items: center;
    }
  
    #fees-services .services,
    #fees-services .fees {
      width: 90%;
      margin: 10px 0;
      box-shadow: none;
    }
  
    .review-card-container {
      flex-direction: column;
      gap: 20px;
    }
  
    .review-card {
      width: 90%;
      padding: 20px;
    }
  
    .review-card-img {
      margin: 20px auto;
      display: block;
    }
  
    footer {
      padding: 18% 5%;
    }
    footer h6{
      margin: 8%;
    }
    footer p {
      margin-top: 20px;
    }
  }
  /* 1. Universal Box Sizing Reset */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Prevent Horizontal Scrolling */
  html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 3. Smoother Font Rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* 4. Images and Media should not overflow */
  img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* 5. Viewport Width Consistency */
  meta[name="viewport"] {
    content: width=device-width, initial-scale=1;
  }
  
  /* 6. Responsive Container Helper */
  .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* 7. Make sure no hidden overflow on body */
  body {
    position: relative;
    max-width: 100vw;
  }
  
  /* 8. Fix position issues on some mobile browsers */
  html {
    touch-action: manipulation;
  }
  
  /* 9. Responsive Typography - optional */
  h1, h2, h3, h4, h5, h6, p {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  /* 10. Respect Safe Areas (iPhones with notches) */
  body {
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }