body {
    font-family: 'Arial', sans-serif;
    background-color: #111; /* Dark background for the body */
    color: #f5f5f5; /* Light text for readability */
    scroll-behavior: smooth; /* This enables smooth scrolling */
    background-size: cover;
}

.justify-align {
    font-size: 18px;
    padding: 15px;
    text-align: center; /* Centers text properly */
    line-height: 1.5; /* Improves readability */
}

@media (max-width: 500px) { /* Adjusts for mobile screens */
    .justify-align {
        font-size: 16px;
        padding: 5px;
    }
}
.vlogo {
    position: absolute;
    top: 80px; /* Adjust for spacing */
    left: 20px; /* Adjust for spacing */
    width: 120px; /* Adjust size as needed */
    height: auto;
    z-index: 10; /* Ensures it stays on top */
}
.slogo {
    position: absolute;
    top: 80px; /* Adjust for spacing */
    right: 20px; /* Adjust for spacing */
    width: 120px; /* Adjust size as needed */
    height: auto;
    z-index: 10; /* Ensures it stays on top */
}
.display-3{
    padding-right: 90px; 
    padding-bottom: 10px;
    padding-top: 60px;
}

.lead{
    padding-right: 90px; 
}
.dating{
    padding-right: 90px; 
}

.bg-purple {
    background-color: #252a34; /* Dark shade with a slight purple tint */
}

header {
    background-size: cover;
    background-position: center;
    color: #f5f5f5; /* Light text color on dark background */
    min-height: 80vh;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: #9ad0ff; /* Light blue for navbar branding */
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    color: #9ad0ff; /* Light blue for navbar links */
}

.navbar-nav .nav-link:hover {
    color: #ffdd57; /* Add a highlight effect on hover */
}

section {
    padding: 100px 0; /* Adds space between sections */
    color: #f5f5f5; /* Light text */
    background-color: rgba(0, 0, 0, 0.8); /* Slightly transparent black background for content visibility */
}

section.bg-light {
    background-color: #252a34; /* Slightly lighter section background */
}

footer {
    position: relative;
    bottom: 0;
    background-color: #252a34; /* Footer with matching dark purple background */
    color: #f5f5f5; /* Light footer text */
}

/* Button Styling */
.btn-primary {
    background-color: #ffdd57;
    border-color: #ffdd57;
    color: #111;
}

.btn-primary:hover {
    background-color: #ffd700;
    border-color: #ffd700;
}

/* Sticky header on scroll */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.sticky + section {
    padding-top: 60px; /* Adjust if the header overlaps the content */
}
.sponsor-logos {
display: flex;
justify-content: center;
align-items: center;
gap: 20px; /* Add spacing between images */
}

.sponsor-logos img {
max-width: 100%;
height: auto;
width: 150px; /* Adjust the width of logos */
}
#about h2{
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
/* Hexagonal grid layout */
.hex-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
#events h2{
    color: #ffdd57;
    margin-bottom: 30px;
}
.hex {
    position: relative;
    width: 150px; /* Width of each hexagon */
    height: 173.2px; /* Height adjusted for a hexagonal shape */
    background-color: transparent;
    margin: 5px 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease-in-out;
}

.hex:hover {
    transform: scale(1.1); /* Slight scaling effect on hover */
}

.hex-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #252a34; /* Dark purple for hexagons */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease-in-out;
}

.hex-content:hover {
    background-color: #ffdd57; /* Highlighted yellow on hover */
}


.hex-content img {
    width: 80px; /* Increased width of the image */
    height: 80px; /* Increased height of the image */
    margin-bottom: 10px;
}
.hex-content h3 {
    color: #f5f5f5;
    font-size: 1.2rem;
}

#posters {
    background-color: rgba(0, 0, 0, 0.8); /* Match background with the department section */
    padding: 50px 0;
}
#posters h2{
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
.card {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.card-body {
    text-align: left;
}

.card h5 {
    color: #252a34;
}

.btn-primary {
    background-color: #ffdd57;
    border-color: #ffdd57;
    color: #111;
}

.btn-primary:hover {
    background-color: #ffd700;
}
.highlight-text {
    color: #ffdd57;
    margin-bottom: 30px;
}
#posters {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 50px 0;
}

#posters h2 {
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
#poster1 h2 {
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
#poster2 h2 {
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}



#events h2 {
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
#posters img {
    border-radius: 10px;
    border: 2px solid #fff;
}

#posters .btn {
    color: #252a34;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

#posters .btn:hover {
    background-color: #ffdd57;
    color: #000;
}
#sponsors h2{
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}
#contact {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 50px 0;
    color: #fff;
}

#contact h2 {
    color: #ffdd57;
    margin-bottom: 30px;
    font-size: 50px; 
}

#contact h4 {
    margin-top: 20px;
    color: #ffdd57;
    margin-left: 20px;
}

#contact p {
    color: #d3d3d3;
}

#contact img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
#contact iframe {
    border-radius: 10px;
    border: 0;
}
.text-light {
    color: #d3d3d3 !important;
}

.video-container {
    position: fixed; /* Stays fixed in the background */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Push it behind the text */
}

/* Make GIF cover the entire screen */
.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the GIF stretches properly */
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

/* Overlay content (text on top of the GIF) */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
}

/* Text Styling */
h1 {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.dating p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}