:root {
  --forest-green: #0d367e;
  --sage-green: rgb(9 136 131);
  --mint-bg: #dbf5f5;
  --gold-accent: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family: sans-serif;
  background: #fcfdfc;
}

/* Navbar & Hero */
.navbar {
  background: #fff;
}

.navbar-expand-lg .navbar-nav .nav-link {
  color: #000;
  font-size: 19px;
  font-weight: 600;
  padding: 0 20px;
}
.navbar-expand-lg .navbar-nav .nav-link img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  margin-top: 4px;
}

.navbar-brand .logo-new {
  width: 60px;
}
.navbar-brand .logo-new-one {
  width: 240px;
}
.top-header {
  background: linear-gradient(180deg, #0e0f56 0%, #08869d 100%);
}
.card-text {
  text-align: justify;
}
.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.492), rgba(0, 0, 0, 0.547)),
    url("../assets/images/planting.gif");
  background-size: cover;
  color: white;
  padding: 155px 0 155px 0;
}
.icon-home {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

/* Overlapping Stats Bar */
.stats-container {
  margin-top: -60px;
  z-index: 10;
  position: relative;
}

.stats-card {
  background: white;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 25px;
  border-bottom: 5px solid var(--gold-accent);
}

/* Champions Section */
.champion-card {
  background: var(--theme-bg-light);
  border: none;
  border-radius: 15px;
  transition: transform 0.3s;
}

.champion-card:hover {
  transform: translateY(-5px);
}

.champion-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

/* Dashboard Components */
.dashboard-panel {
  background: var(--theme-primary);
  color: var(--theme-white);
  border-radius: 20px;
  padding: 20px;
  height: 100%;
}

.component-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
}

.map-placeholder {
  background: #e0e0e0;
  height: 300px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* News & Resources */
.news-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.resource-box {
  background: #f8f9fa;
  border: 1px dashed #ccc;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Generic Utilities */
.section-padding {
  padding: 50px 0;
}

.text-forest {
  color: var(--forest-green);
}

.bg-mint {
  background: var(--mint-bg);
}

.btn-gold {
  background: var(--gold-accent);
  color: #000;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: capitalize;
}

.card {
  border: 1px solid #eee;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.educational-block {
  background:
    linear-gradient(to bottom, #3B1FA3, #00C6FF),
    url("https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=1200");
  background-size: cover; /* Light green from the image */
  padding: 50px 20px;
  text-align: center;
  position: relative;
}

.educational-block h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-transform: capitalize;
  color: #ffffff;
}

.educational-block .content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 40px;
}

.educational-block .column {
  max-width: 400px;
  text-align: center;
}

.educational-block .icon {
  margin-bottom: 20px;
}

.educational-block .icon img {
  width: 80px;
  height: 80px;
}

.educational-block h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.educational-block ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.educational-block ul {
  list-style: none;
}
.educational-block ul li {
  margin-bottom: 10px;
  color: #ffffff;
  position: relative;
  padding-left: 20px;
}

.educational-block .divider {
  width: 1px;
  background: #dcdcdc;
  align-self: stretch;
}

.register-now-btn {
  background: var(--gold-accent); /* Yellow from the image */
  color: #fff;
  font-weight: 600;
  padding: 10px 25px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  border-color: var(--gold-accent);
}

.register-now-btn:hover {
  background: #84e07c;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  .educational-block .content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .educational-block .divider {
    display: none; /* Hide the vertical divider on small screens */
  }

  .educational-block h2 {
    font-size: 2em;
  }

  .educational-block h3 {
    font-size: 1.5em;
  }
}

/* .resources-container {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        font-family: sans-serif;
    } */

/* .resources-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    } */

.resource-item {
  background: #e0eaf0;
  border: 1px solid #dceddc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}

.resource-item:hover {
  background: #e0eaf0;
}

.resource-item.uploaded {
  background: #e0eaf0;
}

.resource-item .day {
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.resource-item .plus-icon {
  font-size: 24px;
  color: var(--forest-green);
  margin: 10px 0;
}

.resource-item .upload-text {
  font-size: 12px;
  color: #555;
}

.stats-bar {
  background:
    linear-gradient(to bottom, #3B1FA3, #00C6FF),
    url("https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=1200");
  background-size: cover;
  padding: 60px 0;
  color: white;
  text-align: center;
}
.about-hero {
  background: url("../assets/images/planting1.gif") no-repeat center
    center/cover;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000079;
}

.about-hero h1 {
  position: relative;
  font-size: 3.5rem;
  font-weight: bold;
}

.about-section {
  padding: 80px 0;
}

.about-section .section-title {
  font-weight: bold;
  color: #333;
}

.campus-gallery .gallery-nav {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

.stats-bar .stat {
  border-right: 1px solid rgba(255, 255, 255, 0.77);
}

.stats-bar .stat:last-child {
  border-right: none;
}
.campus-section {
  padding: 80px 0;
}

.campus-gallery {
  position: relative;
}

.campus-gallery .background-shape {
  position: absolute;
  top: -50px;
  left: 50px;
  width: 100%;
  height: 100%;
  background: #002347;
  border-radius: 10px;
}

.campus-gallery img,
.campus-gallery video {
  position: relative;
  width: 100%;
  border-radius: 10px;
  z-index: 1;
}

/**
 * Common styles for CER Fund Portal
 */

.content-wrapper {
  flex: 1;
  padding: 1.5rem 0;
}

/* Header styles */
.main-header {
  height: var(--header-height);
  background: linear-gradient(
    to right,
    var(--primary-dark),
    var(--primary-color)
  );
  color: white;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  height: 36px;
  margin-right: 10px;
}

.brand-text {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0;
}

.brand-subtext {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Top menu styles */
.top-menu {
  height: var(--menu-height);
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  z-index: 1020;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: #374151;
  font-weight: 500;
  padding: 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.nav-link i {
  margin-right: 0.5rem;
}

/* Dropdown styles */
.dropdown-menu {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background: rgba(0, 120, 212, 0.05);
}

.dropdown-item i {
  margin-right: 0.5rem;
  color: #6b7280;
}

/* User dropdown */
.user-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 0.75rem;
}

.user-info {
  line-height: 1.2;
}

.user-info .name {
  font-weight: 600;
  font-size: 0.875rem;
}

.user-info .role {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Notification badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: #ff4d4f;
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Search bar */
.search-bar {
  position: relative;
  max-width: 300px;
}

.search-bar input {
  padding-left: 2.25rem;
  border-radius: 20px;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
}

.search-bar input:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  color: white;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  z-index: 5;
}

/* Card styles */
.card {
  border-radius: 0rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.card-header {
  background: white;
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 1.5rem;
  font-weight: 600;
}

/* Badge styles */
.badge-soft-success {
  background: var(--success-color);
  color: var(--success-color);
}

.badge-soft-warning {
  background: var(--warning-color);
  color: var(--warning-color);
}

.badge-soft-danger {
  background: var(--danger-color);
  color: var(--danger-color);
}

.badge-soft-info {
  background: var(--info-color);
  color: var(--info-color);
}

.badge-soft-primary {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* Table styles */
.table > :not(:first-child) {
  border-top: none;
}

.table th {
  background: rgba(0, 0, 0, 0.02);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05rem;
}

.table td {
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: rgba(0, 120, 212, 0.05);
}

/* Action buttons */
.action-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--card-border);
  background: white;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.action-btn:hover {
  background: var(--gray-bg);
  color: #212529;
}

.action-btn.view:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.action-btn.approve:hover {
  color: var(--success-color);
  border-color: var(--success-color);
}

.action-btn.reject:hover {
  color: var(--danger-color);
  border-color: var(--danger-color);
}

/* Progress bars */
.progress {
  height: 6px;
  border-radius: 3px;
}

/* Chart container */
.chart-container {
  position: relative;
  height: 300px;
}

/* Footer styles */
.main-footer {
  background: #006987;
  color: #fff;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.footer-links li {
  margin-right: 1.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-links i {
  margin-right: 0.25rem;
}

.app-version {
  font-size: 0.75rem;
  color: #fff;
}

/* Stats Cards */
.stats-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  height: 100%;
  transition: all 0.3s ease;
}

.stats-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stats-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stats-number {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stats-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.bg-primary {
  background: #006987 !important;
}

/* Background colors for stats icons */
.bg-primary-light {
  background: var(--primary-light);
}

.bg-success-light {
  background: var(--success-color);
}

.bg-warning-light {
  background: var(--warning-color);
}

.bg-danger-light {
  background: var(--danger-color);
}

.bg-info-light {
  background: var(--info-color);
}

/* Mobile adjustments */
@media (max-width: 992px) {
  .nav-label {
    display: none;
  }

  .nav-link i {
    margin-right: 0;
    font-size: 1.25rem;
  }

  .nav-link {
    justify-content: center;
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .brand-subtext {
    display: none;
  }

  .user-info {
    display: none;
  }

  .search-bar {
    max-width: 160px;
  }

  .footer-links {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .footer-links li {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .main-footer .text-end {
    text-align: left !important;
  }
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #fff;
}

.gallery-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.gallery-item {
  width: 300px;
  height: 200px;
  perspective: 1000px;
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.gallery-item:hover .gallery-item-inner {
  transform: rotateY(180deg);
}

.gallery-item-front,
.gallery-item-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-back {
  background: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.gallery-item-back h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gallery-item-back p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.stat h6 {
  font-size: 25px;
}

.our-story-section {
  background: #1a1a1a;
  color: #fff;
  padding: 80px 0;
}
.our-story-section .sub-heading {
  color: #aaa;
  letter-spacing: 2px;
  font-weight: 500;
}
.our-story-section .heading {
  font-size: 2.8rem;
  font-weight: bold;
  margin: 20px 0 40px;
  line-height: 1.2;
}
.our-story-section .heading span {
  color: var(--gold-accent);
}
.story-right-content .image-gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.story-right-content .image-gallery img {
  width: 100%;
  border-radius: 10px;
}
.story-right-content p {
  color: #aaa;
  margin-bottom: 30px;
}
.our-story-section .stats-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.our-story-section .stat-item h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}
.our-story-section .stat-item p {
  color: #aaa;
  font-size: 14px;
}
.watch-intro {
  display: flex;
  align-items: center;
  gap: 15px;
}
.watch-intro .play-button {
  width: 50px;
  height: 50px;
  background: rgb(9 136 131);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
}
.watch-intro span {
  font-weight: 500;
}
.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -15px;
}
.avatars img:first-child {
  margin-left: 0;
}
.explore {
  font-weight: 900;
  color: #0d367e;
}

.event-snapshots-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.event-snapshots-slider .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.event-snapshots-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.event-snapshots-slider .swiper-button-next,
.event-snapshots-slider .swiper-button-prev {
  color: #007bff;
}

.event-snapshots-slider .swiper-pagination-bullet-active {
  background: #007bff;
}

.accordion-item {
  background: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  color: #ffffff;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0 !important;
  padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  color: #ffffff;
  background: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
  transform: scale(1.3);
  background-size: contain;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
}

.accordion-body {
  background: #f0f5e6;
  color: #333;
  padding: 1.5rem;
}

.faq-right-panel {
  background: var(--mint-bg);
  border-radius: 15px;
  position: relative;
  color: #006987;
}

.faq-right-panel .img-fluid {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.faq-right-content {
  padding: 30px;
}

.view-more-btn {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: bold;
  background: white;
  color: #333;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: transparent;
  color: rgb(0, 0, 0);
}

.register-link {
  color: #006987;
  text-decoration: none;
  font-weight: 600;
}

.register-link:hover {
  color: #006987;
  text-decoration: underline;
}

.question-mark-img {
  position: absolute;
  bottom: 80px;
  right: -15px;
  width: 80px;
}

/* =================================
   Project Section Styles
==================================== */

/* Heading and Pills Navigation */
.projects-section .nav-pills .nav-link {
  background: #f3f4f6; /* Light gray for inactive pills */
  color: #374151; /* Dark gray text */
  margin: 0 5px;
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: 500;
}

.projects-section .nav-pills .nav-link.active,
.projects-section .nav-pills .show > .nav-link {
  background: var(--gold-accent); /* Vibrant orange for active pill */
  color: #ffffff;
}

/* Project Card Styling */
.project-card {
  border: none;
  border-radius: 15px;
  overflow: hidden; /* Ensures the clip-path is respected */
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* The unique clipped image effect */
.project-card .card-img-top-wrapper {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}
p {
  text-align: justify;
}

.project-card .card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-card .card-body {
  padding: 25px;
}

.project-card .card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card .card-text {
  color: #6b7280; /* Medium gray for text */
  font-size: 0.9rem;
}

.project-card .project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0 25px;
  font-size: 0.85rem;
  color: #4b5563;
}

.project-card .project-meta span {
  display: flex;
  align-items: center;
}

.project-card .project-meta i {
  margin-right: 8px;
  color: var(--gold-accent); /* Orange icon color */
}

.project-card .view-more-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  background: var(--gold-accent);
  padding: 5px 15px 8px;
  border-radius: 20px;
}

.project-card .view-more-link:hover {
  color: var(--gold-accent); /* Darker orange on hover */
}

/* Conservation Approach Slider Section */
.conservation-approach-section {
  background: #f5f2ed;
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.slider-nav {
  display: flex;
  gap: 15px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #1a365d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.nav-btn:hover {
  background: #1a365d;
  transform: scale(1.1);
}

.conservation-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-card {
  min-width: 50%;
  margin: 20px;
  position: relative;
}

.card-content {
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Card 1 - Image Card */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card 2 - Split Layout */
.card-split {
  display: flex;
}

.card-left {
  flex: 1;
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-right {
  flex: 1;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  display: flex;
  align-items: center;
  padding: 40px;
}

/* Card 3 - Dark Overlay */
.card-dark {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  position: relative;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://via.placeholder.com/1200x500/1a365d/ffffff?text=Nature+Background")
    center/cover;
  opacity: 0.3;
}

/* Common Card Text Styles */
.card-text {
  position: relative;
  z-index: 2;
  color: #c3c3c3;
  font-size: 15px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-align: left;
}

.card-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
}

.custom-card {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(to bottom, #3B1FA3, #00C6FF);
  color: #fff;
  height: 480px;
}

/* Image Wrapper */
.image-wrapper {
  position: relative;
}

/* Badge Style */
.date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold-accent);
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 10px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.date-badge .day {
  display: block;
  font-size: 16px;
}

.date-badge .month {
  display: block;
  font-size: 11px;
}

/* Autoplay Indicator */
.autoplay-indicator {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.timer-text {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}
@media screen and (max-width: 1199px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 5px;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-split {
    flex-direction: column;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 1rem;
  }

  .autoplay-indicator {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .conservation-approach-section {
    padding: 50px 0;
  }

  .card-content {
    height: 400px;
  }

  .card-right {
    padding: 25px;
  }

  .card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
