
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #fcfdaf; 
  color: #333;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.main-header {
  background-color: #eafd94fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #fffae1;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  max-height:45px;
  width: auto;
}

nav a {
  color: #333;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f17559; 
}

main {
  padding: 20px;
}

h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ---------------------------
    FAQ Accordion
---------------------------- */
.accordion-button::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  content: "–";
  transform: rotate(180deg);
}

.accordion-button {
  font-weight: 600;
  background-color: #fff9e1;
  color: #333;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background-color: #fffef8;
  border-left: 3px solid #f4c542;
}

/* ---------------------------
    Contact Form
---------------------------- */
.contact-form input {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
}

.contact-form button {
  background-color: #FA5D3A;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  padding: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

footer {
  background-color: #FA5D3A;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.95rem;
}

/* ---------------------------
    Service Tabs
---------------------------- */
.service-tabs .nav-tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.service-tabs .nav-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari */
}

.service-tabs .nav-item {
  flex: 0 0 auto;
  margin-right: 15px;
}

.service-tabs .nav-link {
  border: none;
  color: #333;
  background: none;
  padding: 10px 15px;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.service-tabs .nav-link.active {
  border-bottom: 3px solid #ff7b00;
  color: #ff7b00;
}

.service-tabs .service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .tab-content .row {
    flex-direction: column;
    text-align: center;
  }
  .tab-content img {
    max-width: 80%;
    margin-top: 15px;
  }
}

/* ---------------------------
    Dashboard styles (Scoped to .dashboard)
---------------------------- */
.dashboard {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fff9e1;
  overflow-x: hidden;
}

.dashboard .sidebar {
  width: 250px;
  background: #ffeac2;
  color: #333;
  position: fixed;
  left: -250px;
  top: 0;
  height: 100%;
  padding-top: 60px;
  transition: left 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  z-index: 10;
}
.dashboard .sidebar.open { left: 0; }
.dashboard .sidebar a {
  display: block;
  padding: 15px 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.dashboard .sidebar a:hover { background-color: #fff4c4; }

.dashboard header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ensures left & right alignment */
  padding: 8px 15px;
  background: #ffcc70;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

/* Left menu icon */
.dashboard .menu-icon {
  font-size: 22px;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 20px;
}

/* Center welcome message */
#welcomeMessage {
  flex: 1;
  text-align: center;
  font-weight: 600;
}

/* Right profile icon */
.dashboard .profile-section {
  flex: 0 0 auto;
  margin-right: 10px;
  position: relative;
}

.dashboard .profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #333;
  border: 2px solid #333;
  cursor: pointer;
}
.dashboard .profile-section { position: relative; display: inline-block; margin-right: 20px; }
.dashboard .profile-icon {
  width: 40px; height: 40px; border-radius: 60%;
  background-color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; font-weight: bold; color: #333; border: 2px solid #333;
}

.dashboard .dropdown-menu {
  position: absolute; top: 50px; right: 0;
  background-color: white; min-width: 150px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px; overflow: hidden; z-index: 20;
  opacity: 0; transform: translateY(-10px); visibility: hidden;
  transition: all 0.3s ease;
}
.dashboard .dropdown-menu.show { opacity: 1; transform: translateY(0); visibility: visible; }
.dashboard .dropdown-menu a {
  display: block; padding: 12px 16px; color: #333; text-decoration: none; font-size: 14px;
}
.dashboard .dropdown-menu a:hover { background-color: #ffedb3; }

.dashboard .profile-banner {
  margin-top: 70px; background: #fff4c4; padding: 10px;
  white-space: nowrap; overflow: hidden; position: relative;
}
.dashboard .profile-banner span {
  display: inline-block; padding-left: 100%;
  animation: scrollText 15s linear infinite;
  font-weight: 600; color: #333;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.dashboard .main {
  margin-top: 130px; padding: 20px;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 20px;
}

/* Layout wrapper: left slider + main content */
.content-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dashboard .slider {
  width:400px;
  max-width: 32%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  position: sticky;
  top: 90px; /* below header */
  padding: 8px;
}
.dashboard .slider .slide-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Ensure the main column grows to take remaining space */
.content-row .main {
  flex: 1 1 auto;
  margin-top: 0; /* header spacing handled globally */
}

/* Auth links in header */
.auth-links {
  margin-left: 12px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.auth-links a {
  color: #333;
  text-decoration: none;
  background: rgba(255,255,255,0.6);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.06);
}
.auth-links a.signup-link {
  background: #FA5D3A;
  color: #fff;
  border: none;
}

.dashboard .service-card {
  background: white; width: 250px; border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  overflow: hidden; text-align: center; transition: 0.3s;
}
.dashboard .service-card:hover {transform: translateY(-6px) scale(1.02);box-shadow: 0 10px 25px rgba(0,0,0,0.18);}
.dashboard .service-card img { width: 100%; height: 200px; object-fit: cover; object-position: center center;display: block; }
.dashboard .service-info { padding: 15px; }
.dashboard .service-info h3 { margin: 5px 0; color: #333; }
.dashboard .service-info p { font-size: 14px; color: #555; margin-bottom: 10px; }
.dashboard .book-btn {
  background: #ffcc70; border: none; padding: 10px 20px;
  border-radius: 25px; cursor: pointer; font-weight: 600; transition: 0.3s;
}
.dashboard .book-btn:hover { background: #ffb84d; }

/* ==================================================
   GLOBAL POPUP SYSTEM (Booking, Review, Profile)
   ================================================== */

.dashboard .overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard .overlay.active {
  display: block;
  opacity: 1;
}

.dashboard .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 700px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  padding: 28px;
  z-index: 1000;
  display: none;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.25s ease;
  font-size: 18px;
}

.dashboard .popup.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Close Button */
.dashboard .popup > .close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.dashboard .popup > .close-btn:hover {
  color: #FA5D3A;
}

.dashboard .popup label {
  font-weight: 600;
  font-size: 17px;
  color: #fa903a;
  margin-bottom: 4px;
}
.dashboard .popup h2 {
  margin-bottom: 5px;
}

.dashboard .popup h3 {
  margin: 10px 0 15px;
}
#formSection_Training {
  gap: 8px !important;
}

/* =================================
   BOOKING FORM PROFESSIONAL LAYOUT
================================= */

.dashboard .form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.dashboard .form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.dashboard .form-group.full {
   grid-column: span 2;
}

/* Inputs */
.dashboard .popup input,
.dashboard .popup select {
  height: 38px;
}

.dashboard .popup textarea {
  min-height: 90px;
}

.dashboard .popup input,
.dashboard .popup select,
.dashboard .popup textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #f0c38b;
  background: #fffdf8;
  font-size: 14px;
}

.dashboard .popup input:focus,
.dashboard .popup select:focus,
.dashboard .popup textarea:focus {
  border-color: #ff7b00;
  box-shadow: 0 0 0 3px rgba(255,123,0,0.15);
}
/* =================================
   Checkbox Alignment (All Booking Popups)
================================= */

.checkbox-row {
  display: flex;
  align-items: center;   /* perfect vertical center */
  gap: 10px;
  margin-top: 14px;
}

.checkbox-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #ff7b00;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;   /* prevents stretching */
}

.checkbox-row label {
  font-size: 15px;
  font-weight: 600;
  color: #e85a3b;
  cursor: pointer;
  margin: 0;
  line-height: 1.3;
}

/* Grooming subtitle alignment */
.groom-desc {
  font-size: 16px;
  color: #555;
  margin: 6px 0 16px 25px;
  line-height: 1.5;
}

/* =================================
   Discount Code Alignment
================================= */

.discount-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.discount-row input {
  flex: 1;
}

.discount-row button {
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: none;
  background: #6c757d;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.discount-row button:hover {
  background: #5a6268;
}

/* ==================================================
   PROFILE POPUP
   ================================================== */

.dashboard .profile-popup {
  max-width: 750px;
  padding: 30px;
}

.dashboard .profile-popup h4 {
  border-bottom: 2px solid #fca311;
  display: inline-block;
  margin: 25px 0 15px;
  padding-bottom: 4px;
}

.dashboard .profile-popup .grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.dashboard .profile-popup input,
.dashboard .profile-popup select {
  padding: 12px;
  border: 1px solid #fca311;
  border-radius: 8px;
}

.dashboard .profile-popup .file-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dashboard .profile-popup input[type="file"] {
  height: 46px;
  padding: 8px;
}

.dashboard .profile-popup #saveProfile {
  background: #fca311;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  border: none;
  width: 100%;
  margin-top: 25px;
  font-weight: bold;
}
/* ==================================================
   GLOBAL RESPONSIVE RULES
   ================================================== */

@media (max-width: 768px) {
  .dashboard .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard .profile-popup .grid-row {
    grid-template-columns: 1fr;
  }

  .dashboard .popup {
    padding: 18px;
  }
}

.certified-pet-care-section {
background: #fdfdfd;
border-radius: 20px;
padding: 60px 0;
}

.certified-pet-care-section h2 {
color: #333;
font-size: 2rem;
}

/* --- Care cards --- */
.care-card {
background: #fff;
border-radius: 18px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
text-align: left;
transition: all 0.3s ease-in-out;
width: 100%;
}

.care-card i {
font-size: 1.8rem;
color: #28a745;
margin-bottom: 10px;
}

.care-card h5 {
font-weight: 600;
color: #333;
margin-bottom: 5px;
}

.care-card p {
font-size: 0.9rem;
color: #666;
margin-bottom: 0;
}

.care-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.certified-pet-care-section .row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
gap: 30px;
}

.certified-pet-care-section .col-lg-4 {
flex: 1 1 30%;
display: flex;
flex-direction: column;
}

/* --- Center Image --- */
.center-illustration {
  max-width: 85%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
  position: relative;     /* ✅ FIX */
  display: block;
  margin: 0 auto;         /* ✅ CENTER */
}

.center-illustration:not(.d-none) {
opacity: 1;
position: relative;
}
.google-signup {
  text-align: center;
  margin-top: 15px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  width: 100%;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.google-btn:hover {
  background: #f8f8f8;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.google-icon {
  width: 20px;
  height: 20px;
}
.google-btn span {
  font-size: 14px;
}

.review-header {
  text-align: center;
  margin: 0 auto;
  padding: 0;
}

.review-logo {
  width: 60px;
  height: auto;
  display: block;
  filter: contrast(1.5) brightness(0.9);
  opacity: 0.95;
}

.company-name {
  font-size: 21px;
  font-weight: 700;
  color: #222;
}

.company-tagline {
  font-size: 14px;
  color: #555;
  margin: 0; /* removes all vertical margin */
}

.sub-heading {
  font-size: 14px;
  font-weight: 500;
  color: #777;
  padding: 6px 0 8px 0;
  border-top: 1px solid #f5dba0;
  border-bottom: 1px solid #f5dba0;
  display: inline-block;
  width: 100%;
  max-width: 340px;
  margin: 6px auto 0 auto; /* small space before confirmation line */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .review-logo { width: 65px; margin-bottom: 2px; }
  .company-name { font-size: 18px; }
  .company-tagline { font-size: 13px; }
  .sub-heading { font-size: 13px; max-width: 280px; }
}

@media (max-width: 480px) {
  .review-logo { width: 55px; margin-bottom: 0px; }
  .company-name { font-size: 17px; }
  .company-tagline, .sub-heading { font-size: 0px; }
}
.section-five p {
  text-align: justify;
  text-justify: inter-word;
  max-width: 900px;
  margin: 20px auto;
  font-size: 17px;
  line-height: 1.8;
}
/* Align full page width */
section {
  max-width: 1200px;
  margin: 0 auto;
}
/* Make entire page background light yellow */
body,
section,
.container,
.tab-content,
.accordion-button,
.accordion-body {
    background-color: #fff7d6 !important;
}

/* Remove white background from cards */
.service-card,
.care-card {
    background-color: #fffdf2 !important;
}
/* Fix About Us to align like Contact Us */
.section-five {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left !important;
}

.section-five h2 {
  text-align: left !important;
  margin-left: 0;
}

.section-five p {
  text-align: justify;
  text-justify: inter-word;
  max-width: 100%;
  margin-left: 0;
}
/* Change homepage Book Now button to #e74c3c */
.btn-primary {
    background-color: #f07a43 !important;
    border-color: #f56855 !important;
}

.btn-primary:hover {
    background-color: #fd9051 !important;
    border-color: #f57d58 !important;
}
/* Remove yellow container background inside nav */
nav .container {
    background-color: transparent !important;
}

/* Make nav links white */
.dating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.dating-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dating-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}
.dating-card h5 {
  margin: 10px 0 5px 0;
  color: #333;
  font-weight: 600;
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #fca311;
  border-radius: 4px;
}

.discount-row input {
  flex: 1;
}

.discount-row button {
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: #6c757d;
  color: #fff;
  font-weight: 600;
}
.booking-summary {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.booking-summary h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.review-btn {
  background: #ff7b00;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: 0.3s;
}

.review-btn:hover {
  background: #e66900;
}

/* RECORDS TABLE FIX */
#recordsSection table {
    width: 125%;              /* ✅ FIXED */
    border-collapse: collapse;
    table-layout: fixed;
    margin: 50px auto -1px 0px;           /* ✅ center safety */
}

#recordsSection th,
#recordsSection td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
}

#recordsSection th {
    color: rgb(17, 17, 17);
}

/* File input */
#recordsSection input[type="file"] {
    width: 100%;
    font-size: 12px;
}

/* Summary column */
#recordsSection td:last-child {
    min-width: 140px;
}

#recordsSection .container {
    max-width: 1100px;
    margin: 0px;
}

#recordsSection table {
    width: 160%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-left: 0;   /* ✅ align with heading */
}

.why-shvan {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.why-shvan p {
  text-align: justify;
  line-height: 1.8;
  font-size: 17px;
  color: #444;
}
.btn-primary {
  background: linear-gradient(135deg, #ff7b00, #ff3d00) !important;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

video {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.contact-form input {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #ddd;
}

.contact-form input:focus {
  border-color: #ff7b00;
  box-shadow: 0 0 0 3px rgba(255,123,0,0.1);
}
/* Move Contact Us content slightly left */
.section-eight .container {
  padding-left: 0 !important;
}
.tagline {
  font-size: 10px;
  color: #ff7b00;
  font-weight: 500;
  letter-spacing: 0.5px;
   margin-left: -40px;
}

.illustration-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}