/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS variables for consistent styling */
:root {
  --font-serif: 'Alegreya', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --primary-color: #000000;
  /* Premium Teal */
  --primary-dark: #005662;
  --primary-light: #e0f2f1;
  --secondary-color: #5c7894;
  /* Muted Slate Blue */
  --secondary-dark: #3a4d61;
  --accent-color: #487068;
  /* Soft Muted Gold */
  --accent-light: #fcf9f2;

  --dark-bg: #d4b9b9;
  /* Header and Navigation background */
  --body-bg: #f5f7f8;
  /* Light gray-blue background */
  --card-bg: #ffffff;
  --border-color: #e0e4e8;

  --text-main: #000000;
  /* Neutral dark gray */
  --text-muted: #546e7a;
  /* Muted gray */
  --text-light: #90a4ae;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max-width: 100%;
  /* Boxed layout maximum width */

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

/* Layout container */
#wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header style */
#header {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 30px 40px;
  border-bottom: 3px solid var(--accent-color);
}

.header-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.logo-link img {
  max-height: 130px;
  height: auto;
  max-width: 100%;
  transition: var(--transition);
}

.logo-link img:hover {
  transform: scale(1.03);
}

.header-text {
  flex: 1;
}

.site-title {
  font-size: 2.3rem;
  font-family: var(--font-serif);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.site-description {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.2px;
}

/* Navigation bar */
#nav-header {
  background-color: #1a252f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li a {
  display: block;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--accent-color);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  padding: 15px;
}

/* Main Content Area */
#main-content {
  flex: 1;
  padding: 40px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.full-width-layout {
  display: block;
}

/* Section styling */
.page-header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.page-header h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  font-family: var(--font-serif);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Image Slider / Carousel */
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 4px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.5s, visibility 1.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  width: 35px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  border-radius: 3px;
  opacity: 0;
}

.slider-container:hover .slider-nav {
  opacity: 1;
}

.slider-nav:hover {
  background: #000;
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-dot:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-dot.active {
  background: #fff;
  border-color: #333;
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 40px;
}

.welcome-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.welcome-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  text-align: justify;
}

/* Call to Action Blink Styling (similar to reference page) */
.blink-banner {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent-color);
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blink-text {
  font-weight: 600;
  color: var(--primary-dark);
}

.blink-animation {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* Sidebar Section */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.widget {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.widget:hover {
  box-shadow: var(--shadow-md);
}

.widget-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Social links widget */
.social-links {
  display: flex;
  gap: 12px;
  list-style: none;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--body-bg);
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Latest News widget */
.news-widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-widget-item {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 12px;
}

.news-widget-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.news-widget-title {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* Faculty Profile Detail Cards (People Page) */
.faculty-profile-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.faculty-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.profile-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--body-bg);
  box-shadow: var(--shadow-sm);
}

.profile-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.profile-info .role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 2px;
}

.profile-info .dept {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.meta-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-link.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.btn-link.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Biography Text Block */
.bio-section h4 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.bio-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-main);
  text-align: justify;
}

/* Grid for Students and Group Members */
.members-section {
  margin-top: 40px;
}

.members-section h3 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.member-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-photo-container {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  margin: 0 auto 15px auto;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.member-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
}

.member-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.member-badge {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 40px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-phd {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.badge-alumni {
  background-color: #f1f3f4;
  color: #5f6368;
}

.member-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.member-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-grow: 1;
}

.member-year {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.member-current {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-top: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

/* Research Topics Layout */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
}

.research-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 300px 1fr;
}

.research-img-container {
  height: 100%;
  min-height: 200px;
  position: relative;
}

.research-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.research-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.research-content h3 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.research-content p {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
  text-align: justify;
}

/* Publications Page styling */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.stat-box {
  background-color: var(--accent-light);
  border: 1px solid #ebdcb9;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pub-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.pub-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 6px;
}

.pub-authors {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pub-journal {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 12px;
}

.pub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.pub-citations {
  background-color: var(--accent-light);
  color: var(--accent-color);
  border: 1px solid #ebdcb9;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 40px;
}

.pub-link-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
}

.pub-link-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Tabs for Publications toggling */
.tabs-navigation {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 25px;
  gap: 5px;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary-color);
  background-color: var(--body-bg);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Courses Styling */
.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.course-card {
  display: flex;
  gap: 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.course-code {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  font-size: 0.9rem;
}

.course-body {
  flex: 1;
}

.course-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: justify;
}

/* Contact Us Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background-color: var(--primary-dark);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 400px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Gallery Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: calc(var(--radius-md) - 1px);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #ffffff;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Footer Section */
#footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  border-top: 3px solid var(--accent-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  height: 60px;
}

.footer-logo-text h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.footer-logo-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.footer-bottom {
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy strong {
  color: #ffffff;
}

/* Responsive breakdowns */
@media (max-width: 992px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

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

  .research-img-container {
    height: 250px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #header {
    padding: 20px;
  }

  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .site-title {
    font-size: 1.8rem;
  }

  .site-description {
    font-size: 0.95rem;
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1a252f;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-menu li a:hover,
  .nav-menu li.active a {
    border-left-color: var(--accent-color);
  }

  .nav-toggle {
    display: block;
  }

  #main-content {
    padding: 25px 20px;
  }

  .slider-container {
    height: 400px;
  }

  .slide-caption h3 {
    font-size: 1.25rem;
  }

  .faculty-profile-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .profile-image-container {
    align-items: center;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .footer-logo {
    flex-direction: column;
  }
}
/* Funding Page Styles */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.funding-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}

.funding-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.funding-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funding-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
