/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; scroll-behavior: smooth; }

/* Navbar */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 40px; background: #111; color: #fff;
  position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: #ffffff;  }
.logo span { color: #fee214;  }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links li a {
  color: #ffffff; text-decoration: none; font-weight: 500; position: relative;
}
.nav-links li a::after {
  content: ""; position: absolute; width: 0; height: 2px;
  bottom: -3px; left: 0; background: #fdd835;
  transition: width 0.3s;
}
.nav-links li a:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; }

/* Hero */
.hero {
  height: 70vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  background: linear-gradient(135deg, #6a0dad, #00b8f0);
  color: #fff; text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; }

/* Club Info Section */
.club-info {
  max-width: 900px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f3e7ff, #e3f2fd);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.club-info h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #6a0dad;
  position: relative;
  display: inline-block;
}

.club-info h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 10px auto 0;
  background: #fdd835;
  border-radius: 5px;
}

.club-info p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.club-details {
  list-style: none;
  text-align: left;
  padding: 0;
}

.club-details li {
  font-size: 1.1rem;
  margin: 12px 0;
  padding: 12px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(106, 13, 173, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-details li:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(106, 13, 173, 0.25);
}


/* Team Section */
.team-section { padding: 60px 20px; text-align: center; }
.team-members {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 20px;
}
.team-member {
  background: #f8f8f8; padding: 20px; border-radius: 12px;
  width: 220px; transition: transform 0.4s, box-shadow 0.4s;
}
.team-member:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(106, 13, 173, 0.3);
}

/* Footer */
footer { background: #111; color: #aaa; text-align: center; padding: 20px; }
.footer-links { margin-bottom: 10px; }
.footer-links a { color: #fdd835; margin: 0 10px; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: #111; position: absolute; top: 60px; right: 0; width: 200px; }
  .nav-links.show { display: flex; }
  .hamburger { display: block; color: #fff; font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
}

body {
            min-height: 100vh;
            position: relative;
            padding-bottom: 70px; /* Height of footer */
        }
        footer {
            background: #2d3e50;
            color: #fff;
            text-align: center;
            padding: 1em 0;
            margin-top: 2em;
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            z-index: 100;
        }
        
        .dashboard {
            padding: 2rem;
        }

        .dashboard h1 {
            margin-bottom: 2rem;
            color: #2d3e50;
        }

        .dashboard-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }

        .progress-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: conic-gradient(#1abc9c 270deg, #ecf0f1 0deg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1rem auto;
            position: relative;
        }

        .progress-circle::before {
            content: '';
            width: 90px;
            height: 90px;
            background: white;
            border-radius: 50%;
            position: absolute;
        }

        .progress-circle span {
            position: relative;
            font-size: 1.5rem;
            font-weight: bold;
            color: #2d3e50;
        }

        .progress-bar {
            height: 10px;
            background: #ecf0f1;
            border-radius: 5px;
            margin: 1rem 0;
        }

        .progress {
            height: 100%;
            background: #1abc9c;
            border-radius: 5px;
            transition: width 0.3s ease;
        }

        .score-display {
            font-size: 2.5rem;
            font-weight: bold;
            color: #2d3e50;
            margin: 1rem 0;
        }

        .dashboard-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .content-section {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .content-section h2 {
            color: #2d3e50;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .task-item, .test-item {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 5px;
            margin-bottom: 0.5rem;
        }

        .task-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .task-status {
            font-weight: 500;
        }

        .completed .task-status {
            color: #1abc9c;
        }

        .in-progress .task-status {
            color: #f1c40f;
        }

        .test-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .test-score {
            font-weight: bold;
            color: #1abc9c;
        }

        .test-details {
            background: #fff;
            padding: 0.5rem;
            border-radius: 5px;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            padding: 0.25rem 0;
            color: #7f8c8d;
        }

        .stats-detail {
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        /* Test Page Styles */
        .next-test-banner {
            background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 2rem;
            color: white;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            box-shadow: 0 4px 15px rgba(26, 188, 156, 0.2);
        }

        .countdown-container {
            text-align: center;
            max-width: 900px;
            margin: 2rem auto;
            padding: 2.5rem;
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
        }

        .countdown-container h3 {
            color: #1565c0;
            font-size: 1.8rem;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
        }

        .modern-countdown.horizontal {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin: 0 auto;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
        }

        .countdown-divider {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin: 0 0.5rem;
            padding-top: 1rem;
        }

        .countdown-divider .dot {
            width: 6px;
            height: 6px;
            background: #2196f3;
            border-radius: 50%;
            animation: pulseOpacity 1s infinite;
        }

        @keyframes pulseOpacity {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .countdown-divider .dot:nth-child(2) {
            animation-delay: 0.5s;
        }

        .countdown-unit {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            position: relative;
            min-width: 140px;
        }

        .time-box {
            background: #2196f3;
            padding: 1.5rem;
            border-radius: 12px;
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 8px 20px rgba(33, 150, 243, 0.2);
            transition: all 0.3s ease;
            overflow: hidden;
        }
