:root{
    --main-blue: #1d3557;
    --lighter-blue: #1a3a8a;
    --yellow: #ffcc00;
    --background: #f8f9fa;
    --side-bar-background: #f1f5f9;
    --event-hover-light: #cbd5e1;
    --text: #264653;
    --white: #ffffff;
    --gray-text: #64748b;
    --light-gray-border: #e2e8f0;
}


/*general styling*/
p {
    margin-top: 0;
    margin-bottom: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background) ;
    padding-top: 150px;
    margin: 0;
}

.content-area {
    min-height: 700px;
    margin-bottom: 150px;
}

/*tabs styling*/
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem; 
    flex-wrap: wrap;
    padding: 0 1rem; 
    margin-top: 10px;
}

.tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
    background-color: #f8fafc;
}

.tab.active {
    background-color: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}



/*header styling*/

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    height: 150px;
    z-index: 2;
}


/*Left section of the header styling*/
.left-section {
    display: flex; 
    align-items: center;

}
.left-section img {
    width: 200px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--main-blue);
}
 

/*reft section of the header styling*/
.right-section {
    margin-right: 70px;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 15px;
    color: var(--main-blue);
}

.nav-links a, .nav-links li {
    list-style-type: none;
    text-decoration: none;
    color: inherit;
    display: flex;
    font-size: 17px;
    font-weight: bold;
}

.nav-links a.active {
    color: var(--lighter-blue);
    border-bottom: 2px solid var(--lighter-blue);
}

.hamburger img {
    width: 70px;
    position: absolute;
    right: 0;
    top: 0px;
    opacity: 0;
    pointer-events: none;
}

/*hero header styling*/
.hero-info {
    background-color: var(--main-blue);
    color: var(--white);
    padding: 90px;
    text-align: center;
}

.hero-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
    margin-top: -5px;
}

.hero-content p {
    color: var(--event-hover-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}


/*loadin animation*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 40%;
    min-height: 40%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.loading-text {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--main-blue);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    z-index: 10;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: fade 1.5s ease-in-out infinite;
}

@keyframes fade {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}


@media screen and (max-width: 480px) {
    
}

.loading-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}


/*homepage styling*/
/*Hero section styling*/
.hero {
    height: 560px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                url('assets/volleyball-bg.webp') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding-bottom: 10px;
}

.hero h3{
    font-size: 40px;
    font-weight: bold;
}

.hero-content {
    text-align: center;
}

.hero p{
    font-size: 20px;
}

.countdown-display {
    font-size: 80px;
    font-weight: 800;
    color: var(--yellow);
    margin: 20px;
}

.join-btn {
    margin-top: 20px;
    background-color: var(--lighter-blue);
    color: var(--white);
    padding: 12px 45px;
    font-size: 18px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.join-btn:hover {
    background-color: var(--main-blue);
    transform: scale(1.05);
}


/*news and events styling*/
.news-section {
    padding: 60px 12%;
}

.main-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    gap: 35px;
}



/*news section styling*/

.news-container {
    flex: 2;
}

.section-title {
    color: var(--main-blue);
    border-left-style: solid;
    border-left-width: 5px;
    border-left-color: var(--lighter-blue);
    padding-left: 7px;
    padding-top: 5px;
    padding-bottom: 5px;

}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.view-all {
    color: var(--lighter-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}



/*news card section styling*/
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease-in-out;
    margin-right: 15px;
    position: relative;
}


.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content p{
    color: var(--text);
    line-height: 1.3;
    font-size: 18px;
    margin-bottom: 18px;
}

.read-more {
    color: var(--lighter-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
    position: absolute;
    bottom: 15px;
}

.read-more:hover {
    gap: 12px;
}




/*event sidebar styling*/
.events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--side-bar-background);
    padding: 30px;
    border-radius: 20px;
    box-sizing: border-box;
}

.events-sidebar h2 {
    color: var(--main-blue);
}

/*event card styling*/
.event-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding-top: 12px;
    padding-bottom: 7px;
    padding-left: 12px;
    padding-right: 10px;
    border-radius: 15px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.event-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-info .event-date,
.event-info h4,
.event-info p {
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.event-icon-box {
    background: var(--background);
    padding: 12px;
    border-radius: 12px;
    color: var(--lighter-blue);
}


/*view schedule styling*/
.view-schedule-btn {
    display: inline-block;
    padding: 15px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    background: transparent;
    border: 3px dashed var(--event-hover-light);
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
}

.view-schedule-btn:hover {
    border-color: var(--main-blue);
}

/* sidebare socials*/
.connect-section {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid var(--light-gray-border);
    text-align: center;
}

.connect-section p {
    font-size: 12px;
    font-weight: bold;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 9px;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.social-link{
    color: var(--gray-text);
}

.fa-tiktok,.fa-youtube,.fa-instagram {
    width: 20px;
    font-size: 18px;
}

.fa-instagram:hover {
    color: #e1306c;
    scale: 1.2;
}

.fa-tiktok {
    margin-right: 30px;
}

.fa-tiktok:hover {
    color: initial;
}

.fa-youtube {
   margin-right: 30px; 
}

.fa-youtube:hover {
    color: #ff0000;
    scale: 1.2;
}



/*club info page styling*/

/*mission section styling*/
.mission-section {
    max-width: 1200px;
    margin: 80px auto;
}

.mission-container {
    display: flex;
    align-items: center;
    gap: 90px;
}

.mission-text {
    flex: 2;
}

.side-title {
    font-size: 30px;
    color: var(--text);
    border-left: 5px solid var(--lighter-blue);
    padding-left: 15px;
    padding-bottom: 8px;
    padding-top: 8px;
    margin-bottom: 50px;
}

.mission-text p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-text);
}

.mission-image {
    flex: 3;
    border-radius: 30px;
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


/*executive section styling*/
.exec-section {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 10px;
    text-align: center;
}

.section-center-title {
    font-size: 40px;
    margin-bottom: 60px;
    color: var(--main-blue);
}

.exec-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.exec-card {
    min-width: 250px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.exec-card:hover {
    transform: translateY(-10px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.exec-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
}

.exec-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exec-role {
    color: var(--lighter-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.exec-name {
    font-size: 18px;
    color: var(--text);
    font-weight: 700;
}


/*technical staff styling*/
.tech-staff-section {
    width: 100%;
    text-align: center;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 35px;
}

.tech-card {
    position: relative;
    background: var(--white);
    border-radius: 40px;
    padding: 50px;
    width: 320px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.role-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--lighter-blue);
    color: var(--white);
    padding: 15px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 0 20px 0 20px;
}

.tech-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.tech-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-name {
    font-size: 25px;
    color: var(--text);
}


/*teams leadership styling*/
.team-leadership-container {
    padding: 60px;
}

.leadership-glass-card {
    background: var(--white);
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 80px;
    border-radius: 60px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.leadership-title {
    color: var(--gray-text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.teams-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.team-column {
    flex: 1;
}

.team-name-club {
    color: var(--lighter-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--event-hover-light);
}

.leader-row {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.p-role {
    color: var(--gray-text);
    font-size: 14px;
    font-weight: 400;
}

.p-name {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
}


/*training section styling*/
.training-section {
    padding: 80px;
    background-color: var(--background);
}

.mega-card {
    background: var(--main-blue);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 50px;
    display: flex;
    padding: 70px;
    gap: 40px;
    color: var(--white);
    align-items: stretch;
}

.training-side {
    flex: 1;
    min-width: 0;
}

.training-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.training-title i {
    color: var(--yellow);
}

.training-note {
    color: var(--event-hover-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.schedule-row {
    background: rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-weight: 600;
}

.schedule-row .time {
    color: var(--yellow);
}

.location-link {
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    color: inherit;
    transition: all 0.3s ease;
}

.location-link:hover {
    color: #fbbf24;
    text-decoration-color: var(--white);
    text-decoration-thickness: 2px;
}



/*join card styling*/
.join-side {
    flex: 1;
}

.join-card {
    background: #1e293b;
    padding: 32px;
    border-radius: 35px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.join-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.join-card p {
    color: var(--event-hover-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-method p { 
    margin: 0; 
}

.icon-circle {
    width: 45px;
    height: 45px;
    flex: 0 45px;
    background: var(--lighter-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}


.contact-method > div {
     min-width: 0; 
    }

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--event-hover-light);
    letter-spacing: 1px;
}

.contact-value {
    display: block;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.contact-value:hover {
    text-decoration: underline;
    color: var(--yellow);
}


/*history page styling*/
.history-section {
    padding: 80px;
    display: flex;
    justify-content: center;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    border-left: 4px solid #eef0f2;
    padding-left: 60px;
    margin-left: 0px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
}


.timeline-dot {
    position: absolute;
    left: -71px;
    top: 12px;
    width: 20px;
    height: 20px;
    background-color: var(--main-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    display: block;
    font-size: 70px;
    font-weight: 900;
    color: var(--main-blue);
    line-height: 0.9;
}

.timeline-status {
    font-size: 16px;
    color: var(--gray-text);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 8px;
}

/*card styling*/
.timeline-content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 700px;
}

.timeline-content-box p {
    font-size: 20px;
    color: var(--text);
    line-height: 1.7;
}


/*roster page styling*/
.roster-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px auto;
}

.player-card {
    background: var(--white);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    flex-direction:column;
    cursor: pointer;
    box-shadow: 2px 7px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 2px 7px 12px rgba(0, 0, 0, 0.4);
}

.player-image {
    height: 350px;
    margin: 0;
    padding: 0;
    position: relative;
}

.player-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    inset: 0;
    bottom: 0;
    background: linear-gradient(transparent, var(--lighter-blue));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: var(--white);
    font-weight: 700;
}

.player-card:hover .player-overlay{
    opacity: 1;
}


.player-info {
    padding: 30px;
    background-color: var(--white);
}

.name-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.name-row h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.player-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-text);
}

.player-status {
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--gray-text);
    margin: 0;
}


/*schedule page styling*/
.schedule-list {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.match-card {
    display: grid;
    grid-template-columns: 120px 1fr 210px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1)
}

.match-date { 
    font-size: 40px;
    font-weight: 900;
    color: var(--lighter-blue);
    text-align: center;        
    border-right: 2px solid var(--event-hover-light); 
    padding-right: 20px;       
}

.match-month{
font-size: 17px; 
color: var(--gray-text);
}

.team-name {
    font-size: 22px; 
    font-weight: 800;
}

.vs-badge {
    background: var(--side-bar-background);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    text-transform: uppercase;
}

.match-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.match-meta {
    border-left: 2px solid var(--event-hover-light);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    font-size: 18px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}


/*results page styling*/
.results-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.results-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.toggle-btn {
    padding: 12px 25px;
    border: 2px solid var(--lighter-blue);
    background: transparent;
    color: var(--lighter-blue);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.toggle-btn:hover {
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: var(--lighter-blue );
    color: var(--white);
}


/*results fixtures styling*/
.fixtures-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



/*results card styling*/
.result-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray-border);
}

.result-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 15px;
}

.result-date i {
    color: var(--lighter-blue);
}

.result-category {
    background: var(--light-gray-border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
}

.result-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.team-result {
    text-align: center;
}

.team-result .team-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.team-score {
    font-size: 30px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.result-vs {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-text);
    background: var(--side-bar-background);
    padding: 4px 16px;
    border-radius: 30px;
}

.result-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-text);
    font-size: 14px;
}

.result-location i {
    margin-right: 5px;
    color: var(--lighter-blue);
}


/*standings table styling*/
.standings-container {
    border-radius: 30px;
    padding: 30px;
}



.standings-table .team-name {
    font-weight: 700;
    color: var(--text);
    text-align: left;
}

.standings-table .points {
    font-weight: 800;
    color: var(--lighter-blue);
}

.gender-section {
    margin-bottom: 50px;
}


.gender-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--lighter-blue);
}

.standings-tables {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.standings-table th {
    background: var(--lighter-blue);
    color: white;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standings-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--light-gray-border);
    text-align: center;
}

.standings-table tbody tr:hover {
    background: var(--side-bar-background);
}

.standings-table .team-name {
    font-weight: 700;
    color: var(--text);
    text-align: left;
    padding-left: 15px;
}

.points {
    font-weight: 800;
    color: var(--lighter-blue);
}





/*activities page styling*/
/*primary event styling*/
.primary-event-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.primary-card {
    background-color: var(--lighter-blue);
    border-radius: 60px; 
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
}

.badge-primary {
    background-color: var(--yellow);
    color: var(--text);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 35px;
    margin-bottom: 15px;
}

.event-desc{
    color: var(--event-hover-light);
    line-height: 1.3;
    font-size: 18px;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 30px;
    font-size: 15px;
    color: var(--event-hover-light);
}

.event-visual-box {
    width: 280px;
    height: 280px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--yellow);
    background: var(--main-blue);
    flex-shrink: 0;
}

/*secondary events styling*/
.secondary-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.secondary-card {
    background: var(--white);
    border: 1px solid var(--light-gray-border);
    border-radius: 40px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 5px 7px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.secondary-card:hover {
    transform: scale(1.01);
}

.date-box {
    background: var(--light-gray-border);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-box .month {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-text);
}

.date-box .day {
    font-size: 18px;
    font-weight: 800;
    color: var(--main-blue);
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--main-blue);
}

.event-info p {
    font-size: 16px;
    color: var(--gray-text);
    margin-left: 20px;
}

.event-action {
    display: flex;
    align-items: center;
    gap: 30px;
}

.time-data {
    text-align: right;
}

.time-data .label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--gray-text);
}

.time-data .value {
    font-size: 14px;
    font-weight: 800;
    color: var(--main-blue);
}

.details-btn {
    background: var(--main-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.details-btn:hover {
    background-color: var(--lighter-blue);
}





/*join page styling*/
.join-form-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 17px;
    letter-spacing: 0.3px;
}

.required {
    color: red;
    margin-left: 2px;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border: 2px solid var(--light-gray-border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease-in-out;
    background: var(--white);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lighter-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 138, 0.1);
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: var(--event-hover-light);
    font-size: 15px;
}

.form-submit {
    margin-top: 15px;
    width: 100%;
}

.submit-btn {
    background: var(--lighter-blue);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--main-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 58, 138, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease-in-out;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message i {
    font-size: 100px;
    color: #10b981;
    margin-bottom: 25px;
}

.success-message h3 {
    font-size: 25px;
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message p {
    color: var(--gray-text);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.back-btn {
    background: transparent;
    border: 2px solid var(--lighter-blue);
    color: var(--lighter-blue);
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.back-btn:hover {
    background: var(--lighter-blue);
    color: var(--white);
    transform: translateY(-2px);
}


/*dropdown*/
.details-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in-out;
    opacity: 0;
    background: var(--white);
    border-radius: 0 0 40px 40px;
    margin-top: -15px;
    border: 1px solid var(--light-gray-border);
    border-top: none;
}

.details-dropdown.active {
    max-height: 200px;
    opacity: 1;
    padding-top: 20px;
}

.dropdown-inner {
    padding: 20px 30px;
    border-top: 1px dashed var(--event-hover-light);
    color: var(--text);
    font-size: 14px;
}

.secondary-card-wrapper:has(.details-dropdown.active) .secondary-card {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: border-radius 0.3s ease;
}

/*footer styling*/
.main-footer {
    background-color: var(--main-blue);
    color: var(--event-hover-light);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 70px;
    padding-right: 90px;
    margin-top: 50px;
    position: relative;
    bottom: 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-about {
    display: flex;
    flex: 2;
    min-width: 250px;
    margin-top: 20px;
}

.footer-links {
    flex: 1;
}

.main-footer h5 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 10px;
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li {
    margin-bottom: 12px;
    font-size: 15px;
    opacity: 0.8;
}

.main-footer a {
    color: var(--event-hover-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-footer a:hover {
    color: var(--white);
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
}

/*secondary footer styling*/
.footer-container {
    position: relative;
}
.secondary-footer {
    position: absolute;
    background-color: var(--main-blue);
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}


.footer-bottom-wrap {
    text-align: center;
}

.footer-copy {
    color: var(--event-hover-light);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}


/*responsiveness*/
@media screen and (max-width: 1330px) {
    /*header*/
    .logo-text {
        display: none;
    }
    .mission-container {
        min-width: 300px;
        margin-right: 30px;
        margin-left: 30px;
    }

    /*schedule*/
    .schedule-list {
        min-width: 200px;
        align-items: center;
    }

    .match-card {
        width: 80%;
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px;
    }

    /*results */
    .standings-table {
        min-width: 290px; /* Keeps table structure intact while scrolling */
        width: 100%;
    }
}

@media screen and (max-width: 1100px) {
    /*header*/
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 50px;
        background: white;
        flex-direction: column;
        width: 280px;
        padding: 25px;
        border-radius: 0 0 0 20px;
        box-shadow: -5px 10px 30px rgba(0,0,0,0.2);
        z-index: 5;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 8px 0;
        list-style: none;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
        display: block;
    }

    .hamburger img {
        opacity: 1;
        pointer-events: auto;
        width: 45px;
        top: -15px;
        cursor: pointer;
    }

    /*schedule*/

    .match-date {
        border-right: none;
        border-bottom: 2px solid var(--event-hover-light);
        padding-right: 0;
        padding-bottom: 15px;
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 10px;
        font-size: 25px;
    }
    
    .match-date br {
        display: none;
    }
    
    .match-month {
        font-size: 15px;
        margin-left: 5px;
    }
    
    .match-teams {
        justify-content: center;
        gap: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .team-name {
        font-size: 17px;
    }
    
    .vs-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .match-meta {
        border-left: none;
        border-top: 2px solid var(--event-hover-light);
        padding-left: 0;
        padding-top: 20px;
        flex-direction: row;
        justify-content: space-around;
        gap: 15px;
    }
    
    .meta-item {
        font-size: 16px;
    }

    /*join*/
    .join-form-section {
        min-width: 300px;
    }
    
    .form-container {
        width: 80%;
        margin-left: 30px;
        margin-right: 38px;
        padding-left: 20px;
    }
    
    
}

@media screen and (max-width: 900px) {
    .loading-text {
        font-size: 20px;
        bottom: 10%;
        letter-spacing: 3px;
    }

    .loading-video {
        min-width: 100%;
        min-height: 100%;
    }
    
    /*homepage*/
    .hero h3 {
        font-size: 30px;
    }
    
    .countdown-display {
        font-size: 60px;
    }

    .main-content-wrapper {
        flex-direction: column;
    }

    .events-sidebar {
        width: 100%;
    }

    /*club info*/
    .mission-container {
        flex-direction: column;
    }

    .mission-image {
        width: 100%;
    }

    .mission-image img {
        max-height: 400px;
    }

    .tech-grid {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 200px;
    }

    .tech-card {
        margin-left: 20px;
        margin-right: 20px;
        width: 70%;
    }
    .tech-name {
        font-size: 18px;
    }

    .teams-flex {
        flex-direction: column;
    }

    .mega-card {
        flex-direction: column;
        padding: 40px 30px;
        border-radius: 40px;
    }

    .training-side, 
    .join-side {
        width: 100%;
    }
    
    .training-title {
        font-size: 22px;
    }
    
}




@media screen and (max-width: 710px) {
    body {
        padding-top: 110px;
    }

    .loading-gif {
        width: 120px;
        height: 120px;
    }
    
    .loading-text {
        font-size: 16px;
    }

    /*header*/
    .nav-links {
        width: 250px;
        padding: 20px;
        top: 100%;
        right: -15px;
        border-radius: 10px;
    }
    
    .nav-links li {
        margin: 6px 0;
    }
    
    .nav-links a {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .nav-links a.active {
        color: var(--lighter-blue);
        padding: 12px 15px;
    }
    
    /*homepage*/
    .hero h3 {
        font-size: 20px;
    }
    
    .countdown-display {
        font-size: 40px;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 60px 20px;
    }

    .hamburger img {
        font-size: 20px;
        right: -60px;
    }


    /*club info*/
    .training-title {
        font-size: 20px;
        flex-wrap: wrap;
    }

    .training-note {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .schedule-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px;
    }

    .schedule-row .time {
        font-size: 18px;
    }
    
    .join-card h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .join-card p {
        text-align: center;
        font-size: 14px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .icon-circle {
        margin: 0 auto;
    }
    
    .contact-label {
        text-align: center;
    }
    
    .contact-value {
        text-align: center;
        font-size: 12px;
    }

    /*history*/
    .history-section {
        padding: 40px 20px;
    }
    
    .timeline-container {
        padding-left: 30px;
        margin-left: 10px;
        border-left-width: 3px;
    }
    
    .timeline-item {
        margin-bottom: 50px;
    }
    
    .timeline-dot {
        left: -39px;
        width: 15px;
        height: 15px;
    }
    
    .timeline-header {
        margin-bottom: 15px;
    }
    
    .timeline-year {
        font-size: 42px;
        line-height: 1.1;
    }
    
    .timeline-status {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .timeline-content-box {
        padding: 25px;
        border-radius: 20px;
    }
    
    .timeline-content-box p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .achievement-list {
        margin-top: 15px;
        padding-left: 20px;
    }
    
    .achievement-list li {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .medal-icon {
        font-size: 14px;
        margin-right: 5px;
    }

    /*schedule*/
    .match-card {
        display: flex;
        flex-direction: column;
    }


    .match-date {
        margin-bottom: 10px;
    }

    .match-meta {
        margin-top: 10px;
    }


    /*results*/
    .results-toggle {
        flex-direction: column;
        gap: 10px;
    }

    .toggle-btn {
        width: 100%;
        padding: 12px;
        font-size: 11px;
    }

    /*activities*/
    .primary-event-section {
        padding: 0 25px;
        margin: 35px auto;
    }
    
    .primary-card {
        flex-direction: column; /* Stack in column */
        text-align: center;
        padding: 40px;
        border-radius: 50px;
        gap: 30px;
    }
    
    .event-details {
        width: 100%;
    }
    
    .badge-primary {
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .event-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .event-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .event-visual-box {
        width: 200px;
        height: 200px;
        font-size: 70px;
        margin: 0 auto;
    }
    
    .secondary-container {
        padding: 0 25px;
        gap: 25px;
    }
    
    .secondary-card {
        flex-direction: column; /* Stack in column */
        align-items: center;
        padding: 25px;
        gap: 15px;
    }
    
    .date-box {
        width: 70px;
        height: 70px;
        margin-bottom: 5px;
    }
    
    .event-info {
        width: 100%;
    }
    
    .event-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .event-action {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    /*join*/
    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 25px;
    }
    
    .success-message {
        padding: 20px;
    }
    
    .success-message i {
        font-size: 45px;
    }

    /*footer*/
    .footer-copy {
        font-size: 11px;
    }
    
}

@media screen and (max-width: 480px) {
    /*header*/
    header {
        height: 120px;
        padding: 5px 12px;
    }

    .left-section img {
        height: 100px;
        width: 140px;
    }

    .nav-links {
        width: 250px;
        padding: 20px;
        top: 100%;
        right: -20px;
        border-radius: 10px;
    }

    .hamburger img {
        font-size: 20px;
        right: -60px;
    }

    .loading-gif {
        width: 100px;
        height: 100px;
    }
    
    .loading-text {
        font-size: 14px;
    }

    .loading-text {
        font-size: 16px;
        bottom: 8%;
        letter-spacing: 2px;
    }

    .loading-video {
        min-width: 100%;
        min-height: 100%;
    }

    /*homepage*/
    .event-card {
        flex-direction: column;
    }

    .event-info {
        text-align: center;
    }

    .hero-content p {
        font-size: 15px;
    }

    .countdown-display {
        font-size: 30px;
    }

    .hero {
        height: auto;
        min-height: 400px;
        padding: 60px 20px;
    }

    .hero h3 {
        font-size: 18px;
    }

    .news-grid {
        min-width: 300px;
    }

    .section-header {
        max-width: 250px;
        min-width: 210px;
    }

    .section-title {
        font-size: 20px;
    }

    /*club info*/
    .team-leadership-container {
        padding: 30px 10px;
        width: 90%;
        justify-content: center;
    }
    
    .leadership-glass-card {
        padding: 35px 25px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 30px;
        box-sizing: border-box;
    }

    .leadership-title {
        font-size: 15px;
    }

    .training-section {
        padding: 30px 10px;
        width: 90%;
    }
    
    .mega-card {
        padding: 30px 25px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 30px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 25px;
    }
    
    .training-title {
        font-size: 16px;
    }
    
    .training-note {
        font-size: 13px;
    }
    
    .schedule-row span {
        font-size: 13px;
    }

    .join-card {
        padding: 25px 20px;
    }
    
    .join-card h3 {
        font-size: 20px;
    }
    
    .contact-value {
        font-size: 11px;
    }

    /*schedule*/
    .match-card {
        padding-top: 50px;
        padding-bottom: 50px;
        margin-left: 30px;
        margin-right: 30px;
    }

    /*results*/
    .standings-table {
        min-width: 300px;
        width: 100%;
        border-radius: 12px;
    }
}