/* Contact Page CSS */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loader-content {
  text-align: center;
}

.loader-circle {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #6c63ff;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader h2 {
  font-size: 2.4rem;
  color: #6c63ff;
  font-weight: 700;
}

/* Header */
.contact-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.contact-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #6c63ff;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  padding: 5px 0;
  position: relative;
}

.main-nav a:hover {
  color: #6c63ff;
}

.main-nav a.active {
  color: #6c63ff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #6c63ff;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #333;
  margin-left: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background-color: #6c63ff;
  color: #fff;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ff6b6b;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

/* Hero Section */
.contact-hero {
  height: 400px;
  background-image: url("../images/contact-hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #6c63ff;
}

.hero-content p {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Contact Info Section */
.contact-info-section {
  padding: 0 0 80px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: -40px;
}

.contact-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.15);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}

.contact-icon i {
  font-size: 2.8rem;
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.contact-card p {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-card .hours {
  font-size: 1.3rem;
  color: #888;
  font-style: italic;
  margin-bottom: 20px;
}

.contact-link {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  border-radius: 30px;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.form-container h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.form-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
}

.form-intro {
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.5rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6c63ff;
}

.checkbox-group label {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.form-status {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  display: block;
}

.map-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-wrapper {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 400px;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.office-info {
  background-color: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.office-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 10px;
}

.office-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
}

.office-info p {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-info p i {
  color: #6c63ff;
  font-size: 1.6rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.faq-section h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
  color: #2c3e50;
}

.faq-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  font-weight: 600;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.faq-answer p {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

/* Social Media Section */
.social-section {
  padding: 80px 0;
  background-color: #fff;
}

.social-section h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  color: #2c3e50;
}

.social-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
}

.social-intro {
  text-align: center;
  font-size: 1.8rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.social-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.15);
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 2.8rem;
}

.facebook .social-icon {
  background: linear-gradient(135deg, #3b5998, #2d4373);
}

.twitter .social-icon {
  background: linear-gradient(135deg, #1da1f2, #0c85d0);
}

.instagram .social-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.linkedin .social-icon {
  background: linear-gradient(135deg, #0077b5, #00669c);
}

.social-card h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.social-card p {
  font-size: 1.5rem;
  color: #666;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.6rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.8rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #fff;
  color: #6c63ff;
}

.btn-primary:hover {
  background-color: #f0eeff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #6c63ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.main-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #6c63ff;
  transform: translateY(-5px);
}

.footer-column h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #6c63ff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #6c63ff;
  padding-left: 5px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
  margin-right: 10px;
  color: #6c63ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: #6c63ff;
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-methods img {
  height: 30px;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
  display: none;
  flex-direction: column;
  height: 450px;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.chat-widget.active {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 80%;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content {
  background-color: #f0eeff;
  padding: 10px 15px;
  border-radius: 15px;
  border-top-left-radius: 0;
  position: relative;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 0;
}

.message-content p {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.message-time {
  font-size: 1.1rem;
  color: #888;
  display: block;
  text-align: right;
}

.chat-message.user .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 1.4rem;
  outline: none;
}

.chat-input input:focus {
  border-color: #6c63ff;
}

.chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-input button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
  color: #fff;
  padding: 15px 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.8rem;
}

.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: #28a745;
  margin-bottom: 20px;
}

.modal-body p {
  font-size: 1.6rem;
  color: #555;
  margin-bottom: 0;
}

.modal-footer {
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-header .container {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .main-nav ul {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 3.6rem;
  }

  .hero-content p {
    font-size: 1.6rem;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .payment-methods {
    justify-content: center;
  }

  .chat-widget {
    width: 300px;
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .faq-section h2,
  .social-section h2,
  .cta-content h2 {
    font-size: 2.8rem;
  }

  .faq-question h3 {
    font-size: 1.6rem;
  }

  .chat-widget {
    width: calc(100% - 40px);
    height: 400px;
  }
}
