/* General Styles */
body,
html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #0000007c;
color: white;
overflow-x: hidden;
}
/* Background Video */
.video-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
/* Header */
header {
text-align: center;
position: sticky;
top: 0;
z-index: 10;
}
/* Section Container */
.container {
width: 90%;
max-width: 1200px;
margin: 40px auto;
}
/* Section Styling */
.section {
margin-bottom: 60px;
text-align: center;
}
.section h2 {
font-size: 2rem;
margin-bottom: 20px;
border-bottom: 2px solid #007bff;
display: inline-block;
padding-bottom: 5px;
}
/* Cards Styling */
.cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.card {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
flex: 1 1 calc(25% - 20px);
min-width: 200px;
text-align: center;
opacity: 0;
transform: translateY(50px);
transition: transform 0.6s ease, opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.card.visible {
opacity: 1;
transform: translateY(0);
}
.card img {
height: 50px;
margin-bottom: 10px;
}
.card h3 {
font-size: 1.2rem;
margin: 10px 0;
}
/* Hover Animation */
.card:hover {
transform: translateY(-10px) scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
footer {
background: rgba(0, 0, 0, 0.8);
color: white;
text-align: center;
padding: 20px 0;
}
footer p {
margin: 0;
font-size: 0.9rem;
}
/* Custom Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.701);
justify-content: center;
align-items: center;
z-index: 100;
}
.modal-content {
background-color: #333;
padding: 20px;
border-radius: 10px;
text-align: center;
color: white;
}
.modal h3 {
margin: 10px 0;
}
.modal .button-container {
display: flex;
justify-content: center;
gap: 10px;
}
.yes {
padding: 0px 30px;
background-color: #007bff;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
}
.no {
padding: 10px 20px;
border: 1px solid #125398;
background-color: transparent;
border-radius: 5px;
color: white;
cursor: pointer;
}
.modal button:hover {
background-color: #0056b3;
}
.bg{
background-color: white;
padding: 5px;
border-radius: 15px;
}
.bgf{
background-color: rgb(141, 141, 141);
padding: 5px;
border-radius: 15px;
}
.sparkle {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.8);
pointer-events: none;
animation: sparkle 1.5s forwards;
}
@keyframes sparkle {
0% {
transform: scale(0.5);
opacity: 1;
}
100% {
transform: scale(1.5);
opacity: 0;
}
}
.go-back {
background: rgba(255, 255, 255, 0.1); /* semi-transparent white */
color: white;
border: none;
padding: 10px 20px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
backdrop-filter: blur(10px); /* Glass blur effect */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background 0.3s ease, transform 0.3s ease;
}
.go-back:hover {
background: rgba(255, 255, 255, 0.2); /* slightly more opaque on hover */
transform: scale(1.05);
}