
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
  }

  body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header Styles */
  header {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
  }

  .logo span {
    color: var(--primary);
  }

  .nav-links {
    display: flex;
    gap: 30px;
  }

  .nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
  }

  .nav-links a:hover {
    color: var(--accent);
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .auth-buttons {
    display: flex;
    gap: 15px;
  }

  .btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
  }

  .btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
  }

  .btn-login:hover {
    background: var(--primary);
    color: var(--light);
  }

  .btn-register {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--light);
  }

  .btn-register:hover {
    background: transparent;
    color: var(--primary);
  }

  /* Page Content */
  .page-content {
    padding: 150px 0 80px;
    animation: fadeIn 0.5s ease;
  }

  #home-page, #team-page {
    display: block;
  }

  /* Hero Section */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(
      90deg,
      var(--primary) 0%,
      var(--accent) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
    color: #cbd5e1;
    animation: fadeInUp 1.2s ease-out;
  }

  .hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease-out;
  }

  .btn-explore {
    background: var(--success);
    border: 2px solid var(--success);
    color: var(--light);
  }

  .btn-explore:hover {
    background: transparent;
    color: var(--success);
  }

  .institute-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    animation: fadeInUp 1.4s ease-out;
  }

  .institute-badge img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light);
    padding: 10px;
  }

  .institute-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light);
  }

  .institute-info {
    text-align: left;
  }

  .institute-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .institute-info p {
    margin: 0;
    font-size: 1rem;
    color: #cbd5e1;
  }

  /* Main Content */
  .main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px 0;
  }

  /* Slider Section */
  .slider-section {
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
  }

  .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
  }

  .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #cbd5e1;
  }

  .slider-container {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
  }

  .slide.active {
    opacity: 1;
  }

  .slide-content {
    background: rgba(30, 41, 59, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    transform: translateY(50px);
    transition: transform 0.5s ease;
  }

  .slide.active .slide-content {
    transform: translateY(0);
  }

  .slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
  }

  .slider-dot.active {
    background: var(--light);
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
  }

  .slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .slider-btn.prev {
    left: 20px;
  }

  .slider-btn.next {
    right: 20px;
  }

  /* Notice Board */
  .notice-board {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
  }

  .notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
  }

  .notice-header h2 {
    font-size: 1.5rem;
  }

  .notice-list {
    list-style: none;
  }

  .notice-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
  }

  .notice-item:last-child {
    border-bottom: none;
  }

  .notice-icon {
    color: var(--primary);
    font-size: 1.2rem;
  }

  .notice-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .notice-content p {
    color: #cbd5e1;
    font-size: 0.9rem;
  }

  .notice-date {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 5px;
  }

  /* Features Section */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
  }

  .feature-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  /* Problems Page */
  .problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
  }

  .problem-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }

  .problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .problem-difficulty {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    border-bottom-left-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .difficulty-easy {
    background: var(--success);
  }

  .difficulty-medium {
    background: var(--warning);
  }

  .difficulty-hard {
    background: var(--danger);
  }

  .problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-right: 70px;
  }

  .problem-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
  }

  .problem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
  }

  .problem-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
  }

  /* Contests Page */
  .contest-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
  }

  .contest-tab {
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(30, 41, 59, 0.8);
    cursor: pointer;
    transition: all 0.3s;
  }

  .contest-tab.active {
    background: var(--primary);
  }

  .contest-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .contest-card:hover {
    transform: translateY(-5px);
  }

  .contest-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .contest-details {
    display: flex;
    gap: 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
  }

  .contest-detail {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .contest-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .status-upcoming {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
  }

  .status-ongoing {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
  }

  .status-completed {
    background: rgba(100, 116, 139, 0.2);
    color: var(--gray);
  }

  /* Learn Page */
  .topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
  }

  .topic-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
 .topic-card a{
    width: 200px;
 }
  .topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .topic-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
  }

  .topic-btn {
    margin-top: 20px;
  }

  .topic-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .topic-stats {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* Discuss Page */
  .discussion-list {
    margin-top: 40px;
  }

  .discussion-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .discussion-card:hover {
    transform: translateY(-5px);
  }

  .discussion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }

  .discussion-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .discussion-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
  }

  .discussion-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
  }

  .discussion-stats {
    display: flex;
    gap: 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
  }

  .discussion-stat {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* Team Sections */
  .team-section {
    margin-bottom: 60px;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
  }

  .team-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }

  .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .team-card.lead::before {
    content: "Team Lead";
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-bottom-left-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--accent) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
  }

  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .member-photo .fallback-icon {
    font-size: 2.5rem;
    color: white;
  }

  .member-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--light);
  }

  .member-role {
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 500;
  }

  .member-bio {
    color: #cbd5e1;
    font-size: 0.95rem;
  }

  /* Advisors Section */
  .advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }

  .advisor-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .advisor-card:hover {
    transform: translateY(-5px);
  }

  .advisor-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light);
  }

  /* Footer */
  footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 60px 0 30px;
    margin-top: 60px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
  }

  .footer-links {
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-links a:hover {
    color: var(--primary);
  }

  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }

  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    transition: background 0.3s, transform 0.3s;
  }

  .social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
  }

  .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .main-content {
      grid-template-columns: 1fr;
    }

    .notice-board {
      position: static;
      margin-bottom: 40px;
    }

    .hero h1 {
      font-size: 2.8rem;
    }
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }

    .hero h1 {
      font-size: 2.2rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .slider-container {
      height: 350px;
    }

    .contest-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }

    .contest-details {
      flex-direction: column;
      gap: 10px;
    }
    
    .institute-badge {
      flex-direction: column;
      text-align: center;
    }
    
    .institute-info {
      text-align: center;
    }
    
    .team-grid, .advisors-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 576px) {
    .hero-buttons {
      flex-direction: column;
    }

    .slider-container {
      height: 300px;
    }

    .slide-content {
      max-width: 100%;
    }
  }