/* --- Navigation Bar --- */
/* ... (Unchanged) ... */
.navbar {
    background-color: transparent; /* Make transparent */
    border-bottom: none; /* Remove border */
    padding: 1rem 0;
    position: absolute; 
    top: 0;
    left: 0;
    right: 0; /* Make it full width */
    z-index: 100; /* Ensure navbar is above slideshow */
}

.logo-img {
    height: 50px;        /* Adjust the height to fit your navbar */
    width: auto;         /* Maintains aspect ratio */
    display: block;
}
.end-logo {
    height: 30px;        /* Slightly smaller than your main logo usually looks best */
    width: auto;
    margin-left: 10px;   /* Adds a little extra breathing room from the icons */
}
.logo {
    display: flex;
    align-items: center; /* Vertically centers the text with the image */
    gap: 10px;           /* Adds space between the image and the text */
    text-decoration: none;
    font-weight: bold;
    color: white;        /* Adjust based on your design */
}
/* --- Hero Section (Home Page Only) --- */
.hero {
    /* REMOVED: background-image and linear-gradient */
    background-color: #000; /* Fallback for no images */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    height: 100vh; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative; /* Essential for positioning the slideshow */
    overflow: hidden; /* Hide anything outside the hero bounds */
}

/* New: Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Place slideshow behind content */
}

/* New: Individual Slide */
.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start invisible */
    transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
    
    /* ADD THE DARK OVERLAY HERE */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.65); /* Linear gradient alternative */
}

/* New: Active Slide */
.hero-slideshow .slide.active {
    opacity: 1; /* Fade in */
}


.hero-content {
    max-width: 1200px; /* Wider content area for the text */
    margin-top: 3%;
    position: relative; /* Essential to bring content above the slideshow */
    z-index: 2; /* Ensure content is above the slideshow */
}

.hero h1 {
    font-size: 3.5rem; 
    margin-bottom: 0.5em;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5em; 
    letter-spacing: 1px;
}

.hero-buttons .btn {
    margin: 0 15px; 
}

/* --- Home Page Content (below hero) --- */
.page-content.custom-bg {
    background-color: var(--dark-grey-bg);
}

.home-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
}
.home-section:last-child {
    border-bottom: none;
}
.home-section ul {
    list-style: none; /* Remove default bullet */
    padding-left: 0;
}
.home-section li {
    padding-left: 30px; /* Indent for custom bullet */
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
}
.home-section li::before {
    content: '→'; /* Custom arrow bullet */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: -2px;
}

/* New styles for the Pillar Cards section */
.pillar-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pillar-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.pillar-card .activity-list {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}


/* --- Upcoming Events Section --- */
.event-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 20px;
}
/* On larger screens, make it a 2-column grid */
@media (min-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.event-card {
    background-color: #fff; /* White cards to contrast with grey bg */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color); /* A nice blue accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.event-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    color: var(--primary-color);
}
.event-meta {
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
}
.event-meta span {
    display: block; /* Stack date and location */
    margin-bottom: 5px;
}

/* Add icons for date and location */
.event-meta .event-date::before {
    content: '📅'; /* You can also use Font Awesome icons here */
    margin-right: 10px;
}
.event-meta .event-location::before {
    content: '📍';
    margin-right: 10px;
}
.event-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.no-events-message {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    text-align: center;
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
}