/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:Georgia, 'Times New Roman', Times, serif;
    background: #fff;
    color: #333;
}

/* Header */
.main-header {
    background-color: #9ba09b49;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
}

.logo {
    height: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    padding-bottom: 5px;
    position: relative;
  }
  
  .nav-links li a:hover,
  .nav-links li.active a {
    color: #376847;
  }
  
  .nav-links li a:hover::after,
  .nav-links li.active a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #376847;
    bottom: -5px;
    left: 0;
  }

.user-icon {
    height: 50px;
}

/* Events Section */
.events-section {
    text-align: center;
    padding: 50px 20px;
          font-size: 28px;
          font-weight: bold;
          color: #222;
          margin-top: 20px;
          font-family: 'Georgia', serif;
}
.events-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
  }
  
  .events-section p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
  }

.goals-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin: 0 5px;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: #fff;
    width: 500px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-date {
    background: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.event-info {
    padding: 20px;
    font-size: 14px;
}

/* Registration Container */
.registration-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.registration-form {
    display: flex;
    margin-left: 10px; /* Space between button and form */
}

.registration-form input {
    padding: 10px;
    margin: 0 5px; /* Space between input fields */
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 150px; /* Adjust width to fit better */
}

.register-btn {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.register-btn:hover {
    background-color: #45a049; /* Darker shade on hover */
}
.Submit{
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 99%;
}

.confirmation-message {
    margin-top: 10px;
    color: #4CAF50; /* Green color for confirmation message */
    font-weight: bold;
}

/* Stats Section */
.statistics-section {
    background-image: url('../Image/EventsPageImage/image3.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
    color: white;
    text-align: center;
}

.stats-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* subtle dark layer */
    padding: 50px 30px;
    border-radius: 15px;
    max-width: 1000px;
    margin: auto;
}

.stats-overlay h2 {
    font-size: 30px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-box {
    flex: 1 1 200px;
    min-width: 180px;
}

.stat-box .counter {
    font-size: 40px;
    font-weight: bold;
    color: hwb(120 29% 42%);
}

.stat-box p {
    font-size: 18px;
    margin-top: 10px;
}