/*import font from google fonts*/
@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
body {
  font-family: "Montserrat", sans-serif;
}
h1 {
  font-family: "Montserrat", sans-serif;
}

/* Applying the font to the entire body */

/* Styling the header */
h1 {
  font-size: 2em;
  font-weight: 700;
  color: white;
  text-align: center;
  position: relative;
}

h2 {
  font-size: 2em;
  font-weight: 700;
  color: black;
  text-align: center;
}

/* Styling the paragraph */
p {
  font-size: 1em;
  font-weight: 400;
}

header {
  background: black;
  color: #fff;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

.hero {
  background: url("b1.webp") no-repeat center center/cover;
  color: black;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 50px;
}

.hero p {
  font-size: 20px;
}

.btn {
  display: center;
  text-decoration: none;
  color: black;
  background: white;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 10px;
  position: absolute;
  bottom: auto;
}

.banner {
  position: relative;
  text-align: center;
  color: black;
}

.banner img {
  width: 100%;
  height: auto;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner-text h1 {
  font-size: 50px;
  margin: 0;
}

.banner-text p {
  font-size: 20px;
}

footer {
  background: black;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}

.navbar {
  background-color: #000000;
  overflow: hidden;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
  background-color: #000000;
}

/* Hover effect - underline */
.navbar ul li a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.navbar ul li a:hover::before {
  visibility: visible;
  width: 100%;
}

.box {
  width: 100%;
  height: 100vh;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.navigate {
  justify-content: center;
  align-items: center;
}
.card {
  width: 325px;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card-image {
  width: 100%;
}

.card-image img {
  width: 100%;
  height: auto;
}

.content {
  padding: 20px;
}

.content h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.content .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.content .button:hover {
  background-color: #0056b3;
}
