/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.contact-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 61, 58, 0.85) 0%, rgba(74, 155, 142, 0.7) 100%);
  z-index: -1;
}

.contact-hero-content {
  color: #ffffff;
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #4a9b8e;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb i {
  font-size: 12px;
}

.contact-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
}

/* Contact Information Section */
.contact-info-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.contact-info-card {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-info-card:hover {
  background: #ffffff;
  border-color: #4a9b8e;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a3d3a 0%, #4a9b8e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.1);
}

.contact-info-icon i {
  font-size: 32px;
  color: #ffffff;
}

.contact-info-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3d3a;
  margin-bottom: 15px;
}

.contact-info-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
  font-weight: 400;
}

.contact-info-content a {
  color: #4a9b8e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-info-content a:hover {
  color: #1a3d3a;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4a9b8e;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: #1a3d3a;
}

.contact-note {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

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

.contact-form-left {
  max-width: 500px;
}

.contact-form-description {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a3d3a;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  background-color: #ffffff;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a9b8e;
  box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
}

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

.checkbox-group {
  margin-bottom: 30px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #1a3d3a 0%, #4a9b8e 100%);
  border-color: #4a9b8e;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a3d3a 0%, #4a9b8e 100%);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 61, 58, 0.3);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Contact Map */
.contact-form-right {
  position: sticky;
  top: 100px;
}

.contact-map {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-container {
  width: 100%;
  height: 400px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-info {
  padding: 30px;
}

.map-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3d3a;
  margin-bottom: 15px;
}

.map-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  font-weight: 400;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4a9b8e 0%, #1a3d3a 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 155, 142, 0.3);
}

/* Why Contact Us Section */
.why-contact-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.why-contact-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-contact-description {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  font-weight: 400;
  margin-top: 20px;
}

.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-contact-card {
  text-align: center;
  padding: 40px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.why-contact-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}

.why-contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4a9b8e 0%, #1a3d3a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

.why-contact-icon i {
  font-size: 28px;
  color: #ffffff;
}

.why-contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3d3a;
  margin-bottom: 15px;
}

.why-contact-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  font-weight: 400;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a3d3a 0%, #4a9b8e 100%);
  color: #ffffff;
}

.contact-cta-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-left h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-left p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.cta-btn.primary {
  background: #ffffff;
  color: #1a3d3a;
}

.cta-btn.primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cta-btn.secondary:hover {
  background: #ffffff;
  color: #1a3d3a;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-hero-title {
    font-size: 42px;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contact-form-content {
    gap: 60px;
  }

  .why-contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contact-cta-content {
    gap: 40px;
  }

  .cta-left h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    height: 50vh;
    min-height: 350px;
  }

  .contact-hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .contact-hero-description {
    font-size: 16px;
  }

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

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

  .contact-info-card {
    padding: 30px 20px;
  }

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

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

  .contact-form {
    padding: 30px;
  }

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

  .contact-form-right {
    position: static;
  }

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

  .why-contact-header {
    margin-bottom: 50px;
  }

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

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

  .contact-cta-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-hero-section {
    height: 40vh;
    min-height: 300px;
  }

  .contact-hero-title {
    font-size: 24px;
  }

  .contact-hero-description {
    font-size: 14px;
  }

  .breadcrumb {
    font-size: 12px;
  }

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

  .contact-info-card {
    padding: 25px 15px;
  }

  .contact-info-icon {
    width: 60px;
    height: 60px;
  }

  .contact-info-icon i {
    font-size: 24px;
  }

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

  .contact-form {
    padding: 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }

  .contact-submit-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .map-container {
    height: 300px;
  }

  .map-info {
    padding: 20px;
  }

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

  .why-contact-card {
    padding: 30px 15px;
  }

  .why-contact-icon {
    width: 60px;
    height: 60px;
  }

  .why-contact-icon i {
    font-size: 24px;
  }

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

  .cta-left h2 {
    font-size: 24px;
  }

  .cta-left p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fa-spin {
  animation: spin 1s linear infinite;
}

/* Success/Error Messages */
.contact-success-message,
.contact-error-message {
  display: none;
}

/* Field Error Styling */
.field-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}
