/* Body */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
}

.text-justify {
  text-align: justify;
}

/* Navbar */
.navbar {
  background-color: rgb(41, 41, 41); /* Black background */
}

.navbar a {
  color: #fff; /* White text */
  transition: color 0.3s ease; /* Smooth color transition */
}

.navbar a:hover {
  color: #006da5; /* Hover color */
}
.btncolor {
  background-color: #006da5;
}
.h2 {
  color: #006da5;
}
.para {
  color: #006da5;
}
/* Main Header */
.main-header {
  background: url(./assets/background.png) fixed;
  background-size: cover;
  color: #fff;
  padding: 10% 0;
}

.h4 {
  color: #006da5;
}
.card-title {
  color: #006da5;
}

.main-header h1 {
  font-weight: 800;
}

.main-header p {
  font-size: 1.5rem;
}

.text-center p {
  font-size: 1rem;
}

/* About Section, Events Section, SB Chapters Section */
.about-section img,
.events-section img,
.sb-chapters-section img {
  border-radius: 5px;
}

/* Events Section */
.events-section .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.events-section .card-img-top {
  height: 200px;
  object-fit: cover;
}

.events-section .card-body {
  text-align: left;
}

.events-section .card-title {
  font-weight: 600;
  margin-bottom: 10px;
}

/* SB Chapters Section */
.sb-chapters-section img {
  max-width: 100%;
}

/* Media Queries */
@media (max-width: 767.98px) {
  .container .row .col-md-6 {
    margin-bottom: 20px;
  }
}

/* Counter Wrapper */
.counter-wrapper {
  background: url(img/success2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 1.5rem;
  padding: 10rem 9%;
  margin-top: 5rem;
  position: relative;
}

.counter-wrapper::before {
  position: absolute;
  content: "";
  content: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.transparent {
  background-color: transparent;
  color: #f8f9fa;
}

.counter {
  text-align: center;
  color: #000000;
  z-index: 2;
  position: relative;
}

.counter::before {
  position: absolute;
  content: "";
  bottom: -2rem;
  left: 50%;
  width: 20%;
  height: 0.2rem;
  background: #4db7fe;
  border-radius: 0.5rem;
  transform: translateX(-50%);
}
.vector {
  height: 50px;
  width: 150px;
}
.counter .count {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.counter p {
  font-size: 1.4rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

@media (max-width: 991px) {
  html {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .counter-wrapper {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 8rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 0.65rem;
  }
  .counter-wrapper {
    grid-template-columns: 1fr;
  }
}
