
/* Generic Pages Styling - About Us, Contact Us, Privacy Policy, Terms of Service */

/* Content Section Base Styling */
.content-section {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
  margin: 20px 0;
  padding: 30px;
  background: #fff;
  text-align: left;
  border: 1px solid #f0f0f0;
  color: #000;
  overflow: hidden;
  transition: all 0.3s ease;
}

.content-section:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.content-section h1 {
  font-size: 32px;
  color: #1b7c62;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1b7c62;
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-weight: 400;
  text-align: justify;
  margin-bottom: 24px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid #1b7c62;
  color: #1b7c62;
  font-size: 24px;
  font-weight: 700;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
}

.content-section ul {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-weight: 400;
  text-align: left;
  margin-top: 16px;
  margin-bottom: 24px;
  padding-left: 28px;
}

.content-section ul li {
  margin-bottom: 12px;
  list-style-type: disc;
}

.content-section ul li::marker {
  color: #1b7c62;
  font-weight: bold;
}

.content-section a {
  color: #1b7c62;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.content-section a:hover {
  color: #0f4a2e;
  text-decoration: underline;
}

/* Form Styling for Contact Page */
.contact-form {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1b7c62;
  box-shadow: 0 0 0 3px rgba(27, 124, 98, 0.1);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Button Styles for Generic Pages */
a.btn {
  display: inline-block;
  background: #1b7c62;
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(27, 124, 98, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

a.btn-primary {
  background: #1b7c62;
  color: #fff !important;
}

a.btn:hover {
  background: #0f4a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 124, 98, 0.35);
  text-decoration: none;
}

a.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(27, 124, 98, 0.2);
}

a.btn:focus {
  outline: 2px solid #1b7c62;
  outline-offset: 2px;
}

button.btn,
input[type="button"].btn,
input[type="submit"].btn {
  background: #1b7c62;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(27, 124, 98, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button.btn:hover,
input[type="button"].btn:hover,
input[type="submit"].btn:hover {
  background: #0f4a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 124, 98, 0.35);
}

button.btn:active,
input[type="button"].btn:active,
input[type="submit"].btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(27, 124, 98, 0.2);
}

button.btn:focus,
input[type="button"].btn:focus,
input[type="submit"].btn:focus {
  outline: 2px solid #1b7c62;
  outline-offset: 2px;
}

/* Responsive Design for Generic Pages */
@media (max-width: 1024px) {
  .content-section {
    padding: 24px;
    margin: 16px 0;
  }
  
  .content-section h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  
  .content-section h2 {
    font-size: 20px;
    margin-top: 24px;
  }
  
  .content-section p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .content-section {
    padding: 20px;
    margin: 12px 0;
  }
  
  .content-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .content-section h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  
  .content-section h3 {
    font-size: 16px;
    margin-top: 16px;
  }
  
  .content-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .content-section ul {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 24px;
    margin-bottom: 16px;
  }
  
  .content-section ul li {
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 10px;
  }
  
  .contact-form {
    gap: 16px;
  }
  
  a.btn,
  button.btn,
  input[type="button"].btn,
  input[type="submit"].btn {
    padding: 10px 20px;
    font-size: 13px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .content-section {
    padding: 16px;
    border-radius: 8px;
  }
  
  .content-section h1 {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  
  .content-section h2 {
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 10px;
  }
  
  .content-section h3 {
    font-size: 14px;
    margin-top: 12px;
  }
  
  .content-section p {
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 12px;
  }
  
  .content-section ul {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 20px;
    margin-bottom: 12px;
  }
  
  .content-section ul li {
    margin-bottom: 6px;
  }
  
  .form-group {
    gap: 6px;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 12px;
    padding: 8px;
  }
  
  .contact-form {
    gap: 12px;
  }
  
  a.btn,
  button.btn,
  input[type="button"].btn,
  input[type="submit"].btn {
    padding: 8px 16px;
    font-size: 12px;
    width: 100%;
  }
  
  .form-message {
    font-size: 12px;
    padding: 10px 12px;
  }
}
