/* ==========================================================================
   Homepage Specific Styles
   ========================================================================== */

/* Homepage Layout */
.homepage-container {
  width: 100%;
}

/* Common Section Styles */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.section-subtitle {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1.3rem;
  font-weight: 400;
  color: #666;
  max-width: 100%;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(237, 219, 128, 0.7) 0%,
    rgba(161, 174, 28, 0.8) 33%,
    rgba(77, 101, 40, 0.8) 66%,
    rgba(19, 44, 23, 0.9) 100%
  );
}


.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(237, 219, 128, 0.7) 0%,
    rgba(161, 174, 28, 0.8) 33%,
    rgba(77, 101, 40, 0.8) 66%,
    rgba(19, 44, 23, 0.9) 100%
  );
}

.hero-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
}


.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(237, 219, 128, 0.7) 0%,
    rgba(161, 174, 28, 0.8) 33%,
    rgba(77, 101, 40, 0.8) 66%,
    rgba(19, 44, 23, 0.9) 100%
  );
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 3;
  padding: 60px 10px;
  border-radius: 0;
  backdrop-filter: blur(2px);
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.hero-content .container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: 100%;
  text-align: center;
  padding: 0 15px;
}

.hero-text {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-title {
  font-family: 'Mallanna', 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 7rem !important;
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.hero-subtitle {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 2.5rem;
  font-weight: 400;
  color: #f8f9fa;
  margin: 0 auto 40px auto;
  line-height: 1.3 !important;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  max-width: 100%;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* .hero-image {
  width: 100%;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
} */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.scroll-arrow {
  font-size: 24px;
  margin-top: 10px;
}

/* About Section */
.about-section {
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.mission-points {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.mission-points li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #555;
  font-size: 1.1rem;
}

.mission-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 1.2rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #007cba;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1rem;
}

/* News Section */
.news-section {
  background: #fff;
}

/* Campaigns Section */
.campaigns-section {
  background: #f8f9fa;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

.campaigns-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.campaigns-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.campaign-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.campaign-slide.active {
  opacity: 1;
}

.campaign-slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.campaign-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(237, 219, 128, 0.7) 0%,
    rgba(161, 174, 28, 0.8) 33%,
    rgba(77, 101, 40, 0.8) 66%,
    rgba(19, 44, 23, 0.9) 100%
  );
  z-index: 1;
}

.campaign-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.campaign-content-centered {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 40px;
}

.campaign-title {
  font-family: 'Space Mono', 'Consolas', 'Monaco', monospace;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.campaign-description {
  font-size: 1.4rem;
  color: #f8f9fa;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.campaign-progress {
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.campaign-progress .progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.campaign-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fff, #f8f9fa);
  border-radius: 6px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.campaign-progress .progress-text {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-campaign {
  background: #fff;
  color: rgba(161, 174, 28, 0.8);
  border: 2px solid #fff;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-campaign:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #fff;
  backdrop-filter: blur(10px);
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-nav.prev {
  left: 40px;
}

.carousel-nav.next {
  right: 40px;
}

/* Dots indicator */
.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dot {
  height: 16px;
  width: 16px;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.dot.active,
.dot:hover {
  background-color: #fff;
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.campaign-progress {
  margin-top: 20px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007cba, #28a745);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.campaigns-cta {
  text-align: center;
}

/* News Section */
.news-section {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.news-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 200px;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0;
}

.news-image-square {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image-square img {
  transform: scale(1.05);
}

.news-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100px;
}

.news-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.news-meta {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-author {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
}

.news-title {
  margin-bottom: 5px !important;
  flex-grow: 1;
}

.news-excerpt {
  margin-top: auto;
  margin-bottom: 20px;
  margin-right: 10px;
}

.news-date {
  color: #218838;
  font-size: 0.9rem;
  font-weight: 600;
}

.news-title {
  margin-bottom: 15px;
}

.news-title a {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #218838;
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-link {
  color: #218838;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: #218838;
}

.news-cta {
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(237, 219, 128) 0%,
    rgba(161, 174, 28) 33%,
    rgba(77, 101, 40) 66%,
    rgba(19, 44, 23) 100%
  ) !important;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}



/* Contact Section */
.contact-section {
  background: #f8f9fa;
}

.contact-content {
  display: flex;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.contact-info p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #555;
}

.contact-item i {
  font-size: 1.2rem;
  color: #85ba00;
}

.social-links-large {
  display: flex;
  gap: 15px;
}

.social-links-large .social-link {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 30px;
}

.homepage-contact-form .form-group {
  width: 100%;
  margin-bottom: 20px;
}

.homepage-contact-form input,
.homepage-contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.homepage-contact-form input:focus,
.homepage-contact-form textarea:focus {
  outline: none;
  border-color: #007cba;
}

.homepage-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Design for Homepage */
@media (max-width: 1200px) {
  .hero-subtitle {
    white-space: normal;
    max-width: 100%;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-content {
    padding: 40px 20px;
    margin: 0 20px;
  }
  
  .hero-content .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 400px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .campaigns-section {
    min-height: 80vh;
  }
  
  .campaigns-carousel {
    height: 80vh;
  }
  
  .campaign-slide-background {
    background-attachment: scroll;
  }
  
  .campaign-content-centered {
    padding: 20px;
  }
  
  .campaign-title {
    font-size: 2.5rem;
  }
  
  .campaign-description {
    font-size: 1.1rem;
  }
  
  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .carousel-nav.prev {
    left: 20px;
  }
  
  .carousel-nav.next {
    right: 20px;
  }
  
  .carousel-dots {
    bottom: 20px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .about-stats {
    flex-direction: column;
  }
  
  .news-header {
    gap: 15px;
  }
  
  .news-image-square {
    width: 80px;
    height: 80px;
  }
  
  .news-info {
    height: 80px;
  }
}