/* General Styling */

/* Prevent horizontal scroll */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

body {
    background-color: #3674B5 !important;
} 

body {
    font-family: 'Orbitron', sans-serif;
    background:  #3674B5;
    color: #fff; /* Changed to white */
    margin: 0;
    padding: 0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.5em;
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal;
    background: #3674B5;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    color: #fff; /* Changed to white */
}

/* Left and Right Logos */
header .logo.left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    height: 150px;
    width: 150px;
}

header .logo.right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    height: 90px;
    width: 90px;
}

header h1 {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    color: #fff; /* Changed to white */
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background: #1e1e1e;
    padding: 15px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff; /* Changed to white */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

nav ul li {
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: scale(1.1);
}

nav ul li a {
    text-decoration: none;
    color: #fff; /* Changed to white */
    font-size: 1.2em;
    padding: 10px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: rgb(255, 0, 0);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 4.5em;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    color: #fff; /* Changed to white */
}

.hero p {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff; /* Changed to white */
}

/* Register Button */
.wrapper {
    position: absolute;
    top: 65%;
    left: 94%;
    transform: translate(-50%, -50%);
    padding-top: 10%;
}

.wrapper a {
    display: block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    font-family: sans-serif;
    text-decoration: none;
    color: #ffffff; /* Changed to white */
    border: 2px solid #ffffff;
    letter-spacing: 2px;
    text-align: center;
    align-items: center;
    padding-bottom: 7px;
    position: relative;
    transition: all .35s;
}

.wrapper a span {
    position: relative;
    z-index: 2;
}

.wrapper a:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ff003b;
    transition: all .35s;
}

.wrapper a:hover {
    color: #fff;
    border: 2px solid #ff0000;
}

.wrapper a:hover:after {
    width: 100%;
}

/* About section */
#about {
    margin: 80px;
    background-color: #3674B5;
}

#about h2 {
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5em;
    text-align: center;
    color: #fff; /* Changed to white */
    
}

#about p {
    align-items: center;
    font-size: 1.5em;
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: #fff; /* Changed to white */
}

/* Benefits Section */
#benefits {
    text-align: center;
    padding: 40px 20px;
    background-color: #3674B5;
}

#benefits h2 {
    font-size: 2.5em;
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    align-items: center;
    color: #fff; /* Changed to white */
}

/* Container for the benefit boxes */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for the benefit boxes */
    gap: 20px;
    justify-items: center;
}

/* Style for each benefit box */
.benefit-box {
    margin-top: 50px;
    background-color: #1e1e1e;
    border: 1px solid #1e1e1e;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    width: 250px;
    position: relative;
    overflow: hidden; /* Hide the overlay */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Grey overlay */
.benefit-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Grey overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Style for the h3 tag */
.benefit-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    transition: opacity 0.3s ease; /* Add transition for opacity */
    z-index: 2; /* Ensure the h3 is above the overlay */
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    align-items: center;
    color: #fff; /* Changed to white */
}

/* Style for the paragraph */
.benefit-box p {
    font-size: 1em;
    color: #fff; /* Changed to white */
    opacity: 0; /* Hide the paragraph by default */
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 20px;
    z-index: 0; /* Make sure the paragraph appears below the h3 tag */
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

/* Hover effect for the benefit box */
.benefit-box:hover {
    transform: translateY(-10px); /* Lift the box on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}

/* Reveal the grey overlay and fade out h3 */
.benefit-box:hover::before {
    opacity: 1; /* Show the grey overlay on hover */
}

/* Reduce opacity of h3 and reveal p tag on hover */
.benefit-box:hover h3 {
    opacity: 0; /* Fade out the h3 tag */
}

.benefit-box:hover p {
    opacity: 1; /* Show the paragraph on hover */
}


#guidelines h2 {
    padding-top: 20px;
    font-size: 2.5em;
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    align-items: center;
    color: white; /* Changed to white */
    transition: opacity 0.3s ease;
}

#guidelines h3 {
    font-size: 1.9em;
    margin: 35px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    align-items: center;
}

.guidelines-container {
    display: flex;
    justify-content: space-between;
    padding: 5%;
}

/* Initial style for the guideline box */
.guideline-box {
    padding-top: 10px;
    background-color: #1e1e1e;
    border: 1px solid #1e1e1e;
    width: 30%; /* Or any percentage/px value to control the width */
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, max-height 0.5s ease-in-out;
    cursor: pointer;
    transform: scale(1);
    max-height: 150px; /* Set max height to keep it compact initially */
}

/* Hover effect for the guideline box */
.guideline-box:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}

/* Fade out the h3 tag and show 'Click here' on hover */
.guideline-box:hover h3 {
    opacity: 0; /* Fade out h3 */
}

.guideline-box:hover .click-here {
    opacity: 1; /* Fade in 'Click here' */
}

/* Style for the 'Click here' text */
.click-here {
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    align-items: center;
    padding-bottom: 50px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2em;
    color: #0ff;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Fade in when hovered */
    cursor: pointer;
}

/* Expanded state after click */
.guideline-box.open {
    max-height: 1000px; /* Expand the box when clicked */
}

.guideline-box.open .click-here {
    opacity: 0; /* Hide the "Click here" text when the box is open */
}

/* Reveal the content */
.guideline-box.open ul {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    align-items: center;
    text-align: center;
}

/* To ensure the list is hidden initially */
.guideline-box ul {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Ensure the h2 stays visible after clicking */
.guideline-box.open #guidelines h2 {
    opacity: 1; /* Keep h2 visible after click */
}

/* Responsive design for small screens */
@media (max-width: 768px) {
    .guidelines-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .guidelines-container {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
#gallery h2 {
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5em;
    text-align: center;
    color: #fff; /* Changed to white */
}

#gallery p {
    align-items: center;
    font-size: 1.5em;
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: #fff; /* Changed to white */
}

/* Container for the collage */
.image-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Create a 3-column grid */
    gap: 20px; /* Space between images */
    margin: 30px;
}

/* Images inside the collage */
.image-collage img {
    width: 100%;
    height: 320px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 10px; /* Optional: round the corners of the images */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for images */
.image-collage img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}


/* Team Section */
#team {
    text-align: center;
    padding: 40px 20px;
    background-color: #3674B5;
    opacity: 1;
}

#team h2 {
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

#team p {
    align-items: center;
    font-size: 1.5em;
    margin: 10px;
    margin-bottom: 35px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

/* Container for the profile cards */
.team-cards {
    display: grid;
    grid-template-columns: repeat(5, 2fr); /* Default: 5 columns */
    gap: 15px;
    justify-items: center;
    grid-template-rows: auto; /* Automatically adjust rows */
}

/* Style for each profile card */
.team-card {
    background-color: #578FCA;
    height: 350px;
    opacity: 100%;
    border-radius: 5%;
    padding: 20px;
    text-align: center;
    width: 100%; /* Set width to 100% so it adjusts within the grid column */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Team card image */
.team-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%; /* Make the image round */
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: white;
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
}

.team-card p {
    align-items: center;
    font-size: 1em;
    margin: 10px;
    font-family: "PT Sans Narrow", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.team-card .role {
    font-size: 1.2em;
    color: white;
    margin-bottom: 15px;
}

.team-card .description {
    font-size: 1em;
    color: white;
    margin-bottom: 20px;
}

/* Hover effect for team cards */
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
    .team-cards {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .team-cards {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .team-cards {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}


/* Footer */
footer {
    background-color: #3674B5;
    padding: 20px;
    text-align: center;
}

footer li{
    display: flex-box;
}



/*brochure*/

/* Style for the download container */
.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    background-color: black;
    margin: 0;

}

/* Style for the download button */
.download-btn {
    background-color: #3674B5; /* Blue color */
    color: white;
    font-size: 1.5em;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}


.timer {
    font-size: 30px;
    font-family: Arial, sans-serif;
    color: #0ff;
}

.dates h2{
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.3 em;
}

.dates li{
    list-style-type: none;
}
.dates{ 
    color: #0ff;
    background-color: #3674B5;
    align-items: center;
    font-family: "PT Sans Narrow", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.6 em;
    text-align: center;
    color: #fff;
    margin: 25px;
    padding: 20px;

}







/* Hover effect to scale up the button */
.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Add a subtle pulse animation to the button */
.download-btn:active {
    animation: pulse 0.6s infinite;
}

/* Animation for pulse effect */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Text inside the button */
.button-text {
    display: block;
    font-family: "PT Sans Narrow", serif;
    font-weight: 700;
    font-size: 1.5em;
}

/* Fancy hover animation on the text */
.download-btn:hover .button-text {
    animation: textGlow 1s ease-in-out infinite;
}

/* Text glow effect on hover */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.6);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.8);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.6);
    }
}