/* General Styles */
:root {
    --primary-color: #4A90E2; /* Bright blue */
    --secondary-color: #50E3C2; /* Teal */
    --accent-color: #F5A623; /* Orange */
    --text-color: #333333; /* Dark gray */
    --background-color: #FFFFFF; /* White */
    --light-gray: #F8F8F8; /* Light gray for backgrounds */
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000; /* Dark background to complement the animation */
    padding-top: 60px; /* Default padding for larger screens */
}

@media screen and (max-width: 1024px) {
    body {
        padding-top: 50px; /* Adjust for tablet-sized screens */
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 250px; /* Adjust for mobile screens */
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(46, 173, 150, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: #fff;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }
}

header {
    background-color: rgba(46, 173, 150, 0.7); /* Updated color */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 15px 20px;
}

@media screen and (max-width: 1024px) {
    header {
        padding: 10px 20px; /* Slightly smaller for tablets */
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 5px 15px; /* Even smaller for mobile */
    }
    
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px; /* Set a default height */
}

@media screen and (max-width: 1024px) {
    nav {
        height: 50px; /* Slightly smaller for tablets */
    }
}

@media screen and (max-width: 768px) {
    nav {
        height: 40px; /* Even smaller for mobile */
    }
    
}

.logo {
    color: #fff;
    font-size: 1.25rem; /* Slightly reduced font size */
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .logo {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }
    
}

.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem; /* Slightly reduced font size */
    transition: color 0.3s ease;
}

@media screen and (max-width: 1024px) {
    .nav-menu a {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu a {
        font-size: 1rem;
    }
    
}

.nav-menu a:hover {
    color: #4A90E2;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(46, 173, 150, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: #fff;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 60px); /* Subtract header height from 100vh */
    padding-top: 60px; /* Default padding for larger screens */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .hero {
        padding-top: 50px; /* Adjust for tablet-sized screens */
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 15px; /* Adjust for mobile screens */
    }
}

#heroCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8; /* Adjust this value if needed for better content visibility */
}

@media screen and (max-width: 768px) {
    #heroCanvas {
        opacity: 0.8; /* Increase opacity on mobile devices */
    }

    .hero-content {
        background-color: rgba(0, 0, 0, 0.5); /* Reduce the opacity of the hero content background */
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(46, 173, 150, 0.7); /* Semi-transparent teal background */
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
    color: #fff; /* Light text for contrast */
    margin: 20px;
}

.button {
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.section {
    padding: 80px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(48, 20, 41, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    margin-top: 0;
}

.service-item p {
    margin-bottom: 0;
}

#next-event-timer {
    background-color: #2c3e50; /* Dark blue background */
    color: #ecf0f1; /* Light text color */
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto 30px;
    width: 280px; /* Adjust as needed */
    animation: hover 3s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#event-name {
    font-size: 1.2rem;
    color: #ecf0f1; /* Light text color */
    margin-bottom: 20px;
}

.timer-cubes {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cube-wrapper {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(236, 240, 241, 0.1); /* Light color with transparency */
    border: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ecf0f1;
    backface-visibility: hidden;
}

.front  { transform: rotateY(0deg) translateZ(30px); }
.back   { transform: rotateY(180deg) translateZ(30px); }
.right  { transform: rotateY(90deg) translateZ(30px); }
.left   { transform: rotateY(-90deg) translateZ(30px); }
.top    { transform: rotateX(90deg) translateZ(30px); }
.bottom { transform: rotateX(-90deg) translateZ(30px); }

.label {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ecf0f1;
    font-weight: bold;
    font-size: 0.8rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cube-wrapper:hover {
    animation: pulse 1s infinite;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-content {
        padding: 20px;
    }

    .section {
        padding: 40px 20px;
    }

    .timer-cubes {
        flex-wrap: wrap;
    }

    .cube-wrapper {
        width: 50px;
        height: 50px;
    }

    .face {
        font-size: 1.2rem;
    }

    .front, .back, .right, .left, .top, .bottom {
        transform: translateZ(25px);
    }
}

@media (max-width: 320px) {
    #next-event-timer {
        width: 240px;
        padding: 15px;
    }
    .cube-wrapper {
        width: 40px;
        height: 40px;
    }
    .face {
        font-size: 1rem;
    }
    .front, .back, .right, .left, .top, .bottom {
        transform: translateZ(20px);
    }
}

/* Event Slider Styles */
.swiper {
    width: 100%;
    height: 250px; /* Reduced height */
    padding: 30px 0; /* Add padding to allow space for hover effect */
}

.swiper-slide {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-radius: 10px;
    padding: 15px;
    width: 200px; /* Fixed width for smaller rectangles */
    height: 180px; /* Fixed height for smaller rectangles */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Adds a blur effect to the background */
}

.swiper-slide:hover {
    transform: translateY(-10px); /* Hover effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.swiper-slide img {
    width: 100%;
    height: 100px; /* Reduced image height */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.swiper-slide h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #fff;
}

.swiper-slide p {
    font-size: 14px;
    margin: 0;
    color: #ccc;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #4A90E2;
}

/* Adjust the event section to accommodate the new slider style */
#events {
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 15px;
    margin: 20px;
}

#events h2 {
    color: #fff;
    margin-bottom: 20px;
}

footer {
    background-color: rgba(46, 173, 150, 0.7);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

#contact {
/* General Styles */
:root {
    --primary-color: #4A90E2; /* Bright blue */
    --secondary-color: #50E3C2; /* Teal */
    --accent-color: #F5A623; /* Orange */
    --text-color: #333333; /* Dark gray */
    --background-color: #FFFFFF; /* White */
    --light-gray: #F8F8F8; /* Light gray for backgrounds */
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000; /* Dark background to complement the animation */
    padding-top: 60px; /* Default padding for larger screens */
}


@media screen and (max-width: 1024px) {
    body {
        padding-top: 50px; /* Adjust for tablet-sized screens */
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 60px; /* Adjust for mobile screens */
    }
}

header {
    background-color: rgba(46, 173, 150, 0.7); /* Updated color */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 15px 20px;
}

@media screen and (max-width: 1024px) {
    header {
        padding: 10px 20px; /* Slightly smaller for tablets */
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 5px 15px; /* Even smaller for mobile */
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px; /* Set a default height */
}

@media screen and (max-width: 1024px) {
    nav {
        height: 50px; /* Slightly smaller for tablets */
    }
}

@media screen and (max-width: 768px) {
    nav {
        height: 40px; /* Even smaller for mobile */
    }
}

.logo {
    color: #fff;
    font-size: 1.25rem; /* Slightly reduced font size */
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .logo {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        font-size: 1rem;
    }
}

.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem; /* Slightly reduced font size */
    transition: color 0.3s ease;
}

@media screen and (max-width: 1024px) {
    .nav-menu a {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu a {
        font-size: 1rem;
    }
}

.nav-menu a:hover {
    color: #4A90E2;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(46, 173, 150, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Style for the menu toggle button */
    .menu-toggle span {
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 60px); /* Subtract header height from 100vh */
    padding-top: 60px; /* Default padding for larger screens */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .hero {
        padding-top: 50px; /* Adjust for tablet-sized screens */
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 100px; /* Adjust for mobile screens */
    }
}

#heroCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8; /* Adjust this value if needed for better content visibility */
}

@media screen and (max-width: 768px) {
    #heroCanvas {
        opacity: 0.8; /* Increase opacity on mobile devices */
    }

    .hero-content {
        background-color: rgba(0, 0, 0, 0.5); /* Reduce the opacity of the hero content background */
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(46, 173, 150, 0.7); /* Semi-transparent teal background */
    padding: 60px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
    color: #fff; /* Light text for contrast */
    margin: 20px;
}

.button {
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.section {
    padding: 80px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(48, 20, 41, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    margin-top: 0;
}

.service-item p {
    margin-bottom: 0;
}

#next-event-timer {
    background-color: #2c3e50; /* Dark blue background */
    color: #ecf0f1; /* Light text color */
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto 30px;
    width: 280px; /* Adjust as needed */
    animation: hover 3s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#event-name {
    font-size: 1.2rem;
    color: #ecf0f1; /* Light text color */
    margin-bottom: 20px;
}

.timer-cubes {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cube-wrapper {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(236, 240, 241, 0.1); /* Light color with transparency */
    border: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ecf0f1;
    backface-visibility: hidden;
}

.front  { transform: rotateY(0deg) translateZ(30px); }
.back   { transform: rotateY(180deg) translateZ(30px); }
.right  { transform: rotateY(90deg) translateZ(30px); }
.left   { transform: rotateY(-90deg) translateZ(30px); }
.top    { transform: rotateX(90deg) translateZ(30px); }
.bottom { transform: rotateX(-90deg) translateZ(30px); }

.label {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ecf0f1;
    font-weight: bold;
    font-size: 0.8rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cube-wrapper:hover {
    animation: pulse 1s infinite;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-content {
        padding: 20px;
    }

    .section {
        padding: 40px 20px;
    }

    .timer-cubes {
        flex-wrap: wrap;
    }

    .cube-wrapper {
        width: 50px;
        height: 50px;
    }

    .face {
        font-size: 1.2rem;
    }

    .front, .back, .right, .left, .top, .bottom {
        transform: translateZ(25px);
    }
}

@media (max-width: 320px) {
    #next-event-timer {
        width: 240px;
        padding: 15px;
    }
    .cube-wrapper {
        width: 40px;
        height: 40px;
    }
    .face {
        font-size: 1rem;
    }
    .front, .back, .right, .left, .top, .bottom {
        transform: translateZ(20px);
    }
}

/* Event Slider Styles */
.swiper {
    width: 100%;
    height: 250px; /* Reduced height */
    padding: 30px 0; /* Add padding to allow space for hover effect */
}

.swiper-slide {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-radius: 10px;
    padding: 15px;
    width: 200px; /* Fixed width for smaller rectangles */
    height: 180px; /* Fixed height for smaller rectangles */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Adds a blur effect to the background */
}

.swiper-slide:hover {
    transform: translateY(-10px); /* Hover effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.swiper-slide img {
    width: 100%;
    height: 100px; /* Reduced image height */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.swiper-slide h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #fff;
}

.swiper-slide p {
    font-size: 14px;
    margin: 0;
    color: #ccc;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
}

.swiper-pagination-bullet-active {
    background: #4A90E2;
}

/* Adjust the event section to accommodate the new slider style */
#events {
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 15px;
    margin: 20px;
}

#events h2 {
    color: #fff;
    margin-bottom: 20px;
}

footer {
    background-color: rgba(46, 173, 150, 0.7);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}}