/* Global styles */
@import "animate.css";

body {
  font-family: 'Cairo', sans-serif;
  /* Applying Cairo font */
  margin: 0;
  padding: 0;
  background-color: #fff;
}

/* Top section styles */
.logo {
  width: 150px;
}

header {
  background-color: #fff;
}

header img {
  max-width: 200px;
  /* Adjust size as needed */
}

.dark {
  background-color: #000;
  color: #fff;
}

.left_icons {
  float: left;
  text-align: left;
  margin-right: auto !important;
}

#navbarNav {
  z-index: 1000;
}

.dropdown-menu {
  animation: 0.5s slideup;

}

@keyframes slideup {
  from {
    transform: translateY(10%);
  }

  to {
    transform: translateY(0);
  }
}

.navbar-nav .nav-link::after {
  display: none !important;
}

.dropdown-toggle {
  cursor: pointer;
}

.nav-link {
  color: #fff !important;
}

.nav-link:hover {
  color: #ef7220 !important;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #ef7220;
}

.dropdown-item:hover {
  background-color: #f67521;
  color: #fff;
}

.dropdown-item .active {
  background-color: #000000;
  color: #fff;
}

.about {
  background-image: url('../images/bgicon.png');
  background-repeat: repeat-x;
  background-position: right bottom;
  padding: 70px 50px 70px 50px;
}

.about_img {
  width: 400px;
}

.video {
  width: 350px !important;
  height: 260px;
}

@media (max-width: 992px) {
  .about {
    padding: 0px 30px 70px 30px !important;
  }

  .about_img {
    width: 320px;
  }

  .video {
    width: 250px !important;
  }
}

h2 {
  font-size: 24px;
  color: #ef7220;
}

/* Slider section styles */

.carousel-inner img {
  width: 100%;
  height: auto;
}

/* Category section styles */
.category {
  background-color: #000;
  color: #fff;
}

.category .circle {
  border-radius: 50%;
  border: solid #fff 5px;
}

.category img {
  width: 250px;
  height: 250px;
  margin-bottom: 20px;
}

.flip-box {
  background-color: transparent;

  height: 250px;
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-box-front {
  color: black;
}

/* Style the back side */
.flip-box-back {

  color: white;
  transform: rotateY(180deg);
}

.page-header {
  position: relative;
  z-index: 1;
  background-image: url(../images/page-title.jpg);
  /* background-size: cover; */
  background-repeat: repeat-x;
  background-color: #f4f6fd;
  height: 220px;
  margin-bottom: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-top: 85px;
}

.page-header_title {
  font-size: 32px;
  font-weight: bold;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

.card .card-img-top {
  width: 264px;
  height: 264px;
  margin: 30px auto 32px;
}

.card .card-img-top img {
  margin: auto;
}

/* Footer section styles */

footer {
  background-color: #000;
  color: #fff;
}

/* Footer text styles */

footer p {
  margin: 0;
  font-size: 14px;
}