
main{
    background: linear-gradient(135deg, #16303af1 0%, #203a43 50%, #2c5364 100%);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.NEWS_EVENTS {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.NEWS_EVENTS h1{
  padding: 20px 20px;
  color:rgb(141,245,255) ;
}
.NEWS_EVENTS h2{
  padding: 20px 20px;
}

/* The Glass Card Style */
.card {
    background: rgba(0, 0, 5, 0.24); /* Semi-transparent white */
    backdrop-filter: blur(12px); /* The "Glass" blur effect */
    -webkit-backdrop-filter: blur(12px); /* Support for Safari */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); /* Soft shadow */
    display: flex;
    flex-direction: column;
}

/* Hover Effect to make it feel interactive */
.card:hover {
    transform: translateY(-10px);
    background: rgba(72,90,92,0.70);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Image Handling inside Glass */
.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Content */
.card-body {
    padding: 20px;
    color: #dbf6fd;
}

.category {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0984e3; /* Education Blue */
    margin-bottom: 8px;
}

.titles {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Upcoming Event Header (The Calendar part) */
.event-header {
    background: rgba(9, 132, 227, 0.2); /* Tinted glass */
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.event-header .day {
    font-size: 2rem;
    font-weight: 800;
    color: rgb(204,248,252) ;
}

.event-header .month {
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(204,248,252)
}

/* Responsive Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Buttons/Links */
.link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(9, 132, 227, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s;
}

.link:hover {
    background: white;
    color: #0984e3;
}
