* {
  box-sizing: border-box;
}

/*----Raleway Font----
font-family: "Raleway", sans-serif; */

/*----Roboto Font----
font-family: "Roboto", sans-serif; */

/*----Font Tags----*/
body {
  font-family: "Roboto";
  margin: 0;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);

}

h1 {
  font-family: "Raleway";
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 67.2px */
  margin: 0;
}

h2 {
  font-family: "Raleway";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 57.6px */
  margin: 0;
}

h3 {
  font-family: "Raleway";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 48px */
  margin: 0;
}

h4 {
  font-family: "Raleway";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  /* 33.6px */
  margin: 0;
}

h5 {
  font-family: "Raleway";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  /* 28px */
  margin: 0;
}

p {
  /* Paragraphs/SectionText */
  font-family: "Roboto";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  margin: 0;
}

.sub-text {
  /* Paragraphs/Sub-SectionText */
  font-family: "Roboto";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  margin: 0;
}

.reviews-text {
  /* Paragraphs/Reviews */
  font-family: "Roboto";
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  /* 27px */
  margin: 0;
}

.reviews-names {
  /* Paragraphs/Names */
  font-family: "Roboto";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 24px */
  margin: 0;
}

.footer-header-text {
  /* Paragraphs/FooterHeader */
  font-family: "Roboto";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  /* 21px */
  margin: 0;
}

.footer-text {
  /* Paragraphs/Footer */
  font-family: "Roboto";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  margin: 0;
}

.links-nav-text {
  /* Links/Nav */
  font-family: "Raleway";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 27px */
  margin: 0;
}

.links-button-text {
  /* Links/Button */
  font-family: "Raleway";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  margin: 0;
}

@media (max-width: 1024px) {
  h1 {
    font-family: "Raleway";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 67.2px */
    margin: 0;
  }

  h2 {
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 57.6px */
    margin: 0;
  }

  h3 {
    font-family: "Raleway";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    /* 48px */
    margin: 0;
  }

  h4 {
    font-family: "Raleway";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    /* 33.6px */
    margin: 0;
  }

  h5 {
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    /* 28px */
    margin: 0;
  }

  p {
    /* Paragraphs/SectionText */
    font-family: "Roboto";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
    margin: 0;
  }

  .sub-text {
    /* Paragraphs/Sub-SectionText */
    font-family: "Roboto";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    margin: 0;
  }

  .reviews-text {
    /* Paragraphs/Reviews */
    font-family: "Roboto";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    /* 27px */
    margin: 0;
  }

  .reviews-names {
    /* Paragraphs/Names */
    font-family: "Roboto";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 24px */
    margin: 0;
  }

  .footer-header-text {
    /* Paragraphs/FooterHeader */
    font-family: "Roboto";
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* 21px */
    margin: 0;
  }

  .footer-text {
    /* Paragraphs/Footer */
    font-family: "Roboto";
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 21px */
    margin: 0;
  }

  .links-nav-text {
    /* Links/Nav */
    font-family: "Raleway";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 27px */
    margin: 0;
  }

  .links-button-text {
    /* Links/Button */
    font-family: "Raleway";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 27px */
    margin: 0;
  }
}




/*----Buttons----*/

.primary-button {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: white;
  border-radius: 10px;
  background: #2776B2;
  box-shadow: 0 4px 7.2px 0 rgba(0, 0, 0, 0.25);
  border: none;
}

.primary-button:hover {
  background: #75B6E8;
}

.secondary-button {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: black;
  border-radius: 10px;
  border: 2px solid #2776B2;
  background: transparent;
  box-shadow: 0 4px 7.2px 0 rgba(0, 0, 0, 0.25);
}

.secondary-button:hover {
  background: #cbe9ff;
}





/*---------- NavBar ----------*/
nav {
  background-color: #ffffff;
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 64px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

nav a {
  text-decoration: none;
  display: block;
  color: black;
}

nav a:hover {
  color: #40578E;
}

#nav-content {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  gap: 32px;
}

#nav-logo {
  display: flex;
  align-items: flex-start;
}

#nav-links {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin: 0;
}

nav button {
  display: flex;
  height: 35px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #40578E;
  box-shadow: 0 4px 7.2px 0 rgba(0, 0, 0, 0.25);
  border: none;
  color: white;
  cursor: pointer;
}

nav button:hover {
  background: #7693D6;
}

#hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  font-size: 20px;
}

#mobile-dropdown {
  display: none;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
  }

  #nav-links,
  #nav-login {
    display: none;
  }

  #hamburger-btn {
    display: flex;
  }

  #mobile-dropdown {
    display: none;
    position: absolute;
    top: 72px;
    right: 24px;
    width: 220px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    text-align: right;
    overflow: hidden;
  }

  #mobile-dropdown.show {
    display: flex;
  }

  #mobile-dropdown a {
    padding: 14px 20px;
    color: black;
  }

  #mobile-dropdown a:hover {
    background: #f4f6fb;
    color: #40578E;
  }

  #mobile-login-link {
    color: #40578E;
    font-weight: 600;
    border-top: 1px solid #40578E;
    margin-top: 8px;
    padding-top: 16px;
  }
}

/*---------- Hero ----------*/
header {
  background-image: url(./Images/Hero.png);
  background-size: cover;
  background-position: 85%;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
  padding: 0 64px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
}

#header-content {
  display: flex;
  height: fit-content;
  width: min(560px, 100%);
  max-width: 560px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
}


@media (max-width: 1300px) {
  #header-content {
    width: min(350px, 100%);
  }
}

@media (max-width: 1024px) {
  header {
    background-image: url(./Images/HeroMobile.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: calc(100vh - 72px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
  }

  #header-content {
    width: 100%;
    max-width: 700px;
  }
}

@media (max-width: 590px) {
  header {
    background-image: url(./Images/HeroMobile.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: calc(100vh - 72px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
  }

  #header-content {
    width: 100%;
    max-width: 700px;
  }
}

/*---------- Grooming Services ----------*/

main {
  display: flex;
  width: 100%;
  padding: 112px 64px;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

#main-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  align-self: stretch;
}

#main-services-grid {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* Shared card styles */
.main-h3-card,
.main-other-card,
.main-touchups-card {
  border: 1px solid #8ea3c7;
  background-color: #ffffff;
  overflow: hidden;
}

/* Images */
.main-h3-card img,
.main-touchups-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Large cards */
.main-h3-card {
  display: flex;
  flex-direction: column;
}

.main-h3-card img {
  aspect-ratio: 16 / 9;
}

.main-h3-card-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
}

.main-h3-card-content-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Touch Ups */
.main-touchups-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}

.main-touchups-card img {
  height: 100%;
}

.main-touchupscontent-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 32px;
}

/* Other Services */
.main-other-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

.main-list-card {
  display: flex;
  gap: 40px;
}

.main-list-card ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-list-card li {
  margin: 0;
}

main a {
  color: black;
  text-decoration: none;
}

/*---------- Responsive ----------*/

@media (max-width: 900px) {
  main {
    padding: 80px 24px;
    gap: 56px;
  }

  /* Flatten layout */
  #main-services-grid {
    flex-direction: column;
  }

  /* REMOVE column behavior */
  .services-column {
    display: contents;
  }

  /* Now ordering works globally */
  .card-complete {
    order: 1;
  }

  .card-touchups {
    order: 2;
  }

  .card-bath {
    order: 3;
  }

  .card-other {
    order: 4;
  }

  /* Card adjustments */
  .main-touchups-card {
    grid-template-columns: 1fr;
  }

  .main-h3-card img,
  .main-touchups-card img {
    aspect-ratio: 16 / 10;
  }

  .main-h3-card-content,
  .main-touchupscontent-card,
  .main-other-card {
    padding: 24px;
    gap: 20px;
  }

  .main-list-card {
    flex-direction: column;
    gap: 12px;
  }
}

/*---------- Testimonials ----------*/
#testimonials {
  background-image: url(./Images/Testimonials.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 112px 0;
  overflow: hidden;
}

#testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  padding: 0 64px;
}

#testimonials-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#testimonials-track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: max-content;
  min-width: 100%;
  padding: 0 64px;
}

.testimonials-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: clamp(280px, 32vw, 420px);
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 32px);
  border: 1px solid #000000;
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
  flex-shrink: 0;
}

.stars {
  color: #2776B2;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 1rem;
}

.reviews-text,
.reviews-names {
  margin: 0;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.profile-images {
  width: 56px;
  height: 56px;
  border-radius: 56px;
  object-fit: cover;
  flex-shrink: 0;
}

.reviews-names {
  font-weight: 600;
}

/*---------- Large Tablet ----------*/
@media (max-width: 1024px) {
  #testimonials {
    padding: 96px 0;
    gap: 56px;
  }

  #testimonials-header {
    padding: 0 40px;
  }

  #testimonials-track {
    padding: 0 40px;
    gap: 24px;
  }

  .testimonials-card {
    width: clamp(300px, 70vw, 380px);
  }
}

/*---------- Mobile ----------*/
@media (max-width: 767px) {
  #testimonials {
    padding: 80px 0;
    gap: 40px;
    background-position: center;
  }

  #testimonials-header {
    padding: 0 20px;
  }

  #testimonials-header p br {
    display: none;
  }

  #testimonials-track {
    padding: 0 20px;
    gap: 20px;
  }

  .testimonials-card {
    width: clamp(260px, 85vw, 340px);
    padding: 24px;
    gap: 20px;
  }

  .reviewer {
    gap: 12px;
  }

  .profile-images {
    width: 52px;
    height: 52px;
  }
}


/*---------- My Story ----------*/
#mystory {
  display: flex;
  width: 100%;
  padding: 112px 64px;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

#mystory-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 320px;
  min-width: 350px;
}

#mystory aside {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  min-width: 0;
}

#mystory aside img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}



/*---------- Call To Action ----------*/
#cta {
  background-color: #DCF3FF;
  display: flex;
  min-width: 100%;
  padding: 112px 64px;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

#cta-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

}

#cta-buttons {
  display: flex;
  padding-top: 16px;
  align-items: flex-start;
  gap: 16px;
}

/*---------- Footer ----------*/
footer {
  display: flex;
  min-width: 100%;
  padding: 80px 64px;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

#footer-content {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 66px;
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#footer-right {
  display: grid;
  grid-gap: 12px 70px;
  grid-template-areas:
    "services mystory"
    "reviews contactinfo"
    "faq booknow";
  margin-left: 0;
}

#footer-right a {
  min-width: 103px;
}

#footer-credits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

footer a {
  text-decoration: none;
  color: #000000;
}

.divider {
  height: 1px;
  align-self: stretch;
  background-color: #000000;
}