@import url('indexstyles.css');

body {
  font-family: 'Open Sans', sans-serif;
/*  background-color: var(--white);*/
  background: url('../images/sickpet.jpg') center/cover no-repeat fixed;
  color: #333;
  line-height: 1.6;
  transition: var(--transition);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Header */
header {
  background-color: var(--purple);
  color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 999;
  height: 120px;

}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  
}

.logo {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
}

/* Logo Styles */
.logo-img {
  height: 100px; 
  width: auto;
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: rotate(-15deg) scale(1.1);
}


.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-left: auto;
  padding: 0;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
}

/* Booking Page */

main.booking-page {
  padding-top: 100px; 
}

.booking-page {
  padding-top: 100px;
  background-color: var(--gray);
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.booking-header h1 {
  font-size: 2rem;
  color: var(--purple);
}

.booking-header p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #444;
}

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.form-group,
.form-row {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}


label {
  display: flex;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--purple);
}

label i {
  margin-right: 0.5rem;
  color: var(--teal);
}

input.form-control,
select.form-control,
textarea.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.payment-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Payment Button */
#payButton {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #4c2e82;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
}

#payButton:hover {
  background-color: #6135a8;
}


/* Registration Steps Styles */
.registration-steps {
  padding: 9rem 0;
  background-color: var(--white);
  background: url('../images/sickpet.jpg') center/cover no-repeat fixed;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gray);
  transition: var(--transition);
  cursor: pointer;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step.active {
  border-left-color: var(--teal);
  background: linear-gradient(135deg, #f8fdff 0%, #ffffff 100%);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gray);
  color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.step.active .step-number {
  background: var(--teal);
  color: white;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--purple);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-content h3 i {
  color: var(--teal);
}

.step-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.step-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.step-actions .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}

.btn-secondary:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-2px);
}

.step-info {
  background: var(--gray);
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--teal);
}

.step-info p {
  margin: 0;
  color: #555;
}

.steps-note {
  max-width: 800px;
  margin: 3rem auto 0;
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff8e1;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.note-card i {
  color: #ff9800;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.note-card p {
  margin: 0;
  color: #7d6608;
}

/* Responsive Design */
@media (max-width: 768px) {
  .step {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .step-actions {
    justify-content: center;
  }
  
  .step-actions .btn {
    flex: 1;
    min-width: 200px;
    justify-content: center;
  }
  
  .note-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .step-actions {
    flex-direction: column;
  }
  
  .step-actions .btn {
    min-width: 100%;
  }
}
/*Ad Sidebar*/
.ad-sidebar-floating {
  position: fixed;
  top: 80px;
  right: 20px;
  left: 0;
  width: 300px;
  height: 80%;
  background-color: var(--purple);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 999;
  color: white;
  border-radius: 0 8px 8px 0;
  transition: transform 0.3s ease;
}

.ad-sidebar-floating.left {
  left: 0;
  transform: translateX(0);
}

.ad-sidebar-floating.collapsed {
  transform: translateX(-100%);
}

.ad-sidebar-floating .ad {
  margin-bottom: 2rem;
  text-align: center;
}

.ad-sidebar-floating img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.ad-sidebar-floating h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--purple);
}

/* Toggle Button */
.toggle-ad-panel {
  position: fixed;
  top: 100px;
  left: 220px;
  background-color: var(--purple);
  color: white;
  padding: 0.5rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  z-index: 1000;
  transition: left 0.3s ease;
}

.ad-sidebar-floating.collapsed + .toggle-ad-panel {
  left: 0;
}

.toggle-ad-panel i {
  transition: transform 0.3s ease;
}

.ad-sidebar-floating.collapsed + .toggle-ad-panel i {
  transform: rotate(180deg);
}

/* Carousel Wrapper */
.ad-carousels-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ad-carousel {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
}

.ad-carousel .ad {
  position: absolute;
  margin-bottom: 1rem;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0.1rem;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
  text-align: center;
  box-sizing: border-box;
}

.ad-carousel .ad.active {
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
  position: relative;
}

/* Ad content */
.ad img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.ad h4 {
  font-size: 1rem;
  color: white;
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}

.ad a.btn-outline {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--teal);
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}

.ad a.btn-outline:hover {
  background-color: var(--teal);
  color: white;
}

.delivery-info {
  text-align: center;
  margin: 1rem 0;
}

.delivery-btn {
  background-color: var(--teal);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.delivery-btn:hover {
  background-color: var(--teal-light);
  transform: translateY(-2px);
}

/* Branding Footer */
.ad-branding-book {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: black;
  border-top: 1px solid var(--gray-dark);
  padding-top: 0.75rem;
}

.qr-code-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 100px;
  height: 100px;
  margin-bottom: 0.5rem;
}

.qr-label {
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .ad-sidebar-floating,
  .toggle-ad-panel {
    display: none;
  }
}


@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* ============================
   Footer
============================ */
.footer {
  background-color: var(--purple);
  color: var(--white);
  padding: 3rem 1rem ;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--teal-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--teal);
}

.footer-logo-img {
  height: 250px;
  width: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
  padding: 1rem;
}

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

.footer-qr-code {
  width: 120px;
  height: 120px;
  background-color: white;
  padding: 0.5rem;
  border-radius: 5px;
}


.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a {
  font-size: 1.2rem;
  margin-right: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--teal);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: white;
}


.chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--teal);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 1000;
  transition: var(--transition);
}

.chatbot-button:hover {
  background-color: var(--teal-light);
}

/* Responsive Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0;
    min-height: 400px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 1rem;
  }

  .nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .cta-buttons .btn {
    display: block;
    margin: 1rem auto;
  }

  .logo-img {
    height: 50px;
  }
  
  .brand-name {
    font-size: 1.2rem;
  }
  
  .qr-code-container {
    bottom: 70px;
    right: 10px;
  }
  
  .footer-qr-column,
  .footer-logo-column {
    align-items: center;
    text-align: center;
  }
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn ease 1s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

