/* Section Titles */
h2 {
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #040238;
  border-left: 5px solid #0056b3;
  padding-left: 10px;
  text-align: center;
  background-color: #d1dce8;
}

/* Subsection Containers */
.contact-section,
.chapter-info,
.form-section {
  margin-bottom: 60px;
}

/* Contact Cards Grid */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Individual Contact Card */
.contact-card {
  background-color: #f1f4f8;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #0d6efd;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #000000;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-card p {
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Chapter Info Text */
.chapter-info p {
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
  color: #011029;
  border-color: 4px #000000;
}


.info-map-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

.chapter-details {
  flex: 1;
  min-width: 250px;
}

.chapter-map {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .info-map-wrapper {
    flex-direction: column;
  }

  .chapter-map {
    width: 100%;
  }
}



/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

input, textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0d6efd;
}

/* Submit Button */
button {
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background-color: #0d6efd;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #004ecb;
  transform: scale(1.03);
}

/* Status Message */
.status {
  font-style: italic;
  margin-top: 10px;
  color: green;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    margin: 30px auto;
  }

  .section-header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-container {
    grid-template-columns: 1fr;
  }
}
