


.dark-mode-toggle {
    background: none;
    border: none;
    color: #007bff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.dark-mode-toggle.dark-mode {
    color: #e0e0e0;
}

.dark-mode-toggle:hover {
    color: #0056b3;
}

.dark-mode-toggle.dark-mode:hover {
    color: #00aaff;
}

/* Hero Section with Background Video */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hero h1 span {
    opacity: 0;
    margin: 0 0.2rem;
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.cta-button.dark-mode {
    background: #00aaff;
}

.cta-button.dark-mode:hover {
    background: #0099e6;
}

/* Search/Filter Section */
.search-filter {
    padding: 4rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

.search-filter.dark-mode {
    background: #2a3550;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

#search-input, .custom-dropdown {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#search-input:focus, .custom-dropdown:focus {
    border-color: #007bff;
    outline: none;
}

#search-input.dark-mode, .custom-dropdown.dark-mode {
    background: #3a4060;
    color: #e0e0e0;
    border-color: #4a5a80;
}

.custom-dropdown {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23007bff"><path d="M7 10l-5-5 1.41-1.41L7 7.17l4.59-4.58L12 5l-5 5z"/></svg>') no-repeat right 0.7rem center;
}

.custom-dropdown.dark-mode {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23e0e0e0"><path d="M7 10l-5-5 1.41-1.41L7 7.17l4.59-4.58L12 5l-5 5z"/></svg>');
}

/* Meet IITians & NITians */
.task-grid-section {
    padding: 4rem 2rem;
    background: #fff;
    text-align: center;
}

.task-grid-section.dark-mode {
    background: #1a1f2b;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.student-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.student-card.dark-mode {
    background: #2a3550;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px #1a1f2b;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.2), -15px -15px 30px #fff;
}

.student-card h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.student-card p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #666;
}

.student-card p.dark-mode {
    color: #b0b0b0;
}

.student-card .rating {
    color: #ffd700;
    font-size: 1.2rem;
}

.student-card button {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.student-card button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.student-card button.dark-mode {
    background: #00aaff;
}

.student-card button.dark-mode:hover {
    background: #0099e6;
}

.pagination {
    margin-top: 2rem;
}

.pagination-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #007bff;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.pagination-btn:hover {
    color: #0056b3;
    transform: scale(1.2);
}

.pagination-btn.dark-mode {
    color: #00aaff;
}

.pagination-btn.dark-mode:hover {
    color: #0099e6;
}

/* Number Summary */
.number-summary {
    padding: 4rem 2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.number-summary.dark-mode {
    background: #2a3550;
}

.summary-item {
    text-align: center;
    padding: 2rem;
}

.summary-item span {
    font-size: 2rem;
    font-weight: 600;
    color: #007bff;
}

.summary-item span.dark-mode {
    color: #00aaff;
}

/* How It Works */
.how-tasks-work {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.how-tasks-work h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.how-steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.step {
    text-align: center;
}

.step svg {
    margin-bottom: 1rem;
}

.step p {
    font-size: 1.2rem;
    color: #666;
}

.step p.dark-mode {
    color: #b0b0b0;
}

/* User Feedback */
.user-feedback {
    padding: 4rem 2rem;
    background: #fff;
    text-align: center;
}

.user-feedback.dark-mode {
    background: #1a1f2b;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.feedback-item {
    display: none;
    padding: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.feedback-item.dark-mode {
    color: #b0b0b0;
}

.feedback-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.feedback-nav {
    margin-top: 1rem;
}

.feedback-nav button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #007bff;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.feedback-nav button.dark-mode {
    color: #00aaff;
}

.feedback-nav button:hover {
    color: #0056b3;
}

.feedback-nav button.dark-mode:hover {
    color: #0099e6;
}

/* Call to Action */
.call-to-action {
    padding: 4rem 2rem;
    text-align: center;
    background: #007bff;
    color: #fff;
}

.call-to-action.dark-mode {
    background: #0056b3;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-to-action button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: #fff;
    color: #007bff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.call-to-action button:hover {
    background: #0056b3;
    color: #fff;
    transform: scale(1.05);
}

.call-to-action button.dark-mode {
    background: #00aaff;
    color: #1a1f2b;
}

.call-to-action button.dark-mode:hover {
    background: #0099e6;
    color: #fff;
}

/* Footer */
footer {
    padding: 1rem;
    text-align: center;
    background: #fff;
    color: #666;
    border-top: 1px solid #eee;
}

footer.dark-mode {
    background: #1a1f2b;
    color: #b0b0b0;
    border-top-color: #2a3550;
}

.privacy-policy {
    color: #007bff;
    text-decoration: none;
    margin-left: 0.5rem;
}

.privacy-policy:hover {
    text-decoration: underline;
}

.privacy-policy.dark-mode {
    color: #00aaff;
}

/* Animations */
@keyframes fadeInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Notify Button */
.notify-btn {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, border 0.15s;
}
.notify-btn:hover {
  background: #e9ecef;
  border-color: #bdbdbd;
}
.notify-btn i {
  font-size: 14px;
  color: #1a73e8;
}

/* Notify Modal */
.notify-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: 10001;
  justify-content: center;
  align-items: center;
}
.notify-modal.active {
  display: flex;
}
.notify-modal .notify-modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  text-align: center;
}
.notify-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: #222;
}
.notify-modal p {
  margin-bottom: 1.5rem;
  color: #444;
}
.notify-modal .notify-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.notify-modal .notify-cancel-btn {
  padding: 8px 18px;
  background: #eee;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #333;
  font-size: 1rem;
  transition: background 0.15s;
}
.notify-modal .notify-cancel-btn:hover {
  background: #e0e0e0;
}
.notify-modal .notify-confirm-btn {
  padding: 8px 18px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s;
}
.notify-modal .notify-confirm-btn:hover {
  background: #1761c7;
}
.notify-modal #notify-modal-message {
  margin-top: 1rem;
  color: #d32f2f;
  font-size: 0.97rem;
  display: none;
}