/* Base Styles */
:root {
  --primary-color: #2e6da4;
  --primary-dark: #1c4f7c;
  --primary-light: #5a9bd5;
  --secondary-color: #f39c12;
  --secondary-dark: #d68910;
  --secondary-light: #f7bc5d;
  --accent-color: #27ae60;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #e1e5eb;
  --border-color: #dcdfe6;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.rounded-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
}

.btn-text {
  background: none;
  color: var(--primary-color);
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.btn-text i {
  margin-left: 8px;
  transition: var(--transition);
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-text:hover i {
  transform: translateX(3px);
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-light);
}

nav {
  display: flex;
  align-items: center;
}

#nav-links {
  display: flex;
  gap: 1.5rem;
}

#nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

#nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

#nav-links a:hover::after,
#nav-links a.active::after {
  width: 100%;
}

#nav-links a.active {
  color: var(--primary-color);
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.8rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Pathways Preview Section */
.pathways-preview {
  padding: 5rem 0;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pathway-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.pathway-card:hover {
  background-color: white;
  box-shadow: var(--shadow);
}

.pathway-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pathway-card p {
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonial-slider {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 0 1rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-content p::before {
  left: -10px;
  top: -10px;
}

.testimonial-content p::after {
  right: -10px;
  bottom: -20px;
}

.testimonial-author h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.slider-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-controls button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-section p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.chat-toggle:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
}

.chat-box.active {
  display: block;
}

.chat-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-messages {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.message {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
}

.message.received {
  background-color: var(--bg-light);
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.message.sent {
  background-color: var(--primary-light);
  color: white;
  border-bottom-right-radius: 5px;
  margin-left: auto;
}

.chat-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid var(--border-color);
}

.chat-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  outline: none;
}

.chat-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.chat-form button:hover {
  background-color: var(--primary-dark);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Pathways Page Styles */
.pathways-nav {
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: var(--header-height);
  z-index: 900;
}

.pathways-nav-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem 0;
}

.pathway-nav-item {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  color: var(--text-color);
  transition: var(--transition);
}

.pathway-nav-item:hover,
.pathway-nav-item.active {
  background-color: var(--primary-color);
  color: white;
}

.pathway-details {
  padding: 4rem 0;
}

.pathway {
  margin-bottom: 4rem;
  scroll-margin-top: calc(var(--header-height) + 70px);
}

.pathway-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.pathway-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.pathway-content h3 {
  margin: 2rem 0 1rem;
  color: var(--primary-dark);
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.program-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.program-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.steps {
  counter-reset: step-counter;
  margin: 2rem 0;
}

.steps li {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.info-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--info-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.info-box h4 {
  color: var(--info-color);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.info-box h4 i {
  margin-right: 0.5rem;
}

.pathway-summary {
  margin-top: 3rem;
}

.considerations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.consideration {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.consideration i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.consideration h4 {
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

/* FAQ Page Styles */
.faq-search {
  padding: 2rem 0;
  background-color: var(--bg-light);
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
}

.search-container input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
  font-size: 1rem;
}

.search-container button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.faq-categories {
  padding: 1rem 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: var(--header-height);
  z-index: 900;
}

.category-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.category-tab {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  border-radius: 20px;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
  background-color: var(--primary-color);
  color: white;
}

.faq-content {
  padding: 4rem 0;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.toggle-answer {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.active .toggle-answer {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  display: block;
}

.ask-question {
  margin-top: 4rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.ask-question h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.question-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-options {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 1.8rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-card p {
  margin-bottom: 1.5rem;
}

.contact-card .small {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.contact-form-section {
  padding: 4rem 0;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.booking-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.booking-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.booking-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.map-section {
  padding: 4rem 0;
}

.map-container {
  height: 400px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.address-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.address-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.address-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.address-card h3 i {
  margin-right: 0.5rem;
}

/* Resources Page Styles */
.resources-nav {
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: var(--header-height);
  z-index: 900;
}

.resources-nav-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem 0;
}

.resource-nav-item {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  color: var(--text-color);
  transition: var(--transition);
}

.resource-nav-item:hover,
.resource-nav-item.active {
  background-color: var(--primary-color);
  color: white;
}

.resource-section {
  padding: 4rem 0;
  scroll-margin-top: calc(var(--header-height) + 70px);
}

.resource-section:nth-child(even) {
  background-color: var(--bg-light);
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Resource page enhancements */
.download-meta {
  font-size: 0.8rem;
  color: var(--text-lighter);
  margin-bottom: 0.5rem;
}

.resource-card-header {
  position: relative;
  padding-right: 100px; /* Ensure space for the tag */
}

.resource-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap; /* Prevent wrapping */
}

/* Ensure resource cards have consistent height */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card-body .btn-text {
  margin-top: auto;
}

/* Improve spacing in resource details */
.resource-details li {
  margin-bottom: 0.8rem;
  display: flex;
  flex-wrap: wrap;
}

.resource-details li strong {
  min-width: 100px;
  display: inline-block;
  color: var(--primary-dark);
  margin-right: 0.5rem;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  position: relative;
  padding-right: 100px;
}

.resource-card-header h3 {
  margin-bottom: 0.5rem;
}

.resource-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.resource-card-body {
  padding: 1.5rem;
}

.resource-details {
  margin: 1.5rem 0;
}

.resource-details li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.resource-details li strong {
  min-width: 100px;
  display: inline-block;
  color: var(--primary-dark);
}

.resource-links {
  margin: 1.5rem 0;
}

.resource-links li {
  margin-bottom: 0.8rem;
}

.resource-links li a {
  display: flex;
  align-items: center;
}

.resource-links li a::before {
  content: "\f0c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.resource-tip {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 3rem auto 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  max-width: 800px;
}

.resource-tip h4 {
  color: var(--accent-color);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.resource-tip h4 i {
  margin-right: 0.5rem;
}

.resource-download {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

/* Enhance download cards */
.download-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.download-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.download-info {
  flex: 1;
}

.download-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.download-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.download-btn {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* About Page Styles */
.mission-section,
.story-section {
  padding: 4rem 0;
}

.story-section {
  background-color: var(--bg-light);
}

.mission-content,
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-text,
.story-text {
  order: 1;
}

.mission-image,
.story-image {
  order: 2;
}

.story-text {
  order: 2;
}

.story-image {
  order: 1;
}

.mission-text h2,
.story-text h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.mission-text h2::after,
.story-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.mission-text p,
.story-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.values-section {
  padding: 4rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 1.8rem;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.team-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid var(--primary-light);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--text-light);
}

.partners-section {
  padding: 4rem 0;
}

.partners-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
}

.impact-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.get-involved {
  padding: 4rem 0;
}

.get-involved-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.get-involved-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.involvement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.involvement-option {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

.involvement-option:hover {
  background-color: white;
  box-shadow: var(--shadow);
}

.involvement-option h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.involvement-option h3 i {
  margin-right: 0.8rem;
  color: var(--primary-color);
}

.involvement-option p {
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .mission-content,
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-text,
  .mission-image,
  .story-text,
  .story-image {
    order: 0;
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  #menu-toggle {
    display: block;
    z-index: 1001;
  }

  #nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  #nav-links.active {
    right: 0;
  }

  #menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-grid,
  .pathways-grid,
  .program-cards,
  .considerations,
  .contact-grid,
  .form-row,
  .resource-cards,
  .download-grid,
  .values-grid,
  .team-grid,
  .partners-grid,
  .impact-stats,
  .involvement-options {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .resource-tag {
    position: static;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .resource-card-header {
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .chat-box {
    width: 300px;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
  }

  .download-icon {
    margin: 0 auto 1rem;
  }
}

/* Download Cards Styling */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.download-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.download-info h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.download-info p {
  margin-bottom: 1rem;
}

.download-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
}

.download-btn i {
  margin-left: 0.5rem;
}

.download-btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

@media (max-width: 768px) {
  .download-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .download-grid {
      grid-template-columns: 1fr;
  }
}