

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
:root {
    --primary-color: #db3434;
    --secondary-color: #502c2c;
    --light-color: #ecf0f1;
    --dark-color: #502c2c;
    --overlay-color: rgba(0, 0, 0, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    margin-top: 60px;
}

/* Events Section */

.events-section h1{
  font-size: 2rem;
  position: relative;
  margin-left: 15rem;
}
.events-section {
    padding: 3rem 1rem;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 10rem;
    color: var(--dark-color);
    font-size: 30px;
    position: relative;
   

}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.5rem auto;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.event-image:hover {
    opacity: 0.9;
}

.event-info {
    padding: 1.2rem;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.event-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.event-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.event-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.event-link:hover {
    color: var(--secondary-color);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8);}
    to {transform: scale(1);}
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        max-width: 350px;
        margin: 0 auto;
    }
}


/* ===== upcomming events section===== */


.event-section {
    padding: 60px 20px;
    background: #fff; /* Adjust background color */
  }
  
  .event-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between poster and text */
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Poster Image Styling (Larger Size) */
  .poster-container {
    flex: 0.5; /* 30% more space than text */
    min-width: 500px; /* Ensures minimum size for visibility */
  }
  
  .event-poster {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Soft edges */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Depth effect */
  }
  
  /* Text Content Styling */
  .event-details {
    flex: 0.8;
    padding: 20px;
  }
  
  .event-details h1 {
    font-size: 2.5em;
    color: #2a2a2a; /* Dark text */
    margin-bottom: 20px;
  }
  
  .event-details .description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
  }
  
  .event-details h2 {
    font-size: 1.8em;
    color: #e74c3c; /* Accent color for headings */
    margin: 25px 0 15px 0;
  }
  
  .event-details .rewards {
    font-size: 1em;
    line-height: 1.5;
    color: #444;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .event-container {
      flex-direction: column; /* Stack vertically on mobile */
      gap: 30px;
    }
  
    .poster-container {
      min-width: 100%; /* Full width on mobile */
    }
  
    .event-details {
      text-align: center; /* Center-align text on mobile */
      padding: 0;
    }
  
    .event-details h1 {
      font-size: 2em;
    }
  }
/* ===== Icon Fonts ===== */
  @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.section-title {
    font-size: 16px;
    color: #d81d1d;
    margin-right: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-heading {
    font-size: 36px;
    color: #1e293b;
    
    margin-bottom: 20px;
    font-weight: 700;
}

.section-heading span {
    display: block;
    color: #d81d1d;
}

.contact-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.special-offer {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.offer-tag {
    font-size: 24px;
    font-weight: 700;
    color: #d81d1d;
    margin-bottom: 10px;
}

.offer-tag span {
    font-size: 36px;
}

.offer-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
}

.offer-title {
    font-size: 20px;
    color: #1e293b;
    font-weight: 600;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d81d1d;
}

.form-group textarea {
    resize: vertical;
}

.rbtn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .section-heading {
        font-size: 30px;
    }
    
    .offer-tag {
        font-size: 20px;
    }
    
    .offer-tag span {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 26px;
    }
    
    .contact-form {
        padding: 30px;
    }
}




/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #502c2c, #914a4a);
    color: #fff;
    padding: 60px 0 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .footer-logo {
    height: 70px;
    margin-bottom: 20px;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #db3434;
  }
  
  .footer-text {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.8;
  }
  
  .footer-links li {
    margin-bottom: 12px;
    list-style: none;
  }
  
  .footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
  }
  
  .footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: #db3434;
  }
  
  .contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    opacity: 0.8;
  }
  
  .contact-info i {
    margin-right: 10px;
    color: #db3434;
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-link {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    background: #db3434;
    transform: translateY(-3px);
  }
  
  /* Updated Newsletter Form with Rounded Button */
  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 14px;
  }
  
  .newsletter-form button {
    padding: 12px 25px;
    background: #db3434;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
  }
  
  .newsletter-form button:hover {
    background: #2980b9;
    transform: scale(1.05);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
  }
  
  .goodbye-text {
    font-style: italic;
    opacity: 0.8;
    color: #db3434;
  }
  
  /* Font Awesome Icons */
  @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-form {
      flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
      border-radius: 30px;
      width: 100%;
    }
    
    .newsletter-form input {
      margin-bottom: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-container {
      grid-template-columns: 1fr;
    }
    
    .footer-col {
      text-align: center;
    }
    
    .footer-title::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .contact-info p {
      justify-content: center;
    }
  }


