/* style.css | Trendy Glow Petcare | Elegant Classic Theme | Mobile-First Flexbox Layout */

/* -----------------------------------------
   CSS Reset & Normalize
----------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F1F7F8;
  color: #23231E;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* -----------------------------------------
   Font Imports & Base Typography
----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Roboto:wght@400;500&display=swap');

:root {
  --brand-primary: #25617A;
  --brand-secondary: #F2C66D;
  --brand-accent: #F1F7F8;
  --brand-text-dark: #23231E;
  --brand-grey: #8A8998;
  --brand-shadow: rgba(37, 97, 122, 0.07);
}

body {
  font-family: 'Roboto', Times, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text-dark);
  background: var(--brand-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Times, Georgia, serif;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-top: 8px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }

p, ul li, ol li, blockquote {
  font-family: 'Roboto', Times, 'Times New Roman', serif;
  font-size: 1.06rem;
  color: var(--brand-text-dark);
  margin-bottom: 12px;
}
strong, b {
  font-family: 'Montserrat', Times, Georgia, serif;
  font-weight: 600;
  color: var(--brand-primary);
}

a {
  color: var(--brand-primary);
  transition: color 0.2s;
}
a:hover, .footer-nav a:hover { color: var(--brand-secondary); }

blockquote {
  font-style: italic;
  border-left: 4px solid var(--brand-secondary);
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--brand-primary);
  background: #fffdfa;
}

/* -----------------------------------------
   Layout Containers & Structure
----------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

main {
  min-height: 56vh;
  background: var(--brand-accent);
  padding-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--brand-shadow);
}

/* -----------------------------------------
   Flex Containers & Core Patterns
----------------------------------------- */
.feature-grid,
.card-container,
.content-grid,
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  border: 1px solid #f3e6c6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 270px;
  background: #fffefa;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  border: 1px solid #f6e4b5;
  margin-bottom: 20px;
  transition: box-shadow 0.22s linear, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 8px 20px var(--brand-shadow), 0 0 0 2px var(--brand-secondary);
  transform: translateY(-4px);
  cursor: pointer;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px var(--brand-shadow);
  padding: 22px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -----------------------------------------
   Spacing & Alignment
----------------------------------------- */
.section + .section, .section + section {
  margin-top: 20px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

ul, ol {
  margin-bottom: 14px;
  padding-left: 0;
}
ul li, ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px; 
}
ul li:before {
  content: '\2022';
  color: var(--brand-secondary);
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0.15em;
}
ol {
  list-style-type: decimal;
  padding-left: 30px;
}
ol li:before { display: none; }

.text-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* -----------------------------------------
   HERO SECTION
----------------------------------------- */
.hero {
  background: linear-gradient(135deg, #F1F7F8 70%, #f7ecd5 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 32px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 10px;
  color: var(--brand-primary);
  letter-spacing: 0.5px;
}
.hero p {
  font-size: 1.22rem;
  color: var(--brand-grey);
  margin-bottom: 27px;
}

/* -----------------------------------------
   BUTTONS & INTERACTION
----------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Montserrat', Times, serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 10px 12px 0 0;
  box-shadow: 0 2px 6px var(--brand-shadow);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.16s;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff !important;
  border: 1px solid var(--brand-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #16455b;
  color: #fff;
  box-shadow: 0 4px 18px var(--brand-shadow);
}
.btn-secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #e2ae39;
  color: var(--brand-primary);
  box-shadow: 0 4px 18px var(--brand-shadow);
}

/* Links inside btns */
.btn-primary img, .btn-secondary img {
  margin-left: 10px;
}

/* -----------------------------------------
   NAVIGATION & HEADER
----------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px var(--brand-shadow);
  padding: 0;
  margin-bottom: 0;
  border-bottom: 1.5px solid #f2ead0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 12px 14px;
  border-radius: 5px;
  color: var(--brand-primary);
  font-family: 'Montserrat', Times, serif;
  font-size: 1.01rem;
  font-weight: 600;
  transition: background 0.13s, color 0.16s;
}
.main-nav .btn-primary {
  margin-left: 20px;
  box-shadow: none;
}
.main-nav a:hover:not(.btn-primary) {
  background: #f8f5ec;
  color: var(--brand-secondary);
}
.mobile-menu-toggle {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2rem;
  border-radius: 6px;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 20px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD98A;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(241,247,248,0.97);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--brand-primary);
  font-size: 2.4rem;
  font-weight: 400;
  align-self: flex-end;
  margin: 22px 28px 0 0;
  cursor: pointer;
  border: none;
  transition: color 0.22s;
  z-index: 1200;
}
.mobile-menu-close:hover {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 40px;
  padding: 0 32px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid #ededed;
  color: var(--brand-primary);
  font-family: 'Montserrat', Times, serif;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 0;
  transition: background 0.12s, color 0.16s;
}
.mobile-nav a:hover {
  background: #f8f5ec;
  color: var(--brand-secondary);
}

/* Show/hide nav elements responsively */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none;
  }
}

/* -----------------------------------------
   CARDS, TABLES, SPECIAL ELEMENTS
----------------------------------------- */
.services-list, .benefits-list ul {
  margin-bottom: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffefa;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px var(--brand-shadow);
}
.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid #ffe6a4;
}
.pricing-table th {
  background: #f7ecd5;
  color: var(--brand-primary);
  font-family: 'Montserrat', serif;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* Team page */
.team-member {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  min-width: 220px;
  flex: 1 1 220px;
  border: 1px solid #f3e6c6;
  transition: box-shadow 0.16s linear, transform 0.18s;
}
.team-member:hover {
  box-shadow: 0 8px 18px var(--brand-shadow), 0 0 0 1.8px var(--brand-secondary);
  transform: translateY(-3px);
}
.team-member h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1.2rem;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(90deg, #F2C66D 77%, #f8f0e0 100%);
  padding: 40px 0 38px 0;
  margin-top: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(37, 97, 122, 0.05);
}
.cta-banner h2 {
  color: var(--brand-primary);
  letter-spacing: 0.3px;
}
.cta-banner p { color: #5b5b46; }

/* -----------------------------------------
   TESTIMONIALS & REVIEWS
----------------------------------------- */
.testimonial-card {
  background: #fffefa;
  color: var(--brand-primary);
  font-family: 'Roboto', serif;
  font-size: 1.11rem;
  border-left: 5px solid var(--brand-secondary);
  border-radius: 10px;
  min-width: 225px;
  max-width: 660px;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  margin: 0;
  padding: 0;
  font-style: italic;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #857134;
  font-size: 0.98rem;
  padding-left: 5px;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
footer {
  background: #fff;
  border-top: 1.5px solid #f2ead0;
  box-shadow: 0 -2px 10px var(--brand-shadow);
  padding: 46px 0 0 0;
  margin-top: 48px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding-bottom: 12px;
}
.footer-logos {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  margin-right: 10px;
  margin-bottom: 3px;
  border-radius: 3px;
  padding: 6px 10px;
  transition: background 0.14s, color 0.11s;
}
.footer-nav a:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.footer-contact span {
  display: flex;
  align-items: center;
  color: var(--brand-grey);
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px; height: 20px;
  margin-right: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  background: #f2e3b3;
  border-radius: 5px;
  padding: 5px 7px;
  transition: background 0.17s, box-shadow 0.16s;
}
.footer-social a:hover {
  background: var(--brand-secondary);
  box-shadow: 0 2px 10px var(--brand-shadow);
}
.footer-copyright {
  text-align: left;
  color: #88886c;
  font-size: 0.87rem;
  margin-top: 5px;
  padding-bottom: 18px;
}

/* -----------------------------------------
   RESPONSIVE DESIGN (Mobile-First)
----------------------------------------- */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .team-profiles {
    gap: 18px;
  }
  .feature-item, .team-member, .card {
    min-width: 100%;
    max-width: 100%;
  }
  .footer-nav, .footer-contact {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 38px;
    padding: 25px 6px 25px 6px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .hero h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .testimonial-card, .feature-item, .team-member {
    padding: 14px 11px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .feature-grid,
  .card-container,
  .content-grid,
  .team-profiles {
    flex-direction: column !important;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 14px;
  }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.18rem; }
  .hero p { font-size: 0.99rem; }
}

/* -----------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffefa;
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -4px 16px rgba(37, 97, 122, 0.12);
  padding: 23px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1200;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.36s, transform 0.36s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 0.98rem;
  color: var(--brand-text-dark);
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-btn, .cookie-btn-cookie-settings {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border-radius: 5px;
  padding: 9px 20px;
  font-weight: 600;
  cursor: pointer;
  border: 1.3px solid var(--brand-secondary);
  margin: 0 6px;
  transition: background 0.17s, color 0.13s, border-color 0.12s;
}
.cookie-btn.accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}
.cookie-btn.reject {
  background: #f4f1ea;
  color: #7b6126;
}
.cookie-btn-cookie-settings {
  background: #fff;
  color: var(--brand-primary);
  border-color: #d5b24d;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-btn-cookie-settings:hover, .cookie-btn-cookie-settings:focus {
  background: #f7ecd5;
  color: #986e34;
  border-color: var(--brand-secondary);
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,97,122,0.1);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffefa;
  border-radius: 13px;
  box-shadow: 0 8px 32px rgba(37,97,122,0.16);
  padding: 38px 30px 28px 30px;
  min-width: 310px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  font-size: 1.06rem;
  z-index: 1400;
  position: relative;
  border: 1.5px solid #fad667;
}
.cookie-modal h2 {
  font-size: 1.21rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-secondary);
  cursor: pointer;
}
.cookie-category .locked {
  font-style: italic;
  color: #a8a392;
  font-size: 0.98rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 18px; right: 16px;
  background: transparent;
  color: var(--brand-primary);
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-close-modal:hover {
  color: var(--brand-secondary);
}
@media (max-width: 640px) {
  .cookie-modal {
    padding: 22px 9px 14px 11px;
    min-width: 160px;
  }
  .cookie-modal-actions {
    gap: 7px;
  }
}

/* -----------------------------------------
   MISC
----------------------------------------- */
hr {
  border: none;
  height: 1px;
  background: #f6e2b7;
  margin: 22px 0 16px 0;
}
::-webkit-scrollbar { width: 9px; background: #F1F7F8; }
::-webkit-scrollbar-thumb { background: #ececf5; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #f8debc; }

/* Hide visually only, for accessibility (for banners, modals, etc) */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* -----------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
----------------------------------------- */
.btn-primary, .btn-secondary, .cookie-btn,
.cookie-btn-cookie-settings, .footer-social a,
.feature-item, .team-member, .main-nav a, .mobile-nav a {
  transition: 
    background 0.16s cubic-bezier(0.4,0,0.2,1),
    color 0.16s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.18s, transform 0.16s;
}
.cta-banner, .testimonial-card, .feature-item {
  transition: box-shadow 0.17s, background 0.22s;
}
.cookie-banner, .cookie-modal-overlay {
  transition: opacity 0.36s, transform 0.38s;
}

/* -----------------------------------------
   END OF STYLE.CSS
----------------------------------------- */