/* News & Events Section Styles */

.news-events {
  position: relative;
  padding: 100px 0;
  background-color: #fff;
  overflow: hidden;
}

.news-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.03) 0%, rgba(255, 193, 7, 0.05) 100%);
  z-index: 1;
}

.news-events-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-events .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-events .section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.news-events .section-header h2 span {
  color: #7ED957;
}

.news-events .section-header h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #7ED957, #FFC107);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.news-events .section-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.news-events-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 25px;
  margin-bottom: 50px;
}

.news-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.news-item.featured {
  grid-column: span 8;
  grid-row: span 2;
}

.news-item.standard {
  grid-column: span 4;
  grid-row: span 1;
}

.news-item.horizontal {
  grid-column: span 6;
  grid-row: span 1;
}

.news-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}

.news-item:hover .news-bg {
  transform: scale(1.05);
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: all 0.3s ease;
}

.news-item:hover .news-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.1) 100%);
}

.news-category {
  display: inline-block;
  padding: 6px 15px;
  background-color: #FFC107;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 15px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.news-item:hover .news-category {
  transform: translateY(0);
  opacity: 1;
}

.news-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
}

.news-item.standard .news-title,
.news-item.horizontal .news-title {
  font-size: 18px;
}

.news-item:hover .news-title {
  transform: translateY(0);
}

.news-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.3s;
}

.news-date i {
  margin-right: 8px;
  color: #7ED957;
}

.news-item:hover .news-date {
  transform: translateY(0);
  opacity: 1;
}

.news-location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  display: flex;
  align-items: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.4s;
}

.news-location i {
  margin-right: 8px;
  color: #FFC107;
}

.news-item:hover .news-location {
  transform: translateY(0);
  opacity: 1;
}

.view-all-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 35px;
  background-color: #7ED957;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(126, 217, 87, 0.3);
}

.view-all-btn:hover {
  background-color: #6bc447;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(126, 217, 87, 0.4);
}

/* Enhanced Contact Section */
.contact {
  position: relative;
  padding: 100px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 193, 7, 0.03) 100%);
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact .section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact .section-header h2 span {
  color: #7ED957;
}

.contact .section-header h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #7ED957, #FFC107);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.contact-info {
  grid-column: span 5;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #7ED957, #FFC107);
  z-index: 2;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(126, 217, 87, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #7ED957;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail:hover .contact-icon {
  background-color: #7ED957;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(126, 217, 87, 0.3);
}

.contact-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
}

.contact-text p {
  color: #666;
  line-height: 1.6;
}

.social-links {
  display: flex;
  margin-top: 40px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(126, 217, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ED957;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #7ED957;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(126, 217, 87, 0.3);
}

.contact-form-wrap {
  grid-column: span 7;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #FFC107, #7ED957);
  z-index: 2;
}

.contact-form-wrap h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f8f8f8;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #7ED957;
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.2);
  outline: none;
  background-color: white;
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background-color: #7ED957;
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(126, 217, 87, 0.2);
}

.submit-btn:hover {
  background-color: #6bc447;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(126, 217, 87, 0.3);
}

/* Map container */
.map-container {
  grid-column: 1 / -1;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 50px;
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-width: 300px;
}

.map-overlay h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.map-overlay p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .news-events-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .news-item.featured {
    grid-column: span 6;
  }
  
  .news-item.standard, 
  .news-item.horizontal {
    grid-column: span 3;
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info, 
  .contact-form-wrap {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }
  
  .news-item.featured,
  .news-item.standard,
  .news-item.horizontal {
    grid-column: span 1;
  }
  
  .news-item.featured {
    grid-row: span 1;
  }
  
  .news-title {
    font-size: 20px !important;
  }
}

@media (max-width: 576px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}
