/* Contact Us Page Specific Styles */

/* Contact Hero */
.contact-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #E6F7F6 0%, #FFF9E6 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-hero-text {
  flex: 1;
}

.contact-hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.contact-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--primary);
  opacity: 0.4;
  z-index: -1;
}

.contact-hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.contact-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-stat {
  text-align: center;
}

.contact-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--heading-font);
  margin-bottom: 5px;
}

.contact-stat-number i {
  margin-right: 8px;
  color: var(--primary);
}

.contact-stat-text {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
}

.contact-hero-image {
  flex: 1;
  position: relative;
}

.floating-chat {
  position: absolute;
  top: -30px;
  right: -20px;
  z-index: 1;
}

.floating-chat i {
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.6;
  margin-left: 15px;
  animation: float-chat 5s ease-in-out infinite;
  display: block;
  margin-bottom: 15px;
}

.floating-chat i:nth-child(2) {
  animation-delay: 1s;
  color: var(--primary);
  font-size: 2rem;
  position: relative;
  left: 20px;
}

@keyframes float-chat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.hero-contact-img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-1deg);
  transition: transform 0.5s ease;
}

.hero-contact-img:hover {
  transform: rotate(0deg);
}

/* Contact Options */
.contact-options {
  padding: 5rem 0;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.option-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.option-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.option-card h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.option-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.option-details {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.option-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.option-details strong {
  color: var(--dark);
}

.option-btn {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 1rem;
  width: 100%;
}

.option-btn i {
  margin-right: 8px;
}

.option-btn:hover {
  background-color: #3db8af;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(78, 205, 196, 0.2);
}

/* Contact Form Section */
.contact-form-section {
  padding: 5rem 0;
  background-color: #F9FAFD;
}

.form-container {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.form-header p {
  color: #666;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #eee;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group.focused label {
  color: var(--secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.pet-type-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.pet-option {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pet-option:hover {
  border-color: var(--primary);
  background-color: #FFF9E6;
}

.pet-option.active {
  border-color: var(--primary);
  background-color: #FFE8F0;
  color: var(--primary);
}

.pet-option i {
  font-size: 1.5rem;
  color: var(--dark);
}

.pet-option.active i {
  color: var(--primary);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #666;
}

.checkbox-label input {
  margin-top: 4px;
}

.form-submit {
  text-align: center;
  margin-top: 1rem;
}

.submit-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background-color: #ff5573;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 139, 0.3);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--dark);
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: #666;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Store Location */
.store-location {
  padding: 5rem 0;
  background-color: #F9FAFD;
}

.location-content {
  display: flex;
  gap: 4rem;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.location-info {
  flex: 1;
}

.location-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent2);
}

.location-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

.store-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-item i {
  font-size: 1.5rem;
  color: var(--primary);
  background-color: #FFE8F0;
  padding: 12px;
  border-radius: 50%;
  min-width: 50px;
  text-align: center;
}

.detail-item h4 {
  margin-bottom: 5px;
  color: var(--dark);
}

.detail-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #666;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-btn:hover {
  background-color: #ffc24d;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 209, 102, 0.2);
}

.location-map {
  flex: 1;
}

.map-placeholder {
  background: linear-gradient(135deg, #E6F7F6 0%, #FFF9E6 100%);
  border-radius: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.map-placeholder i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.map-placeholder p {
  color: var(--dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.map-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-marker {
  background-color: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(255, 107, 139, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Live Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-toggle {
  background-color: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 107, 139, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  background-color: #ff5573;
  transform: scale(1.1);
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent2);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  animation: pulse 2s infinite;
}

.chat-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  overflow: hidden;
  border: 1px solid #eee;
}

.chat-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin-bottom: 0;
  color: white;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 80%;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.message-avatar i {
  color: var(--dark);
  font-size: 0.9rem;
}

.chat-message.bot .message-avatar {
  background-color: #FFE8F0;
}

.chat-message.bot .message-avatar i {
  color: var(--primary);
}

.message-content {
  background-color: #f9f9f9;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.bot .message-content {
  background-color: #FFE8F0;
  border-bottom-left-radius: 5px;
}

.chat-message.user .message-content {
  background-color: var(--secondary);
  color: white;
  border-bottom-right-radius: 5px;
}

.chat-input {
  display: flex;
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 50px;
  border: 2px solid #eee;
  font-family: var(--body-font);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--secondary);
}

.send-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.send-btn:hover {
  background-color: #ff5573;
  transform: scale(1.05);
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: white;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modal-icon {
  font-size: 4rem;
  color: var(--accent2);
  margin-bottom: 1.5rem;
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent2);
}

.modal-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

.modal-close-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background-color: #ff5573;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 139, 0.3);
}

/* Newsletter Customization for Contact Page */
.newsletter .contact-btn {
  background-color: var(--secondary);
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.newsletter .contact-btn:last-child {
  background-color: var(--primary);
}

.newsletter .contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
  .contact-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-hero-text p {
    margin: 0 auto 2rem;
  }

  .location-content {
    flex-direction: column;
  }

  .contact-hero-stats {
    justify-content: center;
  }

  .store-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-hero-text h1 {
    font-size: 2.5rem;
  }

  .contact-hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .form-container {
    padding: 2rem;
  }

  .chat-container {
    width: 300px;
  }

  .floating-chat {
    display: none;
  }
}

@media (max-width: 576px) {
  .contact-hero-text h1 {
    font-size: 2rem;
  }

  .contact-stat-number {
    font-size: 1.3rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .pet-type-selector {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .chat-container {
    width: calc(100vw - 40px);
    right: -10px;
  }
}