/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--texxt-main, #1a1a1a);
  background-color: #ffffff;
}

.our-works {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation Header */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  width: 200px;
  height: 60px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar a {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-sub, #666);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a[aria-current="page"] {
  color: var(--primary, #9f5ffe);
  font-weight: 500;
}

.btn-get-involved {
  padding: 14px 24px;
  border: 2px solid var(--primary, #9f5ffe);
  border-radius: 100px;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary, #9f5ffe);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-get-involved:hover {
  background-color: var(--primary, #9f5ffe);
  color: #ffffff;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background-color: var(--text-soft-sub, #f5f5f5);
  padding: 60px 20px;
}

.hero h1 {
  font-size: 96px;
  font-weight: 700;
  color: var(--texxt-main, #1a1a1a);
  text-align: center;
  letter-spacing: -1.92px;
  line-height: 1.3;
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Introduction Section */
.intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.intro-content {
  max-width: 1085px;
}

.category-badge {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--base, #49256f);
  margin-bottom: 10px;
}

.intro-content h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--texxt-main, #1a1a1a);
  line-height: 1.15;
  margin-bottom: 15px;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary, #9f5ffe);
  border-radius: 50px;
  margin-bottom: 16px;
}

.intro-content p {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-sub, #666);
  line-height: 1.4;
}

/* Featured Campaign Section */
.featured-campaign {
  padding: 80px 0;
  background-color: #ffffff;
}

.campaign-card {
  display: flex;
  gap: 60px;
  align-items: center;
  background-color: #f2e5ef;
  border-radius: 10px;
  padding: 50px 40px;
}

.campaign-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.campaign-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--texxt-main, #1a1a1a);
}

.category-item svg {
  width: 24px;
  height: 24px;
  color: var(--texxt-main, #1a1a1a);
}

.campaign-details h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--texxt-main, #1a1a1a);
  line-height: 1.4;
  margin-bottom: 16px;
}

.campaign-details > p {
  font-size: 20px;
  color: var(--text-sub, #666);
  line-height: 1.4;
  margin-bottom: 32px;
}

.progress-section {
  margin-bottom: 32px;
}

.progress-text {
  font-size: 20px;
  color: var(--text-sub, #666);
  margin-bottom: 10px;
}

.progress-text strong {
  color: var(--base, #49256f);
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 14px;
  background-color: var(--text-soft-sub, #f5f5f5);
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--base, #49256f);
  border-radius: 20px;
  transition: width 0.3s ease;
}

.btn-donate {
  padding: 20px 40px;
  background: linear-gradient(180deg, rgba(183, 89, 255, 1) 0%, rgba(73, 37, 111, 1) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  align-self: flex-start;
}

.btn-donate:hover {
  opacity: 0.9;
}

.campaign-image {
  width: 45%;
  max-width: 682px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
  background-color: #fafafa;
}

.section-header {
  text-align: center;
  max-width: 871px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary, #9f5ffe);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 28px;
  font-weight: 600;
  color: var(--texxt-main, #1a1a1a);
  line-height: 1.4;
}

.projects-grid {
  display: flex;
  /* grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); */
  gap: 30px;
  max-width: 1320px;
  margin: 0 auto;
}

.project-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 0.75px solid #e0e0e0;
  box-shadow: 6px 6px 30px rgba(197, 197, 197, 0.41);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 10px 40px rgba(197, 197, 197, 0.5);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--texxt-main, #1a1a1a);
  line-height: 1.4;
}

.card-content p {
  font-size: 14px;
  color: var(--text-sub, #666);
  line-height: 1.4;
  margin-bottom: 8px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--primary, #9f5ffe);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texxt-main, #1a1a1a);
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-secondary:hover {
  background-color: var(--primary, #9f5ffe);
  color: #ffffff;
}

/* Footer */
.footer {
  background-color: var(--primary, #9f5ffe);
  color: #ffffff;
}

.footer-content {
  padding: 80px 80px 40px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-about {
  flex: 1;
  max-width: 542px;
}

.footer-logo {
  width: 168px;
  height: 51px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.footer-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-donate-footer {
  padding: 15px 22px;
  background-color: #d97fb4;
  color: var(--texxt-main, #1a1a1a);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-donate-footer:hover {
  opacity: 0.9;
}

.btn-contact-footer {
  padding: 15px 22px;
  background-color: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  border: 0.75px solid #ffffff;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-contact-footer:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 60px;
}

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

.link-column a {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.link-column a:hover {
  opacity: 0.8;
}

.copyright {
  background-color: #f2e5ef;
  padding: 15px 80px;
  text-align: center;
}

.copyright p {
  font-size: 14px;
  color: var(--texxt-main, #1a1a1a);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .nav-header {
    padding: 20px 40px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .campaign-card {
    flex-direction: column;
  }

  .campaign-image {
    width: 100%;
    max-width: 100%;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-content {
    padding: 60px 40px 30px;
  }

  .copyright {
    padding: 15px 40px;
  }
}

@media (max-width: 768px) {
  .nav-header {
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
  }

  .logo {
    width: 150px;
    height: 45px;
  }

  .navbar {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .navbar a {
    font-size: 16px;
  }

  .btn-get-involved {
    font-size: 16px;
    padding: 12px 20px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .container {
    padding: 0 20px;
  }

  .intro-section {
    padding: 60px 0;
  }

  .intro-content h2 {
    font-size: 32px;
  }

  .intro-content p {
    font-size: 18px;
  }

  .featured-campaign {
    padding: 60px 0;
  }

  .campaign-card {
    padding: 30px 20px;
    gap: 30px;
  }

  .campaign-details h3 {
    font-size: 24px;
  }

  .campaign-details > p {
    font-size: 18px;
  }

  .projects-section {
    padding: 60px 0;
  }

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

  .section-header p {
    font-size: 24px;
  }

  .footer-content {
    padding: 40px 20px 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .copyright {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .intro-content h2 {
    font-size: 28px;
  }

  .campaign-categories {
    flex-direction: column;
    gap: 15px;
  }

  .campaign-details h3 {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 18px;
  }

  .section-header p {
    font-size: 20px;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .btn-donate-footer,
  .btn-contact-footer {
    width: 100%;
    text-align: center;
  }
}
