/* CONTACT PAGE STYLES */


/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: var(--text-primary);
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?cs=srgb&dl=pexels-fauxels-3184418.jpg&fm=jpg') center/cover;
  z-index: 0;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

.contact-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.contact-hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero-line {
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.contact-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: white;
}

.contact-hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.contact-info-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: contactShimmer 8s ease-in-out infinite;
}

@keyframes contactShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact-form-wrapper h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 15px;
}

.contact-form-description {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #64748b;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
}

.contact-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 77, 0, 0.4);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Contact Information */
.contact-info-wrapper h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 15px;
}

.contact-info-description {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info-grid {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  gap: 20px;
  align-items: start;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

.contact-info-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 8px;
}

.contact-info-details p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Social Media Links */
.contact-social h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 20px;
}

.contact-social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 77, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

/* FAQ Section */
.contact-faq {
  padding: 100px 0;
  background: var(--dark-bg);
  color: var(--text-primary);
  text-align: center;
}

.contact-faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-faq h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.faq-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 60px;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  gap: 20px;
  text-align: left;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 77, 0, 0.3);
}

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

.faq-question:hover {
  background: rgba(255, 77, 0, 0.05);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

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

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Map Section */
.contact-map {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
  text-align: center;
}

.contact-map-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-map h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1f2e;
}

.map-description {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.map-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #1a1f2e, #0b0f1c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.map-placeholder p {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.map-placeholder small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 40px;
  }

  .contact-form {
    padding: 35px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 14px 18px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: auto;
    padding: 80px 0;
  }

  .contact-hero-info {
    flex-direction: column;
    gap: 15px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-container {
    padding: 0 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-form {
    padding: 30px 25px;
    border-radius: 15px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
    padding: 14px 16px;
    min-height: 48px;
    border-radius: 8px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .contact-submit-btn {
    padding: 14px 28px;
    font-size: 1rem;
    min-height: 50px;
  }

  .contact-info-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  .contact-faq {
    padding: 60px 0;
  }

  .contact-map {
    padding: 60px 0;
  }

  .map-placeholder {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 60px 0;
  }

  .contact-hero-title {
    font-size: 1.8rem;
  }

  .contact-hero-description {
    font-size: 0.95rem;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-container {
    padding: 0 15px;
  }

  .contact-form {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .contact-form-wrapper h2,
  .contact-info-wrapper h2 {
    font-size: 1.5rem;
  }

  .contact-form-description,
  .contact-info-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
    min-height: 44px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .checkbox-label {
    font-size: 0.85rem;
  }

  .contact-submit-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .contact-info-card {
    padding: 18px;
  }

  .contact-info-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .contact-info-details h3 {
    font-size: 1rem;
  }

  .contact-info-details p {
    font-size: 0.9rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-faq h2 {
    font-size: 1.5rem;
  }

  .faq-description {
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 0.95rem;
  }

  .contact-map h2 {
    font-size: 1.5rem;
  }

  .map-description {
    font-size: 0.95rem;
  }

  .map-placeholder {
    height: 250px;
  }

  .map-placeholder i {
    font-size: 2rem;
  }

  .map-placeholder p {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  .contact-hero-title {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
    min-height: 42px;
  }

  .contact-submit-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed !important;           /* Ensure fixed positioning */
    bottom: 20px !important;              /* distance from bottom */
    right: 20px !important;               /* distance from right */
    z-index: 99997 !important;            /* lower than chatbot toggle */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: #25D366 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-float img {
    width: 25px;
    height: 25px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .chatbox-toggle {
        bottom: 15px;
        right: 70px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
