:root {
  --primary-color: #1A202C; /* Dark blue/grey */
  --secondary-color: #FFD700; /* Gold/yellow */
  --text-light: #F0F0F0;
  --text-dark: #333333;
  --bg-light: #FFFFFF;
  --bg-dark: #2D3748; /* Slightly lighter than primary for contrast */
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark sections */
  background-color: var(--bg-dark); /* Default background for the page content */
}

/* General Section Styling */
.page-contact section {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.page-contact h1, .page-contact h2, .page-contact h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-contact h1 {
  font-size: 2.8em;
  color: var(--text-light); /* H1 in hero should be light */
}

.page-contact h2 {
  font-size: 2.2em;
  color: var(--secondary-color);
}

.page-contact h3 {
  font-size: 1.8em;
  color: var(--text-dark); /* For cards, which will have lighter background */
}

.page-contact p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-contact a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact a:hover {
  color: #FFEB3B; /* Lighter gold on hover */
  text-decoration: underline;
}

/* CTA Buttons */
.page-contact .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #FFEB3B;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact .secondary-cta {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-contact .secondary-cta:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--secondary-color);
}

.page-contact .btn-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Hero Section */
.page-contact .contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a475a 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact .contact-hero-content {
  max-width: 800px;
}

.page-contact .contact-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Contact Methods Section */
.page-contact .contact-methods {
  background-color: var(--bg-light); /* Lighter background for method cards */
  color: var(--text-dark);
  padding-bottom: 80px;
}

.page-contact .contact-methods h2, .page-contact .contact-methods p {
  color: var(--text-dark);
}

.page-contact .method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact .method-card {
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact .method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .method-icon {
  width: 150px; /* Ensure images are not small icons */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Slightly rounded corners for images */
}

.page-contact .method-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact .method-card p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  flex-grow: 1; /* Make paragraphs take available space */
}

.page-contact .method-card a {
  margin-top: auto; /* Push button to bottom */
}


/* Contact Form Section */
.page-contact .contact-form-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-contact .contact-form-section h2, .page-contact .contact-form-section p {
  color: var(--text-light);
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 40px;
  background: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
}

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

.page-contact .form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-light);
  font-size: 1.1em;
}

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #3A475A; /* Darker input background */
  color: var(--text-light);
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
  color: #999;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact .contact-form .cta-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  margin-top: 15px;
}

/* Why Contact Section */
.page-contact .why-contact {
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

.page-contact .why-contact h2, .page-contact .why-contact p {
  color: var(--text-dark);
}

.page-contact .benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .benefit-list li {
  background-color: #f0f2f5; /* Light background for list items */
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-contact .benefit-list li:hover {
  transform: translateX(5px);
}

.page-contact .benefit-list li a {
  color: var(--primary-color); /* Darker link color on light background */
}

.page-contact .benefit-list li a:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 15px;
  }

  .page-contact h1 {
    font-size: 2em;
  }

  .page-contact h2 {
    font-size: 1.8em;
  }

  .page-contact h3 {
    font-size: 1.5em;
  }

  .page-contact p {
    font-size: 1em;
  }

  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .method-icon {
    width: 100px;
    height: 100px;
  }

  .page-contact .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.8em;
  }

  .page-contact h2 {
    font-size: 1.6em;
  }

  .page-contact h3 {
    font-size: 1.3em;
  }

  .page-contact .cta-button {
    width: 100%;
    font-size: 1em;
  }
}