@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.floating-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.gradient-text {
  background: linear-gradient(90deg, #00bfff, #925be7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 2rem;
}

nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2196f3;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2196f3;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.contact-btn {
  background: linear-gradient(90deg, #0434ad, #925be7);
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-text {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.explore-btn {
  background: #00bfff;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.explore-btn:hover {
  background: #0099cc;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5);
}

.avatars {
  margin-top: 2rem;
  display: flex;
  align-items: center;
}

.avatars img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: -15px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.8);
  transition: transform 0.3s ease;
}

.avatars img:hover {
  transform: scale(1.1);
  z-index: 2;
}

.avatars span {
  font-size: 1.2rem;
  margin-left: 1.5rem;
  font-weight: 500;
}

.socials {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.socials a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #00bfff;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 5%;
  background: linear-gradient(to right, #002766, #013a96);
  color: white;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2" /></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.features-text {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.features-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.features-text p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.feature-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #00bfff;
}

.feature-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.features-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.features-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Categories Section */
.categories {
  padding: 5rem 5%;
  background-color: #fff;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.category-buttons button {
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  border: 2px solid #2196f3;
  background: transparent;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-buttons button:hover,
.category-buttons .active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
}

.card-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card-info span {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.card-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.card-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  padding: 0;
  margin: 0;
}

.view-more {
  text-align: center;
  margin-top: 3rem;
}

.view-more-btn {
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 5%;
  background-color: #f8f9fa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  font-size: 2rem;
  color: #00bfff;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -10px;
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #666;
}

/* Support Section */
.support {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #e9f7ff, #cce6ff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0c0c0c;
}

.support p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #444;
}

.support-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.stat {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2.8rem;
  color: #2196f3;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 0;
}

.stat p strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.donation-tier {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.donation-tier:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.donation-tier.popular {
  border: 2px solid #2196f3;
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #2196f3;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.donation-tier h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.donation-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2196f3;
  margin-bottom: 1.5rem;
}

.donation-tier ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.donation-tier ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.donation-tier ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2196f3;
  font-weight: bold;
}

.donation-tier button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donation-tier button:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
}

/* Categories Grid Section */
.categories-grid {
  padding: 5rem 5%;
  background-color: #fff;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: white;
  border-radius: 16px;
  padding: 2rem;
  color: #0c0c0c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
  font-size: 2.5rem;
  color: #2196f3;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 50%;
}

.category-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.category-info p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.8rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  border-radius: 3px;
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
  text-align: center;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 1.5rem;
  background: #00bfff;
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  background: #0099cc;
}

.privacy-note {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

/* Footer Styles */
footer {
  background: #0c0c0c;
  color: white;
  padding: 5rem 5% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #2196f3;
}

.footer-section p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #2196f3;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li a {
  color: white;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
  color: #2196f3;
  padding-left: 5px;
}

.footer-section ul li i {
  margin-right: 10px;
  color: #2196f3;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #2196f3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-text, .features-text {
    flex: 1 1 100%;
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .hero-image, .features-image {
    flex: 1 1 100%;
  }
  
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav {
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .contact-btn {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-text h1, .features-text h2, .section-title {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 30px;
    width: 100%;
    justify-content: center;
  }
  
  .donation-options {
    flex-direction: column;
    align-items: center;
  }
  
  .donation-tier {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 576px) {
  .hero, .features, .categories, .testimonials, .support, .categories-grid, .newsletter {
    padding: 3rem 1.5rem;
  }
  
  .hero-text h1, .features-text h2, .section-title {
    font-size: 1.8rem;
  }
  
  .support-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Document Library Specific Styles */
.library-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.library-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.search-bar {
  display: flex;
  max-width: 600px;
  margin-bottom: 2rem;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
}

.search-bar input:focus {
  outline: none;
}

.search-bar button {
  padding: 0 1.5rem;
  background: #00bfff;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar button:hover {
  background: #0099cc;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Library Filters */
.library-filters {
  padding: 2rem 5%;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip {
  padding: 0.6rem 1.2rem;
  background: #f0f0f0;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.chip:hover, .chip.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33,150,243,0.2);
}

.type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.filter-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.filter-option:hover input ~ .checkmark {
  background-color: #ddd;
}

.filter-option input:checked ~ .checkmark {
  background-color: #2196f3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.filter-option input:checked ~ .checkmark:after {
  display: block;
}

.filter-option .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.year-slider {
  max-width: 400px;
}

.slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  outline: none;
  border-radius: 4px;
  margin: 1rem 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #2196f3;
  cursor: pointer;
  border-radius: 50%;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #2196f3;
  cursor: pointer;
  border-radius: 50%;
}

.year-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
}

.sort-select {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
  background: white;
  cursor: pointer;
}

/* Document Results */
.document-results {
  padding: 2rem 5%;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.results-header h2 {
  font-size: 1.5rem;
  color: #333;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.6rem 1rem;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover, .view-btn.active {
  background: #2196f3;
  color: white;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.documents-grid.list-view {
  grid-template-columns: 1fr;
}

.documents-grid.list-view .document-card {
  display: flex;
  height: auto;
}

.documents-grid.list-view .document-image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.document-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.document-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  background: #2196f3;
  z-index: 2;
}

.document-badge.trending {
  background: #ff5722;
}

.document-badge.featured {
  background: #ffc107;
  color: #333;
}

.document-image {
  height: 200px;
  overflow: hidden;
}

.document-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.document-card:hover .document-image img {
  transform: scale(1.05);
}

.documents-grid.list-view .document-info {
  padding: 1.5rem;
  flex: 1;
}

.document-info {
  padding: 1.5rem;
}

.document-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: #666;
}

.document-category {
  color: #2196f3;
  font-weight: 500;
}

.document-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
  line-height: 1.4;
}

.document-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.document-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.documents-grid.list-view .document-excerpt {
  -webkit-line-clamp: 5;
}

.document-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.document-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.document-actions {
  display: flex;
  gap: 1rem;
}

.action-btn {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.preview-btn {
  background: #f0f0f0;
  color: #333;
}

.preview-btn:hover {
  background: #ddd;
}

.download-btn {
  background: #2196f3;
  color: white;
}

.download-btn:hover {
  background: #1976d2;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover, .page-btn.active {
  background: #2196f3;
  color: white;
  border-color: #2196f3;
}

.page-ellipsis {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

/* Library CTA */
.library-cta {
  padding: 4rem 5%;
  background: linear-gradient(135deg, #e9f7ff, #cce6ff);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.cta-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(33,150,243,0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33,150,243,0.4);
}

.cta-btn.secondary {
  background: white;
  color: #2196f3;
  border: 2px solid #2196f3;
}

.cta-btn.secondary:hover {
  background: #f0f8ff;
  transform: translateY(-3px);
}

/* Responsive Design for Document Library */
@media (max-width: 992px) {
  .hero-content, .hero-image {
    flex: 1 1 100%;
  }
  
  .hero-content {
    margin-bottom: 3rem;
    padding-right: 0;
  }
  
  .documents-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .documents-grid.list-view .document-card {
    flex-direction: column;
  }
  
  .documents-grid.list-view .document-image {
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .library-hero, .library-filters, .document-results, .library-cta {
    padding: 2rem 1.5rem;
  }
  
  .category-chips, .type-filters {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .documents-grid {
    grid-template-columns: 1fr;
  }
}


/* Engagement Hub Specific Styles */
.hub-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Hub Features */
.hub-features {
  padding: 5rem 5%;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #2196f3;
  margin-bottom: 1.5rem;
  display: inline-flex;
  width: 80px;
  height: 80px;
  background: rgba(33,150,243,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-link {
  color: #2196f3;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.feature-link:hover {
  color: #1976d2;
  gap: 8px;
}

/* Discussion Forums */
.discussion-forums {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #333;
}

.new-topic-btn, .ask-question-btn, .create-group-btn {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-topic-btn:hover, .ask-question-btn:hover, .create-group-btn:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(25,118,210,0.3);
}

.forum-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.category-header h3 {
  font-size: 1.2rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-header h3 i {
  color: #2196f3;
}

.topics-count {
  font-size: 0.9rem;
  color: #666;
  background: #f5f5f5;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.recent-topics {
  margin-bottom: 1.5rem;
}

.topic {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f5f5f5;
}

.topic:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.topic h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.topic h4 a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.topic h4 a:hover {
  color: #2196f3;
}

.topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.topic-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.topic-meta i {
  font-size: 0.8rem;
}

.view-all {
  color: #2196f3;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.view-all:hover {
  gap: 8px;
}

/* Research Groups */
.research-groups {
  padding: 5rem 5%;
  background: white;
}

.group-categories {
  max-width: 1200px;
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.group-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.group-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.group-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  background: #2196f3;
  z-index: 2;
}

.group-badge.trending {
  background: #ff5722;
}

.group-badge.new {
  background: #ffc107;
  color: #333;
}

.group-image {
  height: 180px;
  overflow: hidden;
}

.group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.group-card:hover .group-image img {
  transform: scale(1.05);
}

.group-info {
  padding: 1.5rem;
}

.group-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.group-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.group-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.group-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.group-actions {
  display: flex;
  gap: 1rem;
}

.join-btn, .learn-more-btn {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-btn {
  background: #2196f3;
  color: white;
}

.join-btn:hover {
  background: #1976d2;
}

.learn-more-btn {
  background: #f0f0f0;
  color: #333;
}

.learn-more-btn:hover {
  background: #ddd;
}

.view-all-groups {
  text-align: center;
  margin-top: 2rem;
}

.view-all-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33,150,243,0.4);
}

/* Upcoming Events */
.upcoming-events {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.event-filters {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
}

.events-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-month {
  margin-bottom: 3rem;
}

.timeline-month h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
}

.events-list {
  display: grid;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.event-card.featured {
  border-left: 4px solid #2196f3;
}

.event-date {
  min-width: 80px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  color: #2196f3;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-details {
  flex: 1;
  padding: 1.5rem;
}

.event-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.event-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.register-btn {
  padding: 0.8rem 1.5rem;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background: #1976d2;
}

.view-all-events {
  text-align: center;
  margin-top: 2rem;
}

/* Q&A Section */
.qna-section {
  padding: 5rem 5%;
  background: white;
}

.qna-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.questions-list {
  max-width: 800px;
  margin: 0 auto;
}

.question-card {
  display: flex;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.question-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.question-votes {
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
}

.vote-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.vote-btn:hover {
  color: #2196f3;
}

.vote-count {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: #333;
}

.question-content {
  flex: 1;
}

.question-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.question-content h3 a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.question-content h3 a:hover {
  color: #2196f3;
}

.question-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #666;
}

.question-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.question-meta a {
  color: #2196f3;
  text-decoration: none;
}

.question-meta a:hover {
  text-decoration: underline;
}

.view-all-questions {
  text-align: center;
  margin-top: 2rem;
}

/* Mentorship Section */
.mentorship-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #e9f7ff, #cce6ff);
}

.mentorship-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mentorship-text {
  flex: 1 1 50%;
  padding-right: 2rem;
}

.mentorship-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0c0c0c;
}

.mentorship-text p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.mentorship-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mentorship-stats .stat-item {
  text-align: center;
}

.mentorship-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2196f3;
}

.mentorship-stats .stat-label {
  font-size: 0.9rem;
  color: #666;
}

.mentorship-actions {
  display: flex;
  gap: 1.5rem;
}

.mentor-btn, .mentee-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mentor-btn {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(33,150,243,0.3);
}

.mentor-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33,150,243,0.4);
}

.mentee-btn {
  background: white;
  color: #2196f3;
  border: 2px solid #2196f3;
}

.mentee-btn:hover {
  background: #f0f8ff;
  transform: translateY(-3px);
}

.mentorship-image {
  flex: 1 1 45%;
}

.mentorship-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonials-slider {
  max-width: 800px;
  margin: 3rem auto 0;
}

.testimonial-slide {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 0 auto;
  display: none;
}

.testimonial-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  font-size: 2rem;
  color: #00bfff;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -10px;
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.8;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #666;
}

/* Hub CTA */
.hub-cta {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-btn {
  padding: 1rem 2.5rem;
  background: #00bfff;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,191,255,0.4);
}

.cta-btn:hover {
  background: #0099cc;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,191,255,0.5);
}

/* Responsive Design for Engagement Hub */
@media (max-width: 992px) {
  .mentorship-content {
    flex-direction: column;
  }
  
  .mentorship-text {
    padding-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .mentorship-stats {
    justify-content: center;
  }
  
  .mentorship-actions {
    justify-content: center;
  }
  
  .forum-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hub-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .new-topic-btn, .ask-question-btn, .create-group-btn {
    width: 100%;
    justify-content: center;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
  }
  
  .event-date .day, .event-date .month {
    display: inline-block;
  }
}

@media (max-width: 576px) {
  .hub-hero, .hub-features, .discussion-forums, 
  .research-groups, .upcoming-events, .qna-section, 
  .mentorship-section, .hub-cta {
    padding: 3rem 1.5rem;
  }
  
  .groups-grid {
    grid-template-columns: 1fr;
  }
  
  .question-card {
    flex-direction: column;
    text-align: center;
  }
  
  .question-votes {
    flex-direction: row;
    margin-right: 0;
    margin-bottom: 1rem;
    justify-content: center;
  }
  
  .vote-count {
    margin: 0 1rem;
  }
  
  .question-meta {
    justify-content: center;
  }
  
  .mentorship-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Donations Page Specific Styles */
.donations-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.donations-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Impact Section */
.impact-section {
  padding: 5rem 5%;
  background: white;
}

.impact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.impact-content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.impact-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.impact-icon {
  font-size: 2rem;
  color: #2196f3;
  margin-bottom: 1.5rem;
  display: inline-flex;
  width: 60px;
  height: 60px;
  background: rgba(33,150,243,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.impact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.impact-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.progress-container {
  width: 100%;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  border-radius: 5px;
  position: relative;
  transition: width 1.5s ease-out;
}

.progress-text {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Donation Options */
.donation-options {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.options-content {
  max-width: 1200px;
  margin: 0 auto;
}

.donation-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tier-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.tier-card.popular {
  border: 2px solid #2196f3;
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #2196f3;
  color: white;
  padding: 0.3rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tier-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.tier-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.tier-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2196f3;
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.tier-benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.tier-benefits li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #666;
}

.tier-benefits i {
  color: #4caf50;
  margin-top: 3px;
}

.donate-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
}

.one-time-donation {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.one-time-donation h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.donation-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.amount-btn {
  padding: 0.8rem 1.5rem;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover, .amount-btn.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
}

.custom-amount {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 0 1rem;
}

.custom-amount span {
  font-weight: 600;
  color: #666;
}

.custom-amount input {
  padding: 0.8rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  width: 100px;
}

.custom-amount input:focus {
  outline: none;
}

.donate-now-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(33,150,243,0.3);
}

.donate-now-btn:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(25,118,210,0.4);
}

/* Transparency Section */
.transparency-section {
  padding: 5rem 5%;
  background: white;
}

.transparency-content {
  max-width: 1200px;
  margin: 0 auto;
}

.transparency-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  font-size: 1.8rem;
  color: #2196f3;
  margin-top: 5px;
}

.feature-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.feature-text p {
  color: #666;
  line-height: 1.6;
}

.financial-breakdown {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
}

.financial-breakdown h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
}

.breakdown-chart {
  width: 100%;
}

.chart-bar {
  height: 40px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: white;
  font-weight: 600;
  transition: width 1s ease-out;
}

/* Donor Stories */
.donor-stories {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.stories-content {
  max-width: 1200px;
  margin: 0 auto;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.story-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-quote {
  position: relative;
  margin-bottom: 1.5rem;
}

.story-quote i {
  font-size: 2rem;
  color: #00bfff;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -10px;
}

.story-quote p {
  font-style: italic;
  line-height: 1.8;
  color: #666;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.story-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.story-author span {
  font-size: 0.9rem;
  color: #666;
}

/* Other Ways to Give */
.other-ways-to-give {
  padding: 5rem 5%;
  background: white;
}

.ways-content {
  max-width: 1200px;
  margin: 0 auto;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.way-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.way-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.way-icon {
  font-size: 2rem;
  color: #2196f3;
  margin-bottom: 1.5rem;
  display: inline-flex;
  width: 70px;
  height: 70px;
  background: rgba(33,150,243,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.way-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.way-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.learn-more {
  color: #2196f3;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.learn-more:hover {
  color: #1976d2;
  gap: 8px;
}

/* Donation CTA */
.donation-cta {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Responsive Design for Donations Page */
@media (max-width: 992px) {
  .donation-tiers {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tier-card {
    text-align: center;
  }
  
  .tier-benefits {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .donations-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .impact-grid, .ways-grid {
    grid-template-columns: 1fr;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 576px) {
  .donations-hero, .impact-section, .donation-options, 
  .transparency-section, .donor-stories, 
  .other-ways-to-give, .donation-cta {
    padding: 3rem 1.5rem;
  }
  
  .amount-btn {
    flex: 1;
  }
  
  .custom-amount {
    width: 100%;
  }
}

/* About Us Page Specific Styles */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Mission Section */
.mission-section {
  padding: 5rem 5%;
  background: white;
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-text {
  flex: 1 1 50%;
  padding-right: 2rem;
}

.mission-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0c0c0c;
}

.mission-statement {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
}

.mission-statement::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #0434ad, #925be7);
}

.core-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.value:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-icon {
  font-size: 1.8rem;
  color: #2196f3;
  margin-bottom: 1rem;
  display: inline-flex;
  width: 60px;
  height: 60px;
  background: rgba(33,150,243,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.value h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.value p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.mission-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 5%;
  background: linear-gradient(to right, #002766, #013a96);
  color: white;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.timeline-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00bfff;
  border: 4px solid white;
}

.timeline-item.future::before {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
}

.timeline-date {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00bfff;
  margin-bottom: 0.5rem;
}

.timeline-item.future .timeline-date {
  color: rgba(255,255,255,0.6);
}

.timeline-content {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.timeline-content p {
  line-height: 1.6;
  opacity: 0.9;
}

.timeline-item.future .timeline-content {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
}

/* Team Section */
.team-section {
  padding: 5rem 5%;
  background: white;
}

.team-content {
  max-width: 1200px;
  margin: 0 auto;
}

.team-content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
}

.team-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.team-category {
  padding: 0.6rem 1.5rem;
  background: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.team-category:hover, .team-category.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.team-role {
  display: block;
  color: #2196f3;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-bio {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #f0f0f0;
  border-radius: 50%;
  color: #333;
  transition: all 0.3s ease;
}

.team-socials a:hover {
  background: #2196f3;
  color: white;
}

.view-all-team {
  text-align: center;
  margin-top: 2rem;
}

.view-all-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33,150,243,0.4);
}

/* Advisors Section */
.advisors-section {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.advisors-content {
  max-width: 1200px;
  margin: 0 auto;
}

.advisor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.advisor-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.advisor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advisor-image {
  height: 200px;
  overflow: hidden;
}

.advisor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-info {
  padding: 1.5rem;
  flex: 1;
}

.advisor-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.advisor-title {
  display: block;
  color: #2196f3;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.advisor-bio {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Partners Section */
.partners-section {
  padding: 5rem 5%;
  background: white;
}

.partners-content {
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.logo-item {
  max-width: 200px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  height: auto;
}

/* CTA Section */
.cta-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: #00bfff;
  color: white;
  border: none;
  box-shadow: 0 5px 15px rgba(0,191,255,0.4);
}

.cta-btn.primary:hover {
  background: #0099cc;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,191,255,0.5);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Responsive Design for About Page */
@media (max-width: 992px) {
  .mission-content {
    flex-direction: column;
  }
  
  .mission-text {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .team-grid, .advisor-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .core-values {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .partner-logos {
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .about-hero, .mission-section, .timeline-section, 
  .team-section, .advisors-section, 
  .partners-section, .cta-section {
    padding: 3rem 1.5rem;
  }
  
  .team-grid, .advisor-cards {
    grid-template-columns: 1fr;
  }
  
  .team-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .logo-item {
    width: 40%;
  }
}


/* Contact Us Page Specific Styles */
.contact-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Contact Options */
.contact-options {
  padding: 5rem 5%;
  background: white;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.option-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.option-icon {
  font-size: 2.5rem;
  color: #2196f3;
  margin-bottom: 1.5rem;
  display: inline-flex;
  width: 80px;
  height: 80px;
  background: rgba(33,150,243,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.option-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.option-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.option-link {
  display: block;
  color: #2196f3;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.option-link:hover {
  color: #1976d2;
}

.response-time, .availability {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.chat-btn {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.chat-btn:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(25,118,210,0.3);
}

address {
  font-style: normal;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.map-link {
  color: #2196f3;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.map-link:hover {
  color: #1976d2;
  gap: 8px;
}

/* Contact Form Section */
.contact-form-section {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
}

.form-intro {
  flex: 1 1 40%;
  padding: 3rem;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
}

.form-intro h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.form-intro p {
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.form-illustration {
  margin-top: 2rem;
}

.form-illustration img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form {
  flex: 1 1 60%;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.input-container {
  position: relative;
}

.input-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-container input,
.input-container select,
.input-container textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-container textarea {
  height: 150px;
  resize: vertical;
}

.input-container select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.input-container input:focus,
.input-container select:focus,
.input-container textarea:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33,150,243,0.2);
}

.form-footer {
  margin-top: 2rem;
}

.submit-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #1976d2, #0099cc);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(25,118,210,0.3);
}

.btn-icon {
  display: flex;
  align-items: center;
}

.form-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

.form-note a {
  color: #2196f3;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.form-confirmation {
  background: #4caf50;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.form-confirmation i {
  font-size: 1.5rem;
}

.form-confirmation p {
  margin: 0;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 5%;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0c0c0c;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
}

.faq-accordion {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: #f8f9fa;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: #666;
  line-height: 1.8;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
}

.faq-link {
  color: #2196f3;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.faq-link:hover {
  color: #1976d2;
  gap: 10px;
}

/* Social Section */
.social-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #002766, #013a96);
  color: white;
  text-align: center;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.social-link i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-link span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Specific social brand colors */
.social-link.twitter { color: #1da1f2; }
.social-link.linkedin { color: #0077b5; }
.social-link.github { color: #f5f5f5; }
.social-link.youtube { color: #ff0000; }
.social-link.discord { color: #7289da; }

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
  .form-container {
    flex-direction: column;
  }
  
  .form-intro, .contact-form {
    flex: 1 1 100%;
  }
  
  .form-intro {
    text-align: center;
  }
  
  .form-illustration {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .contact-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .form-intro, .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-hero, .contact-options, 
  .contact-form-section, .faq-section, 
  .social-section {
    padding: 3rem 1.5rem;
  }
  
  .submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .social-link {
    width: 80px;
    height: 80px;
  }
  
  .social-link i {
    font-size: 1.5rem;
  }
  
  .social-link span {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .discussion-forums {
    padding: 3rem 1.5rem !important;
  }
  
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  
  .new-topic-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .forum-categories {
    grid-template-columns: 1fr !important;
  }
  
  .category-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
  }
  
  .topic-meta {
    gap: 0.8rem !important;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 1.8rem !important;
  }
  
  .category-header h3 {
    font-size: 1.2rem !important;
  }
  
  .topic h4 {
    font-size: 1rem !important;
  }
  
  .topic-meta {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
}


/* Category filter buttons */
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.category-buttons button {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  border: 2px solid #2196f3;
  background: transparent;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-buttons button:hover,
.category-buttons button.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Filter animation styles */
.filtered-out {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  display: none;
}

.card {
  transition: all 0.3s ease;
}

/* View More button */
.view-more {
  text-align: center;
  margin-top: 3rem;
}

.view-more-btn {
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}


/* Blog Page Styles */
.blog-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(135deg, #0434ad, #925be7);
  padding: 5rem 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-content {
  flex: 1 1 50%;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 90%;
}

.blog-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Blog Categories */
.blog-categories {
  padding: 3rem 5%;
  background: white;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.categories-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.chip {
  padding: 0.8rem 1.5rem;
  background: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.chip:hover,
.chip.active {
  background: linear-gradient(90deg, #2196f3, #00bfff);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33,150,243,0.3);
}

/* Featured Posts */
.featured-posts {
  padding: 3rem 5%;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-featured {
  grid-row: span 2;
}

.post-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .post-image img {
  transform: scale(1.05);
}

.post-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.3rem 0.8rem;
  background: #2196f3;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-category {
  color: #2196f3;
  font-weight: 500;
}

.post-date {
  color: #666;
}

.featured-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.4;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.post-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 500;
  color: #333;
}

.author-title {
  font-size: 0.9rem;
  color: #666;
}

.read-more {
  color: #2196f3;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #1976d2;
  gap: 8px;
}

.featured-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-card.secondary .post-image {
  height: 150px;
}

.featured-card.secondary h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

/* Blog Posts Grid */
.blog-posts {
  padding: 3rem 5%;
  background: white;
}

.view-controls {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.6rem 1rem;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
  background: #2196f3;
  color: white;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.posts-grid.list-view {
  grid-template-columns: 1fr;
}

.posts-grid.list-view .post-card {
  display: flex;
}

.posts-grid.list-view .post-image {
  width: 250px;
  height: 200px;
  flex-shrink: 0;
}

.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-card .post-image {
  height: 200px;
  position: relative;
}

.post-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.3rem 0.8rem;
  background: rgba(33,150,243,0.9);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-card .post-content {
  padding: 1.5rem;
}

.post-card .post-meta {
  margin-bottom: 0.8rem;
}

.read-time {
  color: #666;
}

.post-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #333;
  line-height: 1.4;
}

.post-card .post-excerpt {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.post-author img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author span {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
  background: #2196f3;
  color: white;
  border-color: #2196f3;
}

.page-ellipsis {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0434ad, #925be7);
  color: white;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 1.5rem;
  background: #00bfff;
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  background: #0099cc;
}

.privacy-note {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

/* Responsive Design for Blog */
@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .main-featured {
    grid-row: span 1;
  }
  
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-hero {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .featured-card.secondary .post-image {
    height: 200px;
  }
  
  .posts-grid.list-view .post-card {
    flex-direction: column;
  }
  
  .posts-grid.list-view .post-image {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 30px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .blog-hero,
  .blog-categories,
  .featured-posts,
  .blog-posts,
  .newsletter-section {
    padding: 2rem 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .blog-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Blog Specific Styles */
.blog-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 70vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.blog-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Blog Categories */
.blog-categories {
  padding: 3rem 2rem;
  background: #f8f9fa;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.chip:hover,
.chip.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Featured Posts */
.featured-posts {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.main-featured {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.main-featured:hover {
  transform: translateY(-5px);
}

.main-featured .post-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.main-featured .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-featured:hover .post-image img {
  transform: scale(1.05);
}

.post-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-category {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: 600;
}

.post-date {
  color: #6c757d;
}

.post-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  line-height: 1.4;
}

.post-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #2c3e50;
}

.read-time {
  font-size: 0.8rem;
  color: #6c757d;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #667eea;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: #5a6fd8;
  transform: translateX(5px);
}

/* Side Featured Posts */
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-featured {
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.side-featured:hover {
  transform: translateY(-3px);
}

.side-featured .post-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.side-featured .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-featured .post-content {
  padding: 1rem;
  flex: 1;
}

.side-featured h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  line-height: 1.4;
}

/* Latest Posts */
.latest-posts {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.post-card .post-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  gap: 0.7rem;
  color: #5a6fd8;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
}

.newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  margin-top: 2rem;
}

.input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-group input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

.subscribe-btn {
  padding: 1rem 2rem;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background: #ff5252;
  transform: translateY(-2px);
}

.newsletter-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

.newsletter-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* No Posts State */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}

.no-posts i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-posts h3 {
  margin-bottom: 1rem;
  color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .blog-stats {
    justify-content: center;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .input-group {
    flex-direction: column;
  }
}

/* Animation delays for staggered effects */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }