/* ========================================================================
   SUB-PAGES SHARED STYLES
   ======================================================================== */

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, #0A3D22 0%, #0D4D2B 40%, #1B6B3A 100%);
  padding: 80px 0 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}
.page-banner .container {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.02em;
}
.page-banner p {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: #fff;
}

/* ---------- Page Content ---------- */
.page-content {
  padding: 80px 0;
  background: #fff;
}
.page-content .container {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}
.page-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 24px;
}
.page-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.page-content ul {
  padding-left: 20px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.page-content li {
  margin-bottom: 10px;
}

/* ---------- Values Grid (About) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0 0;
}
.value-card {
  background: #f8faf9;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #eaeaea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.value-card i {
  font-size: 2.5rem;
  color: #1B6B3A;
  margin-bottom: 20px;
  display: block;
}
.value-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #0D4D2B;
}
.value-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Search Bar (Find a Counsellor) ---------- */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}
.search-bar input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafafa;
  transition: all 0.3s ease;
}
.search-bar input:focus {
  outline: none;
  border-color: #1B6B3A;
  box-shadow: 0 0 0 3px rgba(8, 90, 83, 0.1);
  background: #fff;
}

/* ---------- Counsellor Grid ---------- */
.counsellor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.counsellor-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.counsellor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.counsellor-avatar {
  width: 80px;
  height: 80px;
  background: #EDF7F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.counsellor-avatar i {
  font-size: 2rem;
  color: #1B6B3A;
}
.counsellor-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 8px;
}
.specialty {
  color: #1B6B3A;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.counsellor-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Forms (Application, Complaint, Contact) ---------- */
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B6B3A;
  box-shadow: 0 0 0 3px rgba(8, 90, 83, 0.1);
  background: #fff;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.contact-info h2 {
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-detail i {
  color: #1B6B3A;
  font-size: 1.2rem;
  margin-top: 4px;
}
.contact-form h2 {
  margin-bottom: 20px;
}

/* ---------- Notice (Complaint) ---------- */
.notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #856404;
  line-height: 1.6;
}

/* ---------- Ethics Grid ---------- */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.ethic-card {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ethic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.ethic-card h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.ethic-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Guide Cards (Guidelines) ---------- */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.guide-card {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.guide-card h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.guide-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Download Grid (Logbook) ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.download-card {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.download-card i {
  font-size: 2.5rem;
  color: #1B6B3A;
  margin-bottom: 15px;
  display: block;
}
.download-card h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 10px;
}
.download-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #1B6B3A;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}
.download-btn:hover {
  background: #0D4D2B;
}

/* ---------- Newsletter List ---------- */
.newsletter-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.newsletter-item {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.newsletter-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.newsletter-item h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 5px;
}
.newsletter-item p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
}

/* ---------- Events List (Professional Development) ---------- */
.events-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.event-item {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 25px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.event-item h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.event-item .event-meta {
  font-size: 0.9rem;
  color: #888;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.event-item .event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-item .event-meta i {
  color: #1B6B3A;
}

/* ---------- Courses Grid (Study Counselling) ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.course-card {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.course-card h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.course-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Benefits Grid (What is Counselling) ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.benefit-item {
  background: #f8faf9;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.benefit-item i {
  font-size: 2.5rem;
  color: #1B6B3A;
  margin-bottom: 15px;
  display: block;
}
.benefit-item h4 {
  font-weight: 700;
  color: #0D4D2B;
  margin-bottom: 10px;
}
.benefit-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Coming Soon ---------- */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: #1B6B3A;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #0D4D2B;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .values-grid,
  .counsellor-grid,
  .ethics-grid,
  .download-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .guide-cards,
  .courses-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .search-bar {
    flex-direction: column;
  }
  .search-bar input,
  .search-bar .btn-primary {
    width: 100%;
  }
  .page-banner h1 {
    font-size: 2rem;
  }
  .newsletter-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
