* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0f0f0f;
    color: white;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: black;
}

.nav-links a {
    position: relative;
    color: white;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
}

.nav-links a::after {
    content: "";
    height: 2px;
    width: 0;
    background: crimson;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}

/* Hero */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(135deg, #000, #2b0000);
    text-align: center;
    background-image: url("Virat.jpg");
    background-size: cover;
}

.hero h1 {
    font-size: 64px;
    color: crimson;
}

.hero p {
    font-size: 20px;
    margin: 20px 0;
}

#intro {
    display: flex;
    justify-content: center;
    height: 300px;
    width: 400px;
}

.btn {
    padding: 12px 30px;
    border: 2px solid #3a87df;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: crimson;
}

/* Pages */
.page {
    padding: 60px 40px;
    text-align: center;
}

.page h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: crimson;
}

/* Cards */
.card {
    background: #1a1a1a;
    margin: 15px auto;
    padding: 20px;
    width: 60%;
    border-left: 4px solid crimson;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Records */
.stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: #1a1a1a;
    padding: 30px;
    width: 300px;
    border: 1px solid crimson;
}

/* Gallery */
.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background: linear-gradient(135deg, #3a87df, #b20505);
}

.gallery-box1 {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    border: 2px dashed crimson;
    background-image: url("image-1.jpg");
    background-size: cover;
}

.gallery-box2 {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    border: 2px dashed crimson;
    background-image: url("image-2.jpg");
    background-size: cover;
}

.gallery-box3 {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    border: 2px dashed crimson;
    background-image: url("image-3.jpg");
    background-size: cover;
}

.gallery-box4 {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    border: 2px dashed crimson;
    background-image: url("image-4.jpg");
    background-size: cover;
}

.gallery-box5 {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    border: 2px dashed crimson;
    background-image: url("image-5.jpg");
    background-size: cover;
}

/* Footer */
footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: black;
    margin-top: 40px;
}

/* Responsuve */
@media (max-width: 768px) {

  /* Navbar */
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 16px;
  }

  /* Hero */
  .hero {
    height: 70vh;
    padding: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  /* Navbar */
  nav {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .nav-links a {
    font-size: 15px;
  }

  /* Hero */
  .hero {
    height: auto;
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 14px;
  }
}

@media (max-width: 1150px) {
    .gallery {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .gallery-box1 {
        margin-bottom: 20px;
    }

    .gallery-box2 {
        margin-bottom: 20px;
    }

    .gallery-box3 {
        margin-bottom: 20px;
    }

    .gallery-box4 {
        margin-bottom: 20px;
    }

    .gallery-box5 {
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    .hero {
        background-image: none;
    }

}


