/* 
 * Contact Page - Green/Teal Color Theme
 * Maintains all original styles with new color scheme
 */

/* 
 * CONTACT PAGE - Complete Green/Teal Theme
 * All original functionality preserved
 */

/* ===== Base Variables ===== */
:root {
  /* Primary Teal/Green Colors */
  --primary-50: #f0fdf9;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* Accent Colors */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-section {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-600) 100%);
  padding: 1.5rem 0;
  color: var(--white);
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: var(--white);
  transition: var(--transition);
  opacity: 0.8;
  text-decoration: none;
}

.breadcrumb-link:hover {
  opacity: 1;
  color: var(--primary-200);
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.75rem;
  color: var(--white);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

/* ===== Contact Hero Section ===== */
.contact-hero-section {
  background-color: var(--primary-50);
  background-image: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
  color: var(--gray-800);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--primary-100);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-subtitle {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-700);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.contact-subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-400);
  border-radius: 2px;
}

.contact-description {
  max-width: 800px;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ===== Contact Form Section ===== */
.contact-form-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--white);
  font-weight: 700;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-400);
  border-radius: 1.5px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-method i {
  margin-right: 1rem;
  color: var(--primary-300);
  font-size: 1.25rem;
  width: 1.5rem;
  text-align: center;
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.contact-link:hover {
  color: var(--primary-300);
  border-bottom-color: var(--primary-300);
}

.social-media {
  margin-top: 2.5rem;
}

.social-media h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary-600);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--gray-50);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  background-color: var(--white);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-600);
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.form-checkbox a {
  color: var(--primary-600);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-300);
  transition: var(--transition);
}

.form-checkbox a:hover {
  color: var(--primary-700);
  border-bottom-color: var(--primary-500);
}

.submit-btn {
  background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.submit-btn:hover {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-800) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-500);
  border-radius: 2px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    padding: 0;
  }
  
  .faq-container {
    padding: 0;
  }
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--white);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.faq-toggle {
  background: none;
  border: none;
  color: var(--primary-600);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.faq-toggle:hover {
  background-color: var(--primary-50);
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.25rem 1.25rem;
  max-height: 500px;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

.faq-answer p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Map Section ===== */
.map-section {
  height: 450px;
}

.map-container {
  height: 100%;
  width: 100%;
}

.map-container iframe {
  border: none;
  height: 100%;
  width: 100%;
}

/* ===== Messages & Modals ===== */
.success-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--success);
}

.error-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--error);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 400px;
  overflow: hidden;
}

.modal-content {
  padding: 2rem;
  text-align: center;
}

.modal-content.success {
  border-top: 4px solid var(--success);
}

.modal-content.error {
  border-top: 4px solid var(--error);
}

.modal-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-800);
}

.modal-button {
  background: var(--primary-600);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-button:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
}

.modal-button:active {
  transform: translateY(0);
}

/* ===== Animations ===== */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .contact-title {
    font-size: 1.125rem;
  }
  
  .contact-subtitle {
    font-size: 2rem;
  }
  
  .contact-description {
    font-size: 1rem;
  }
  
  .contact-form, 
  .contact-info {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}