* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    color: #333;
    overflow-x: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

header {
    background: #00796b;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: .6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    animation: fadeIn 2s ease-in-out;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #b2ebf2;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: slideIn 1s ease-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #c7fff6a0;
    /* Semi-transparent background */
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #004d40;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    z-index: 2;
}

.cta-button {
    background: #00796b;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
    z-index: 2;
}

@media (max-width: 768px) {
    .cta-button {
        font-size: 12px;
    }

    .member-btn {
        font-size: 12px;
    }
}

.cta-button:hover {
    background: #004d40;
    transform: scale(1.1);
}

/* Slideshow Styles */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.slide.active {
    opacity: .6;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

a {
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.member-btn {
    padding: 15px;
    border-radius: 20px;
    border: 2px solid #004d40;
}

.member-btn:hover {
    background-color: #b2ebf2;
    box-shadow: 0 6px 10px #00796b;
}

.gallery-btn {
    border-radius: 25px;
    border: 10px solid #c2edf2;
}

.countdown-timer {
    color: #004d40;
    background-color: #b2ebf2;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;

}

.countdown-timer span {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
    display: inline-block;
    min-width: 70px;
    color: #004d40;
    animation: fadeIn 2s ease-in-out;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #004d40;
}

.content-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.card-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.gallery-content {
    padding-top: 20px;
    margin-top: 20px;
}

.schedule-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
}

.schedule-table th {
    background: #00796b;
    color: white;
}

.awards-content {
    background-color: #e0f7fa;
    display: flex;
    gap: 10rem;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.awards-content div {
    width: 40%;
    background-color: white;
    padding: 3%;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.awards-content div ul li {
    text-align: left;
}

footer {
    background: #00796b;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.member-btn-div {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: baseline;
}

/* Responsive Design */
@media (max-width: 768px) {

    header h1 {
        font-size: .8rem;
    }

    header img {
        width: 50px;
        height: 50px;
    }

    nav {
        position: relative;
        display: none;
    }

    .hero {
        height: 215dvh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .awards-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .awards-content div {
        width: 100%;
        padding: 22px;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .countdown-timer span {
        font-size: 1.4rem;
        min-width: 50px;
    }

    .countdown-timer {
        padding: 1rem 0.5rem;
    }
}



/* Additional breakpoints for larger tablets / small laptops */
@media (max-width: 1080px) {
    /* Slightly reduce header padding and logo so header feels lighter */
    header {
        padding: 0.9rem 1.5rem;
    }

    .logo img {
        height: 56px;
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        max-width: 520px;
        font-size: 1.05rem;
    }

    /* Content spacing */
    .content-section {
        padding: 3rem 1.5rem;
        max-width: 1000px;
    }

    /* Gallery: 2 columns at this breakpoint
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    } */

    .card {
        width: 260px;
    }
}

@media (max-width: 1024px) {
    /* Further compress header and increase nav spacing for touch */
    header {
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 52px;
    }

    nav ul {
        gap: 1.2rem;
    }

    /* Hero sizing */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        max-width: 460px;
        font-size: 1rem;
    }

    /* Content sections narrower and padding reduced */
    .content-section {
        padding: 2.25rem 1rem;
        max-width: 920px;
    }

    /* Gallery single column for readability on narrow laptop screens */
    /* .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    } */

    .card {
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }

    /* Slightly reduce awards gap so elements fit better */
    .awards-content {
        gap: 4rem;
    }
}