:root {
  /* Background colors */
  --bg-color: #2f2728;
  --card-bg: #121212;
  --nav-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --hero-gradient-start: rgba(47, 39, 40, 0.95);
  --hero-gradient-end: rgba(47, 39, 40, 0.85);
  --section-bg-alt: #252020;

  /* Text colors */
  --text-color: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;

  /* Accent colors */
  --accent: #4b0082;
  --accent-hover: #6a0dad;
  --accent-light: rgba(75, 0, 130, 0.1);

  /* Border colors */
  --border-color: #3a3a3a;
  --border-light: #2a2a2a;

  /* Shadow colors */
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-light: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.5);

  /* UI element colors */
  --link-color: #cdd2d5;
  --link-hover: #ffffff;
  --button-text: #ffffff;
  --overlay-bg: rgba(18, 18, 18, 0.9);
  --overlay-dark: rgba(0, 0, 0, 0.9);
  --overlay-light: rgba(255, 255, 255, 0.2);
  --text-shadow: rgba(0, 0, 0, 0.5);
  --input-bg: #1e1e1e;
  --input-border: #3a3a3a;
  --input-focus: var(--accent);

  /* Legacy variable mappings for compatibility */
  --cream: var(--bg-color);
  --blush-pink: var(--section-bg-alt);
  --soft-beige: var(--border-color);
  --muted-blue-gray: var(--card-bg);
  --text-dark: var(--text-color);
  --text-light: var(--text-secondary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: inherit;
}

/* Navigation Styles */
nav {
  background-color: var(--accent);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--link-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  color: var(--link-color);
}

.nav-links a:hover {
  color: var(--link-hover);
}

.nav-links a.active {
  color: var(--link-color);
  font-weight: 500;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-bg);
  min-width: 200px;
  box-shadow: 0 8px 16px var(--shadow);
  border-radius: 8px;
  z-index: 1;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: var(--text-secondary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:hover {
  background-color: var(--section-bg-alt);
  color: var(--accent);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Page Content Styles */
.page-header {
  text-align: center;
  padding: 4rem 0 2rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 3rem 0;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.content-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.content-card:nth-child(2) {
  animation-delay: 0.2s;
}

.content-card:nth-child(3) {
  animation-delay: 0.4s;
}

.content-card:nth-child(4) {
  animation-delay: 0.6s;
}

.content-card:nth-child(5) {
  animation-delay: 0.8s;
}

/* Home Page Styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-gradient-start) 0%,
    var(--hero-gradient-end) 100%
  );
  border-radius: 0 0 30px 30px;
  margin-bottom: 3rem;
}

.hero-content {
  max-width: 700px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--button-text);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
  margin: 0.5rem;
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--button-text);
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-preview {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.project-preview:hover {
  transform: translateY(-5px);
}

/* About Page Styles */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: var(--section-bg-alt);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px var(--shadow);
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.profile-image-placeholder {
  font-size: 4rem;
  color: var(--text-muted);
}

.signature {
  text-align: center;
  margin-top: 3rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--text-light);
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

/* Projects Page Styles */
.project-detail {
  margin-bottom: 4rem;
}

.project-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.project-icon {
  font-size: 2rem;
  margin-right: 1rem;
}

.project-objectives {
  background-color: var(--muted-blue-gray);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.project-objectives ul {
  list-style-type: none;
  padding-left: 0;
}

.project-objectives li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-objectives li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Nepal Through My Eyes Page Styles */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.story-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-image {
  height: 200px;
  background-color: var(--muted-blue-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.story-content {
  padding: 1.5rem;
}

.story-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.story-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 180px;
  background-color: var(--muted-blue-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.8rem;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Gallery Page Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  background-color: var(--muted-blue-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  background-color: var(--input-bg);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--input-focus);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow);
}

.social-links {
  display: flex;
  list-style: none;
  margin-top: 2rem;
}

.social-links li {
  margin-right: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--section-bg-alt);
  border-radius: 50%;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--button-text);
  transform: translateY(-3px);
}

/* Footer Styles */
footer {
  background-color: var(--footer-bg);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.footer-links {
  display: flex;
  list-style: none;
  margin: 1.5rem 0;
}

.footer-links li {
  margin: 0 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px var(--shadow);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 0;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content-card {
    padding: 2rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .featured-projects,
  .story-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .content-card {
    padding: 1.5rem;
  }
}

/* Page-specific styles */
.page {
  display: none;
  background-color: var(--bg-color);
}

.page.active {
  display: block;
}

/* Full Width Banner Styles */
.full-width-banner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  background-color: var(--muted-blue-gray);
  opacity: 0;
  animation: fadeIn 1s ease 0.2s forwards;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Update existing hero section to appear below the banner */
.hero {
  margin-top: 0;
  /* Remove any top margin to sit directly below banner */
  border-radius: 0 0 30px 30px;
  /* Keep your original border radius */
}

/* Restore original hero heading styles */
.hero h1 {
  display: block;
  /* Make sure it's visible */
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  white-space: normal;
  /* Allow text to wrap naturally */
  line-height: 1.3;
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* Clean Start Project Specific Styles */
.project-hero {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.project-image {
  flex: 0 0 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project-intro {
  flex: 1;
}

.activities-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.activities-content {
  flex: 1;
}

.activities-visual {
  flex: 0 0 200px;
}

.activity-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-item.small {
  height: 120px;
  background-color: var(--muted-blue-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
  text-align: center;
}

.impact-visual {
  margin-top: 2rem;
}

.impact-image {
  max-width: 500px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
}

.impact-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.vision-graphic {
  margin-top: 1.5rem;
}

.vision-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.vision-step {
  background-color: var(--soft-beige);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.vision-step:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vision-step h3 {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.vision-step p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-hero,
  .activities-section {
    flex-direction: column;
  }

  .project-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1.5rem;
  }

  .activities-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto 0;
  }

  .activity-gallery {
    flex-direction: row;
    justify-content: center;
  }

  .gallery-item.small {
    flex: 1;
    max-width: 140px;
  }

  .vision-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .project-image {
    max-width: 100%;
  }

  .activity-gallery {
    flex-direction: column;
  }

  .gallery-item.small {
    max-width: 100%;
  }

  .vision-step {
    padding: 1.2rem;
  }
}

/* Women's Education Research Page Specific Styles */
.page-header.with-image {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  padding: 3rem 0 2rem;
}

.header-image {
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px var(--shadow);
  border: 4px solid white;
  max-width: 300px;
}

.header-image img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
}

.header-content {
  flex: 1;
}

.page-header.with-image h1 {
  margin-bottom: 1rem;
  text-align: left;
}

.page-header.with-image .page-subtitle {
  margin: 0 auto 0 0;
  text-align: left;
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 400;
}

.research-methods {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.methods-content {
  flex: 1;
}

.methods-visual {
  flex: 0 0 250px;
}

.method-diagram {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--blush-pink),
    var(--muted-blue-gray)
  );
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--button-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.step-text {
  font-weight: 500;
  color: var(--text-dark);
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.finding-item {
  background: linear-gradient(135deg, #ffffff, var(--soft-beige));
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--soft-beige);
}

.finding-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow);
}

.finding-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.finding-item h3 {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.3rem;
}

.finding-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.recommendation {
  background-color: var(--muted-blue-gray);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
}

.recommendation h3 {
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.recommendation p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.publication-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header.with-image {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .header-image {
    max-width: 250px;
  }

  .header-image img {
    max-height: 200px;
  }

  .page-header.with-image h1,
  .page-header.with-image .page-subtitle {
    text-align: center;
  }

  .research-methods {
    flex-direction: column;
    gap: 2rem;
  }

  .methods-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .findings-grid {
    grid-template-columns: 1fr;
  }

  .recommendations {
    grid-template-columns: 1fr;
  }

  .publication-cta {
    flex-direction: column;
    align-items: center;
  }

  .publication-cta .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .finding-item {
    padding: 1.5rem;
  }

  .method-step {
    padding: 0.8rem;
  }

  .header-image {
    max-width: 200px;
  }
}
/* Hero-style layout like the reference image */
.hero-style {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 3rem;
  background-color: var(--section-bg-alt);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.hero-left img {
  width: 320px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--shadow);
  object-fit: cover;
}

.hero-right {
  max-width: 500px;
}

.hero-right h1 {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.hero-right p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-right .btn {
  background-color: var(--accent);
  color: var(--button-text);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.hero-right .btn:hover {
  background-color: var(--accent-hover);
}

/* Responsive layout */
@media (max-width: 768px) {
  .hero-style {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .hero-left img {
    width: 80%;
  }

  .hero-right {
    max-width: 90%;
  }
}
/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  padding: 3rem 0 2rem;
}

.blog-meta-large {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-meta-large span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-image {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin: 2rem 0;
  background-color: var(--muted-blue-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

.blog-content ul,
.blog-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--soft-beige);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--accent);
  color: var(--button-text);
  transform: translateY(-2px);
}

/* Back to Blog button */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-to-blog:hover {
  color: var(--text-dark);
}
.blog-image {
  width: 100%;
  height: 220px; /* adjust to your preferred height */
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes the image fill the space neatly */
  display: block;
}
.blog-story {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
}

.blog-story strong,
.blog-story em {
  color: var(--accent);
}

.blog-story.strong-ending {
  font-weight: 600;
  color: var(--text-secondary);
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}
#blog-post-3 .blog-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--section-bg-alt);
  margin-bottom: 30px;
}

#blog-post-3 .blog-image img {
  width: 100%;
  height: auto;
  max-height: 600px; /* adjust this to control size */
  object-fit: contain; /* shows entire image without cropping */
  display: block;
}
/* Clean Start Page Hero Banner */
#clean-start .page-header {
  padding: 0;
  margin-bottom: 0;
}

#clean-start .page-header h1,
#clean-start .page-header .page-subtitle {
  display: none; /* Hide the original header since we'll move it */
}

#clean-start .project-hero {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

#clean-start .project-image {
  flex: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
}

#clean-start .project-image img {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#clean-start .project-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

#clean-start .project-header {
  justify-content: center;
  margin-bottom: 1.5rem;
}

#clean-start .project-intro .project-icon {
  font-size: 3rem;
  margin-right: 1.5rem;
}

#clean-start .project-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--text-dark);
}

#clean-start .project-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Alternating Layout Sections */
.alternating-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
  margin: 2rem 0;
}

.alternating-section:nth-child(even) {
  background-color: var(--soft-beige);
  margin: 2rem -2.5rem;
  padding: 4rem 2.5rem;
  border-radius: 0;
}

.alternating-section .section-content {
  flex: 1;
  min-width: 300px;
}

.alternating-section .section-image {
  flex: 1;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.alternating-section .section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.alternating-section .section-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.alternating-section .section-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.alternating-section .section-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.alternating-section .section-content li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.alternating-section .section-content li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* Alternate layout for even sections */
.alternating-section:nth-child(odd) {
  flex-direction: row;
}

.alternating-section:nth-child(even) {
  flex-direction: row-reverse;
}

/* Impact Stats in Alternating Layout */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.impact-stat {
  text-align: center;
  padding: 1.5rem;
}

.impact-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.impact-stat .stat-label {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Vision Steps in Alternating Layout */
.vision-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.vision-step-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.vision-step-card:hover {
  transform: translateY(-5px);
}

.vision-step-card .step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vision-step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.vision-step-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .alternating-section {
    gap: 3rem;
  }

  .alternating-section .section-content h2 {
    font-size: 1.8rem;
  }
}

/* Clean Start Page Hero Banner */
#clean-start .page-header {
  padding: 0;
  margin-bottom: 0;
}

#clean-start .page-header h1,
#clean-start .page-header .page-subtitle {
  display: none; /* Hide the original header since we'll move it */
}

#clean-start .project-hero {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

#clean-start .project-image {
  flex: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
}

#clean-start .project-image img {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#clean-start .project-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

#clean-start .project-header {
  justify-content: center;
  margin-bottom: 1.5rem;
}

#clean-start .project-intro .project-icon {
  font-size: 3rem;
  margin-right: 1.5rem;
}

#clean-start .project-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--text-dark);
}

#clean-start .project-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Two Images Side by Side Section */
.two-images-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0;
  padding: 0 2rem;
}

.two-images-section .image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  height: 400px;
}

.two-images-section .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Alternating Layout Sections */
.alternating-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
  margin: 2rem 0;
}

.alternating-section:nth-child(even) {
  background-color: var(--soft-beige);
  margin: 2rem -2.5rem;
  padding: 4rem 2.5rem;
  border-radius: 0;
}

.alternating-section .section-content {
  flex: 1;
  min-width: 300px;
}

.alternating-section .section-image {
  flex: 1;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.alternating-section .section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.alternating-section .section-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.alternating-section .section-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.alternating-section .section-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.alternating-section .section-content li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.alternating-section .section-content li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* Alternate layout for even sections */
.alternating-section:nth-child(odd) {
  flex-direction: row;
}

.alternating-section:nth-child(even) {
  flex-direction: row-reverse;
}

/* Impact Stats in Alternating Layout */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.impact-stat {
  text-align: center;
  padding: 1.5rem;
}

.impact-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.impact-stat .stat-label {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Vision Steps in Alternating Layout */
.vision-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.vision-step-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.vision-step-card:hover {
  transform: translateY(-5px);
}

.vision-step-card .step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vision-step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.vision-step-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .alternating-section {
    gap: 3rem;
  }

  .alternating-section .section-content h2 {
    font-size: 1.8rem;
  }

  .two-images-section {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  #clean-start .project-image img {
    height: 50vh;
    min-height: 400px;
  }

  #clean-start .project-intro {
    padding: 3rem 1.5rem;
  }

  #clean-start .project-intro .project-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
  }

  #clean-start .project-intro h2 {
    font-size: 2rem;
  }

  #clean-start .project-intro p {
    font-size: 1.1rem;
  }

  .two-images-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }

  .two-images-section .image-container {
    height: 300px;
  }

  .alternating-section,
  .alternating-section:nth-child(odd),
  .alternating-section:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
    margin: 1.5rem 0;
  }

  .alternating-section:nth-child(even) {
    margin: 1.5rem -1.5rem;
    padding: 3rem 1.5rem;
  }

  .alternating-section .section-content,
  .alternating-section .section-image {
    min-width: 100%;
  }

  .alternating-section .section-image img {
    height: 300px;
  }

  .alternating-section .section-content h2 {
    font-size: 1.6rem;
  }

  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .vision-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  #clean-start .project-image img {
    height: 40vh;
    min-height: 300px;
  }

  #clean-start .project-intro {
    padding: 2rem 1rem;
  }

  #clean-start .project-intro h2 {
    font-size: 1.8rem;
  }

  .two-images-section {
    padding: 0 1rem;
  }

  .two-images-section .image-container {
    height: 250px;
  }

  .alternating-section .section-image img {
    height: 250px;
  }

  .impact-stats-grid {
    grid-template-columns: 1fr;
  }

  .impact-stat .stat-number {
    font-size: 2rem;
  }
}
/* Center align the Impact section */
#clean-start .alternating-section:nth-child(4) .section-content {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#clean-start .alternating-section:nth-child(4) .section-content h2,
#clean-start .alternating-section:nth-child(4) .section-content p {
  text-align: center;
}

#clean-start .alternating-section:nth-child(4) .impact-stats-grid {
  justify-content: center;
  justify-items: center;
}

/* If you want to center the Future Vision section as well */
#clean-start .alternating-section:nth-child(5) .section-content {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#clean-start .alternating-section:nth-child(5) .section-content h2,
#clean-start .alternating-section:nth-child(5) .section-content p {
  text-align: center;
}

#clean-start .alternating-section:nth-child(5) .vision-steps-grid {
  justify-content: center;
}
/* ===== Future Vision Section: Align Boxes in One Line ===== */
.vision-steps-grid {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: nowrap; /* keeps them in one row */
  margin: 2rem 0;
}

.vision-step-card {
  flex: 1;
  min-width: 250px;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ensures equal vertical layout */
  height: 100%;
}

.vision-step-card:hover {
  transform: translateY(-5px);
}
/* Full-width Impact Banner - Full Height */
.impact-banner {
  width: 100%;
  position: relative;
  margin: 3rem 0;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
  box-shadow: 0 5px 20px var(--shadow);
}

.impact-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: Add a subtle overlay for better text readability if needed */
.impact-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
}

/* If you want to limit the maximum height while maintaining aspect ratio */
.impact-banner {
  max-height: 600px; /* Adjust this value as needed */
}

/* Full-width Impact Banner - Natural Height */
.impact-banner {
  width: 100%;
  position: relative;
  margin: 3rem 0;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
  box-shadow: 0 5px 20px var(--shadow);
}

.impact-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: Add a subtle overlay */
.impact-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .impact-banner {
    max-height: 400px;
    margin: 2rem 0;
  }

  .impact-banner img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .impact-banner {
    max-height: 300px;
    margin: 1.5rem 0;
  }

  .impact-banner img {
    max-height: 300px;
  }
}
/* Orphanage Teaching Page Hero Banner */
#teaching .page-header {
  padding: 0;
  margin-bottom: 0;
}

#teaching .page-header h1,
#teaching .page-header .page-subtitle {
  display: none; /* Hide the original header since we'll move it */
}

#teaching .project-hero {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

#teaching .project-image {
  flex: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
}

#teaching .project-image img {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#teaching .project-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

#teaching .project-header {
  justify-content: center;
  margin-bottom: 1.5rem;
}

#teaching .project-intro .project-icon {
  font-size: 3rem;
  margin-right: 1.5rem;
}

#teaching .project-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--text-dark);
}

#teaching .project-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Orphanage Teaching Alternating Layout Sections */
#teaching .alternating-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
  margin: 2rem 0;
}

#teaching .alternating-section:nth-child(even) {
  background-color: var(--soft-beige);
  margin: 2rem -2.5rem;
  padding: 4rem 2.5rem;
  border-radius: 0;
}

#teaching .alternating-section .section-content {
  flex: 1;
  min-width: 300px;
}

#teaching .alternating-section .section-image {
  flex: 1;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

#teaching .alternating-section .section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#teaching .alternating-section .section-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

#teaching .alternating-section .section-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

#teaching .alternating-section .section-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

#teaching .alternating-section .section-content li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

#teaching .alternating-section .section-content li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* Alternate layout for even sections */
#teaching .alternating-section:nth-child(odd) {
  flex-direction: row;
}

#teaching .alternating-section:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive Design for Orphanage Teaching */
@media (max-width: 768px) {
  #teaching .project-image img {
    height: 50vh;
    min-height: 400px;
  }

  #teaching .project-intro {
    padding: 3rem 1.5rem;
  }

  #teaching .project-intro .project-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
  }

  #teaching .project-intro h2 {
    font-size: 2rem;
  }

  #teaching .project-intro p {
    font-size: 1.1rem;
  }

  #teaching .alternating-section,
  #teaching .alternating-section:nth-child(odd),
  #teaching .alternating-section:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
    margin: 1.5rem 0;
  }

  #teaching .alternating-section:nth-child(even) {
    margin: 1.5rem -1.5rem;
    padding: 3rem 1.5rem;
  }

  #teaching .alternating-section .section-content,
  #teaching .alternating-section .section-image {
    min-width: 100%;
  }

  #teaching .alternating-section .section-image img {
    height: 300px;
  }

  #teaching .alternating-section .section-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  #teaching .project-image img {
    height: 40vh;
    min-height: 300px;
  }

  #teaching .project-intro {
    padding: 2rem 1rem;
  }

  #teaching .project-intro h2 {
    font-size: 1.8rem;
  }

  #teaching .alternating-section .section-image img {
    height: 250px;
  }
}
/* Orphanage Teaching Page Hero Banner */
#teaching .page-header {
  padding: 0;
  margin-bottom: 0;
}

#teaching .page-header h1,
#teaching .page-header .page-subtitle {
  display: none; /* Hide the original header since we'll move it */
}

#teaching .project-hero {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

#teaching .project-image {
  flex: none;
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
}

#teaching .project-image img {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#teaching .project-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

#teaching .project-header {
  justify-content: center;
  margin-bottom: 1.5rem;
}

#teaching .project-intro .project-icon {
  font-size: 3rem;
  margin-right: 1.5rem;
}

#teaching .project-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: var(--text-dark);
}

#teaching .project-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Orphanage Teaching Alternating Layout Sections */
#teaching .alternating-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
  margin: 2rem 0;
}

#teaching .alternating-section:nth-child(even) {
  background-color: var(--soft-beige);
  margin: 2rem -2.5rem;
  padding: 4rem 2.5rem;
  border-radius: 0;
}

#teaching .alternating-section .section-content {
  flex: 1;
  min-width: 300px;
}

#teaching .alternating-section .section-image {
  flex: 1;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

#teaching .alternating-section .section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#teaching .alternating-section .section-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

#teaching .alternating-section .section-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

#teaching .alternating-section .section-content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

#teaching .alternating-section .section-content li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

#teaching .alternating-section .section-content li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* Alternate layout for even sections */
#teaching .alternating-section:nth-child(odd) {
  flex-direction: row;
}

#teaching .alternating-section:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive Design for Orphanage Teaching */
@media (max-width: 768px) {
  #teaching .project-image img {
    height: 50vh;
    min-height: 400px;
  }

  #teaching .project-intro {
    padding: 3rem 1.5rem;
  }

  #teaching .project-intro .project-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
  }

  #teaching .project-intro h2 {
    font-size: 2rem;
  }

  #teaching .project-intro p {
    font-size: 1.1rem;
  }

  #teaching .alternating-section,
  #teaching .alternating-section:nth-child(odd),
  #teaching .alternating-section:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
    margin: 1.5rem 0;
  }

  #teaching .alternating-section:nth-child(even) {
    margin: 1.5rem -1.5rem;
    padding: 3rem 1.5rem;
  }

  #teaching .alternating-section .section-content,
  #teaching .alternating-section .section-image {
    min-width: 100%;
  }

  #teaching .alternating-section .section-image img {
    height: 300px;
  }

  #teaching .alternating-section .section-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  #teaching .project-image img {
    height: 40vh;
    min-height: 300px;
  }

  #teaching .project-intro {
    padding: 2rem 1rem;
  }

  #teaching .project-intro h2 {
    font-size: 1.8rem;
  }

  #teaching .alternating-section .section-image img {
    height: 250px;
  }
}
/* Change height for 3rd, 4th, and 5th section images */
#teaching .alternating-section:nth-child(3) .section-image img,
#teaching .alternating-section:nth-child(4) .section-image img,
#teaching .alternating-section:nth-child(5) .section-image img {
  height: 650px; /* Your desired height */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #teaching .alternating-section:nth-child(3) .section-image img,
  #teaching .alternating-section:nth-child(4) .section-image img,
  #teaching .alternating-section:nth-child(5) .section-image img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  #teaching .alternating-section:nth-child(3) .section-image img,
  #teaching .alternating-section:nth-child(4) .section-image img,
  #teaching .alternating-section:nth-child(5) .section-image img {
    height: 220px;
  }
}
/* Women's Education Research Page Styles */
#research .page-header {
  padding: 0;
  margin-bottom: 0;
}

#research .page-header h1,
#research .page-header .page-subtitle {
  display: none;
}

/* Hero Section */
.research-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.research-hero-image {
  width: 100%;
  height: 100%;
}

.research-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--button-text);
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  text-shadow: 0 2px 10px var(--text-shadow);
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--button-text);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
}

/* Personal Introduction */
.personal-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

.personal-intro-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Key Findings Section */
.findings-section {
  padding: 4rem 0;
  background-color: var(--card-bg);
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.infographics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.infographic-item {
  text-align: center;
}

.infographic-image {
  width: 100%;
  height: 250px;
  background-color: var(--soft-beige);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
  box-shadow: 0 8px 25px var(--shadow);
}

.infographic-caption {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
  background-color: var(--soft-beige);
}

.testimonials-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.9rem;
}

/* Call to Action Section */
.cta-section {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--muted-blue-gray) 0%,
    var(--blush-pink) 100%
  );
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--button-text);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .research-hero {
    height: 60vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .infographics-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .infographic-image {
    height: 200px;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .research-hero {
    height: 50vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .personal-intro,
  .findings-section,
  .testimonials-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .infographic-image {
    height: 180px;
    font-size: 2.5rem;
  }
}
/* Women's Education Research Page Styles - Updated Hero Image */
#research .page-header {
  padding: 0;
  margin-bottom: 0;
}

#research .container .page-header h1,
#research .container .page-header .page-subtitle {
  display: none !important;
}

/* Hero Section - Updated for middle focus */
.research-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.research-hero-image {
  width: 100%;
  height: 100%;
}

.research-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* Changed to focus on middle/upper-middle */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--button-text);
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  text-shadow: 0 2px 10px var(--text-shadow);
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--button-text);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
}

/* Rest of your existing CSS remains the same */
.personal-intro {
  background: linear-gradient(
    135deg,
    var(--blush-pink) 0%,
    var(--muted-blue-gray) 100%
  );
  padding: 4rem 2rem;
  text-align: center;
}

.personal-intro-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.findings-section {
  padding: 4rem 0;
  background-color: var(--card-bg);
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.infographics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.infographic-item {
  text-align: center;
}

.infographic-image {
  width: 100%;
  height: 250px;
  background-color: var(--soft-beige);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
  box-shadow: 0 8px 25px var(--shadow);
}

.infographic-caption {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
}

.testimonials-section {
  padding: 4rem 0;
  background-color: var(--soft-beige);
}

.testimonials-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.9rem;
}

.cta-section {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--muted-blue-gray) 0%,
    var(--blush-pink) 100%
  );
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--button-text);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .research-hero {
    height: 60vh;
    min-height: 500px;
  }

  .research-hero-image img {
    object-position: center 25%; /* Adjusted for mobile */
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .infographics-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .infographic-image {
    height: 200px;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .research-hero {
    height: 50vh;
    min-height: 400px;
  }

  .research-hero-image img {
    object-position: center 20%; /* Further adjusted for small mobile */
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .personal-intro,
  .findings-section,
  .testimonials-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .infographic-image {
    height: 180px;
    font-size: 2.5rem;
  }
}
/* Gallery Page Styles */
#gallery .page-header {
  text-align: center;
  padding: 4rem 0 2rem;
}

#gallery .page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

#gallery .page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Grid Layout */
.gallery-container {
  padding: 2rem 0;
}

.gallery-category {
  margin-bottom: 4rem;
}

.gallery-category h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  text-align: center;
  position: relative;
}

.gallery-category h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  background: var(--muted-blue-gray);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Item Overlay */
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: var(--button-text);
  font-weight: 500;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px var(--text-shadow);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-caption {
  transform: translateY(0);
}

/* Masonry Layout Variation */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-gap: 1.5rem;
  grid-auto-flow: dense;
}

.gallery-masonry .gallery-item {
  height: auto;
}

.gallery-masonry .gallery-item:nth-child(3n) {
  grid-row: span 2;
}

.gallery-masonry .gallery-item:nth-child(5n) {
  grid-column: span 2;
}

/* Lightbox Modal (Basic) */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px var(--shadow-heavy);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--button-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--overlay-light);
  border: none;
  color: var(--button-text);
  font-size: 1.5rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-nav:hover {
  background: var(--overlay-light);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--button-text);
  transform: translateY(-2px);
}

/* Loading Animation */
.gallery-item.loading {
  background: linear-gradient(
    90deg,
    var(--soft-beige) 25%,
    var(--muted-blue-gray) 50%,
    var(--soft-beige) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  #gallery .page-header h1 {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-category h2 {
    font-size: 1.8rem;
  }

  .gallery-filters {
    gap: 0.8rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .gallery-masonry {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 150px;
  }
}

@media (max-width: 480px) {
  #gallery .page-header {
    padding: 3rem 0 1.5rem;
  }

  #gallery .page-header h1 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-category {
    margin-bottom: 3rem;
  }

  .gallery-category h2 {
    font-size: 1.6rem;
  }

  .gallery-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
    text-align: center;
  }

  .lightbox-nav {
    padding: 0.7rem;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px; /* 10px gap between images */
  margin-bottom: 2rem;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-gap: 10px; /* 10px gap for masonry layout */
  grid-auto-flow: dense;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* Gallery Page Styles */
#gallery .page-header {
  text-align: center;
  padding: 4rem 0 2rem;
}

#gallery .page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

#gallery .page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  background: var(--muted-blue-gray);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Style for gallery items with images */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Style for placeholder items (text only) */
.gallery-item div:not(:has(img)) {
  color: var(--text-light);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
}

/* Image overlay for captions */
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: var(--button-text);
  font-weight: 500;
  font-size: 1rem;
  text-shadow: 0 2px 4px var(--text-shadow);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-caption {
  transform: translateY(0);
}

/* Content card spacing */
#gallery .content-card {
  margin-bottom: 3rem;
}

#gallery .content-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-align: center;
  position: relative;
}

#gallery .content-card h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #gallery .page-header h1 {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
  }

  #gallery .content-card h2 {
    font-size: 1.8rem;
  }

  .gallery-item-overlay {
    padding: 0.8rem;
  }

  .gallery-item-caption {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #gallery .page-header {
    padding: 3rem 0 1.5rem;
  }

  #gallery .page-header h1 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 3/2;
  }

  #gallery .content-card h2 {
    font-size: 1.6rem;
  }
}
/* Infographic Section - Flex Layout */
.findings-section {
  padding: 4rem 0;
  background-color: var(--card-bg);
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.infographics-container {
  display: flex;
  justify-content: space-between; /* Equal spacing between items */
  align-items: stretch; /* Make all items same height */
  gap: 2rem; /* Space between items */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.infographic-item {
  flex: 1; /* Each item takes equal width */
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevents flex items from overflowing */
}

.infographic-image {
  flex: 1; /* Takes available space */
  background-color: var(--soft-beige);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px var(--shadow);
  overflow: hidden;
  padding: 1.5rem;
  min-height: 200px; /* Consistent minimum height */
}

.infographic-image img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-width: 100%;
  object-fit: contain; /* No distortion */
  display: block;
}

.infographic-caption {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: center;
  flex-shrink: 0; /* Prevents caption from shrinking */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .infographics-container {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .infographic-image {
    padding: 1rem;
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .infographics-container {
    flex-direction: column; /* Stack vertically on mobile */
    gap: 2rem;
    padding: 0 1rem;
  }

  .infographic-item {
    width: 100%; /* Full width on mobile */
  }

  .infographic-image {
    min-height: 200px;
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .infographics-container {
    gap: 1.5rem;
  }

  .infographic-image {
    min-height: 180px;
    padding: 1rem;
  }

  .infographic-caption {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Ensure images don't get too tall on large screens */
@media (min-width: 1400px) {
  .infographic-image {
    max-height: 250px;
  }
}
.infographic-image {
  flex: 1;
  background-color: var(--soft-beige);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px var(--shadow);
  overflow: hidden;
  padding: 1.5rem;
  min-height: 425px; /* Increased from 200px to 300px */
}
/* Video Gallery Styles */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.video-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-item video {
  border-radius: 8px;
  background: var(--muted-blue-gray);
  margin-bottom: 1rem;
}

.video-caption {
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  font-size: 1rem;
}

/* Responsive Video Gallery */
@media (max-width: 768px) {
  .video-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-item {
    padding: 1rem;
  }
}
/* Video Series Styles - One per row with fixed container */
.video-series {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.video-row {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--soft-beige);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.video-player {
  flex: 0 0 400px;
  min-width: 0;
}

.video-player video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--muted-blue-gray);
  display: block;
  /* Prevent video distortion */
  aspect-ratio: 16/9;
}

.video-description {
  flex: 1;
  min-width: 0;
}

.video-description h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.video-description p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 1rem;
}

/* Ensure video maintains aspect ratio and doesn't distort container */
video {
  max-width: 100%;
  height: auto;
  background: black;
}

/* Fix for video element not distorting layout */
.video-player {
  position: relative;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 968px) {
  .video-row {
    gap: 2rem;
    padding: 1.5rem;
  }

  .video-player {
    flex: 0 0 350px;
  }

  .video-player video {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .video-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .video-player {
    flex: 0 0 auto;
    width: 100%;
  }

  .video-player video {
    height: 200px;
    width: 100%;
  }

  .video-description {
    width: 100%;
  }

  .video-description h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .video-description p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .video-series {
    gap: 2rem;
  }

  .video-row {
    padding: 1rem;
    gap: 1rem;
  }

  .video-player video {
    height: 180px;
  }

  .video-description h3 {
    font-size: 1.2rem;
  }
}
/* Photo Essays Styles */
.photo-essays {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.essay-row {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: var(--soft-beige);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.essay-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.essay-image {
  flex: 0 0 300px;
  min-width: 0;
}

.essay-image .gallery-item {
  height: 250px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--blush-pink),
    var(--muted-blue-gray)
  );
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.essay-content {
  flex: 1;
  min-width: 0;
}

.essay-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.essay-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Responsive Design for Photo Essays */
@media (max-width: 968px) {
  .essay-row {
    gap: 2rem;
    padding: 2rem;
  }

  .essay-image {
    flex: 0 0 250px;
  }

  .essay-image .gallery-item {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .essay-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .essay-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .essay-image .gallery-item {
    height: 200px;
    width: 100%;
  }

  .essay-content {
    width: 100%;
  }

  .essay-content h3 {
    text-align: center;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .photo-essays {
    gap: 2rem;
  }

  .essay-row {
    padding: 1.2rem;
  }

  .essay-image .gallery-item {
    height: 180px;
    font-size: 1rem;
  }

  .essay-content h3 {
    font-size: 1.3rem;
  }

  .essay-content p {
    font-size: 1rem;
  }
}
/* Photo Essays Styles - Natural Phone Photos */
.photo-essays {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.essay-row {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: var(--soft-beige);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.essay-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.essay-image {
  flex: 0 0 300px;
  min-width: 0;
}

.essay-image .gallery-item {
  height: auto; /* Remove fixed height */
  min-height: 250px;
  max-height: 400px; /* Limit maximum height */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--blush-pink),
    var(--muted-blue-gray)
  );
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.1rem;
  overflow: hidden; /* Keep content contained */
}

/* When you add actual images, use this style */
.essay-image .gallery-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Show entire image without cropping */
  display: block;
  border-radius: 12px;
}

.essay-content {
  flex: 1;
  min-width: 0;
}

.essay-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.essay-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Responsive Design for Photo Essays */
@media (max-width: 968px) {
  .essay-row {
    gap: 2rem;
    padding: 2rem;
  }

  .essay-image {
    flex: 0 0 280px; /* Slightly smaller on tablets */
  }

  .essay-image .gallery-item {
    min-height: 220px;
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .essay-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .essay-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px; /* Limit width on mobile */
    margin: 0 auto; /* Center the image */
  }

  .essay-image .gallery-item {
    min-height: 200px;
    max-height: 300px;
    width: 100%;
  }

  .essay-content {
    width: 100%;
  }

  .essay-content h3 {
    text-align: center;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .photo-essays {
    gap: 2rem;
  }

  .essay-row {
    padding: 1.2rem;
  }

  .essay-image {
    max-width: 100%; /* Full width on very small screens */
  }

  .essay-image .gallery-item {
    min-height: 180px;
    max-height: 250px;
    font-size: 1rem;
  }

  .essay-content h3 {
    font-size: 1.3rem;
  }

  .essay-content p {
    font-size: 1rem;
  }
}

/* For when you replace placeholders with actual images */
.essay-image .photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--blush-pink),
    var(--muted-blue-gray)
  );
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Alternative: Use aspect ratio for modern browsers */
@supports (aspect-ratio: 3/4) {
  .essay-image .gallery-item {
    aspect-ratio: 3/4; /* Common phone photo ratio */
    height: auto;
    min-height: auto;
  }

  .essay-image .gallery-item img {
    aspect-ratio: 3/4;
    object-fit: contain;
  }
}
/* Testimonials Styles for Clean Start Page */
.testimonials-container {
  margin-top: 2rem;
}

.testimonial-category {
  margin-bottom: 3rem;
}

.testimonial-category h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.partner-testimonial {
  background: linear-gradient(135deg, var(--soft-beige), white);
  border-left: 4px solid #ff6b6b;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  text-align: right;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-category h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.2rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}
/* Testimonials Styles for Clean Start Page */
.testimonials-container {
  margin-top: 2rem;
}

.testimonial-category {
  margin-bottom: 3rem;
}

.testimonial-category h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff, var(--soft-beige));
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px var(--shadow);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(75, 0, 130, 0.15);
}

.partner-testimonial {
  background: linear-gradient(135deg, var(--muted-blue-gray), #ffffff);
  border-left: 4px solid #4b0082;
  border-top: 2px solid var(--blush-pink);
}

.partner-testimonial::before {
  color: #4b0082;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  text-align: right;
  padding-top: 1rem;
  border-top: 1px solid var(--soft-beige);
}

/* Children testimonials specific styling */
.testimonial-category:first-child .testimonial-card {
  background: linear-gradient(135deg, var(--blush-pink), #ffffff);
  border-left: 4px solid #ff6b6b;
}

.testimonial-category:first-child .testimonial-card::before {
  color: #ff6b6b;
}

.testimonial-category:first-child .testimonial-author {
  color: #ff6b6b;
}

/* Partner testimonial specific styling */
.testimonial-category:last-child .testimonial-card {
  background: linear-gradient(135deg, var(--muted-blue-gray), #ffffff);
  border-left: 4px solid var(--accent);
}

.testimonial-category:last-child .testimonial-card::before {
  color: var(--accent);
}

.testimonial-category:last-child .testimonial-author {
  color: var(--accent);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.8rem;
    border-radius: 12px;
  }

  .testimonial-category h3 {
    font-size: 1.3rem;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 0.3rem;
    left: 0.8rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .testimonial-author {
    font-size: 0.9rem;
  }

  .testimonial-card::before {
    font-size: 2.5rem;
    top: 0.2rem;
    left: 0.5rem;
  }
}

/* Animation for testimonial cards */
.testimonial-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}
.testimonial-card:nth-child(4) {
  animation-delay: 0.4s;
}
/* General Styling for the Circular Image */
.profile-image-placeholder {
  /* Define the size of the circular container */
  width: 800px; /* Adjust as needed */
  height: 800px; /* Must be equal to the width for a perfect circle */

  /* Make the container circular */
  border-radius: 50%;

  /* Ensure any image content outside this circle is hidden */
  overflow: hidden;

  /* Optional: Add the black ring/border */
  border: 2px solid #333;

  /* Center the image container */
  margin: 0 auto 30px;
}

.profile-image-placeholder img {
  /* Make the image fill its container */
  width: 100%;
  height: 100%;

  /* If the image needs to cover the entire circular area without distortion */
  object-fit: cover;

  /* The image itself also needs to be clipped to the circle boundary */
  border-radius: 50%;
  display: block; /* Important for layout */
}

/* --- Optional: Styling for the text to match the preview --- */

/* Center everything in the profile section */
.profile-section,
.profile-details {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.job-title-tag {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.job-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

h2 {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 600;
}

.role {
  margin: 0 0 40px;
  font-size: 16px;
  color: #555;
}

.bio {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  color: #666;
}
.profile-image-placeholder {
  /* KEY CHANGE: Set both width and height to the desired size */
  width: 300px;
  height: 300px;

  /* Make the container circular */
  border-radius: 50%;

  /* Ensure any image content outside this circle is hidden */
  overflow: hidden;

  /* Optional: Add the black ring/border */
  border: 2px solid #333;

  /* Center the image container */
  margin: 0 auto 30px;
}

.profile-image-placeholder img {
  /* Make the image fill its container */
  width: 100%;
  height: 100%;

  /* If the image needs to cover the entire circular area without distortion */
  object-fit: cover;

  /* The image itself also needs to be clipped to the circle boundary */
  border-radius: 50%;
  display: block;
}
/* --- */

/* About Me Layout Styles */
.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.about-photo {
  flex: 0 0 320px;
  position: static; /* Changed from sticky to static */
}

.about-photo .profile-image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px var(--shadow);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--blush-pink),
    var(--muted-blue-gray)
  );
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.about-photo .profile-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-photo .profile-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.about-content {
  flex: 1;
  min-width: 0;
}

.about-content .content-card {
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-layout {
    gap: 2.5rem;
  }

  .about-photo {
    flex: 0 0 280px;
  }

  .about-photo .profile-image {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .about-photo {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-photo .profile-image {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .about-photo .profile-image {
    width: 220px;
    height: 220px;
  }

  .about-layout {
    gap: 1.5rem;
  }
}

/* Signature styles */
.signature {
  text-align: center;
  margin-top: 3rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--text-light);
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  border-top: 1px solid var(--soft-beige);
  padding-top: 2rem;
}

.signature p {
  margin-bottom: 0.5rem;
}

.signature strong {
  color: var(--text-dark);
  font-size: 1.1rem;
}
.documents-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.document-item {
  padding: 1.5rem;
  border: 1px solid var(--soft-beige);
  border-radius: 8px;
  background-color: white;
}

.document-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.document-item p {
  margin-bottom: 1rem;
  color: var(--text-light);
}
.documents-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.document-item {
  padding: 1.5rem;
  border: 1px solid var(--soft-beige);
  border-radius: 8px;
  background-color: #121212;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.document-item p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent);
  color: #121212;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.document-link:hover {
  background-color: var(--text-dark);
  color:#121212;
  transform: translateY(-2px);
}
