a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
}
.white-link {
    color: white;
   
    text-decoration: none; 
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 40px;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}

.left-nav {
  display: flex;
}

.navbar-logo {
  max-width: 380px;
}

.navbar .navbar-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-left: 20px;
}

.navbar .navbar-links a {
  padding: 10px;
  text-decoration: none;
  color: #140342;
}

.navbar .navbar-links a:hover {
  color: #8c002a;
}

.login-register {
  margin-bottom: 10px;
}

.login-register a {
  color: #140342;
}

.login-register .lang {
  color: #fff;
  background-color: #8c002a;
  padding: 5px;
  border-radius: 50%;
  font-size: 1rem;
}

.header {
  background-color: #8c002a;
  padding: 50px 90px;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.header h2,
.header h5 {
  margin: 0;
}

.header h5 {
  font-weight: 300;
}

.main {
  margin-top: 90px;
}

.main h2 {
  color: #8c002a;
}

.main p {
  color: #6f7074;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 50px 90px;
}

.grid-item {
  position: relative;
  padding: 55px;
  text-align: center;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  top: 0;
  transition: top 0.3s ease;
}

.grid-item:hover {
  cursor: pointer;
  top: -10px;
}

.grid-item:hover::before {
  background-color: rgb(141, 31, 40);
  opacity: 0.8;
}

.grid-item h5 {
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 20px;
}

/* Overlay with rgba(10, 10, 10, 0.5) */
.grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.5);
  z-index: 1;
}

.footer {
 
      background-color: #151515;
}

.top-footer {
  height: 160px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.middle-footer {
  padding: 10px 90px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.middle-footer img {
  max-width: 255px;
}

.middle-footer h4 {
  margin-left: 10px;
}

.middle-footer a {
  text-decoration: none;
  color: #fff;
}
.social-icons {
  font-size: 20px;
}

.copyrights {
  padding: 30px;
  background-color: #0a0a0a;
  color: #fff;
}

.scroll-top-wrapper {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  text-align: center;
  z-index: 1000;
  background-color: #8d1f28;
  width: 40px;
  height: 38px;
  line-height: 38px;
  left: 30px;
  bottom: 30px;
  padding-top: 0;
  border-radius: 48px;
  transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper i {
  color: #fff;
  font-size: 20px;
}
.scroll-top-wrapper:hover {
  background-color: red;
}

.scroll-top-wrapper.show {
  visibility: visible;
  cursor: pointer;
  opacity: 1;
}

.scroll-top-wrapper i.fa {
  line-height: inherit;
}








/*    scroll*/
.scroll-top-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none;
}

.scroll-top-wrapper.show {
  display: block;
}