/* Custom styles here */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');

html {
  scroll-behavior: smooth;
}
body 
{
  font-family: "Alexandria", sans-serif;
  background-color: #fff6ef;
  background-image: url(../images/bg-texture.png);
  background-size: contain;
  background-position: center;
}

.gap-6 {
  gap: 4rem !important;
}

section#nav-logo 
{
  background-color: #fff6ef;
}

.navbar {
  background-color: #fff6ef;
  border-top: 3px solid #6a0a0b;
}

.navbar-brand img {
  height: 90px;
}

.nav-link {
  color: #000 !important;
}

.navbar ul li a {
  color: #6a0a0b !important;
}
.navbar ul li a.active {
  font-weight: bold;
  border-bottom: 2px solid;
}

.lead {
  font-size: 1.05rem;
  font-weight: 300;
}

.cta-btn {
  background-color: #6a0a0b;
  box-shadow: 0 0 5px #020202;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

.cta-btn:hover,
.cta-btn:active,
.cta-btn:focus {
  background-color: #580507 !important;
}

.navbar-scrolled {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar-toggler {
  box-shadow: none !important;
}

.navbar-toggler i {
  color: #6a0a0b;
}

header {
  color: #ffffff;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url(../images/header-back.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}
header h1 p{
  border: 2px solid #6a0a0b;
}

.card {
  border: 0;
  box-shadow: -1px 2px 5px #919191;
}

.title h2 {
  border-bottom: 2px solid #6a0a0b;
  width: fit-content;
  margin: auto;
  padding-bottom: 5px;
}

#services .card-title {
  background: #6a0a0b;
  padding: 10px;
  text-align: center;
  color: white;
  border-radius: 5px;
}
#services .card, #services .card-header {
  height: 100%;
}

#services .card-header {
  border-bottom: 0;
}

#services .card-header img {
  border-radius: 5px;
  width: 100%;
  height: 100%;
}

#contact {
  background: #d14862;
  color: white;
  position: relative;
}
#contact .container {
  margin-top: 80px;
}

div.title h2 {
  color: #6a0a0b;
}

div.title .title-second {
  display: flex;
  justify-content: center;
  padding-left: 45px;
}

#about iframe {
  height: 100%;
  width: 100%;
  border-radius: 7px;
  border: 2px solid black;
}

#about.about2 {
  background: #d14961;
  position: relative;
  overflow: hidden;
  padding-bottom: 45px !important;
  color: white;
}
#about.about2 .title h2 {
  color: white;
}
#about.about2:after {
  content: "";
  background: #f8f9fa;
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 50px;
  border-radius: 100%;
}

footer {
  background-color: #676767;
  background-repeat: no-repeat;
  background-size: auto 80%;
  background-position: 1% center;
}
footer p, footer li a{
  color: #fff !important;
}
.footer-line-height {
  height: 100%;
  width: 2px;
  background-color: #fff;
}
.footer-line-width {
  height: 2px;
  width: 100%;
  background-color: #fff;
}

#services-header, #blog-header
{
  background: #6a0a0b;
  position: relative;
  margin-bottom: 35px !important;
  color: white;
}

#services-header .title h2
{
  color: white;
}
#services-header:after, #blog-header:after {
  content: "";
  background: #6a0a0b;
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 50px;
  border-radius: 0 0 30px 30px;
}

#services-header i {
  position: absolute;
z-index: 1;
left: 50%;
transform: translateX(-50%);
bottom: -10px;
font-size: 30px;
color: #f9c363;
animation-name: test;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
animation-direction: alternate;
}

@keyframes test {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -5px);
  }
  100% {
    transform: translate(-50%, 7px);
  }
}

#scrollToTopBtn {
  display: none; /* Hide the button by default */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #6a0a0b; /* Background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a pointer on hover */
  padding: 8px 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#scrollToTopBtn:hover {
  background-color: #410506; /* Darken the button on hover */
}


.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: unset;
}

.swiper-slide2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide1 img {
  display: block;
  height: 200px;
}

.services-categories p.badge, #portofolio p.badge{
  background: #6a0a0b;
  transform: skew(-15deg, 0deg);
  border-radius: 0;
  padding: 7px 15px;
}
#portofolio p.badge {
  cursor: pointer;
}
#portofolio p.badge.active{
  background: #6a0a0b;
  transform: skew(0);
  border-radius: 4px;
  font-size: 14px;
  padding: 10px 24px;
}

.whatsapp-floating-icon{
  background-image: url(../images/social-logos/whatsapp.png);
  width: 45px;
  height: 45px;
  background-size: cover;
  display: inline-block;
  border-radius: 10px;
  position: relative;
}
.whatsapp-floating-icon:hover::after {
  content: "يسعدنا تواصلك";
  position: absolute;
  background-color: #2ab200;
  color: white;
  width: max-content;
  border-radius: 7px;
  padding: 3px 7px;
  right: 50px;
  top: 7px;
  font-size: 14px;
}
.floating-actions{
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9;
  display: flex;
  column-gap: 15px;
}
#portofolio #porto-data > div > div.porto-image {
  aspect-ratio: 1 / 0.7;
  overflow: hidden;
}

#portofolio img {
  height: 100%;
}

#services .card .card-header
{
  aspect-ratio: 1 / 0.95;
}

.owl-dots {
  display: none;
}

.owl-nav button {
  position: absolute;
  top: 50%;
  color: white !important;
  font-size: 115px !important;
}
.owl-nav button:hover {
  background: none !important;
}
.owl-nav .owl-next {
  left: 0px;
  transform: translate(25px, -50%);
  text-shadow: -1px 1px 4px #616161;
}

.owl-nav .owl-prev {
  right: 0px;
  transform: translate(-25px, -50%);
  text-shadow: 1px 1px 4px #616161;
}
#porto-data .porto-image {
  transition: 0.6s;
}
#porto-data .porto-image:hover {
  background-size: cover, 120% !important;
}

#contact-form input, #contact-form textarea {
  border: 2px solid #6a0a0b;
  background-color: #fff6ef;
  color: #6a0a0b;
  outline: none;
}

#portfolio .item div {
  background-color: #6a0a0c56;
  transition: 0.6s ease-in-out;
}

#portfolio .item div:hover {
  background-color: unset;
}

#services .service_data h2 {
  color: #6a0a0b;
}

#service_categories .category p {
  color: #6a0a0b;
}

nav .dropdown-menu {
  background: #fff6ef;
  border-color: #6a0a0b;
}

.navbar ul.dropdown-menu li a:hover, .navbar ul.dropdown-menu li a:active {
  background-color: #6a0a0b;
  color: white !important;
}

.other-projects h2 {
  color: #6a0a0b;
}

.other-projects .projects div.item {
  aspect-ratio: 1/0.7;
}

.other-projects .projects div.item div.image {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.image-animation {
  transition: 0.6s ease-in-out;
}

.image-animation:hover {
  transform: scale(1.1);
}

.overly-animation {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6a0a0c59;
  transition: 0.6s ease-in-out;
}

.porto-image:hover .overly-animation {
  width: 0;
  height: 0;
}

.blogs-card-body {
  box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 15px 0px !important;
  border: 1px solid #f3f1f8 !important;
  background-color: var(--bg-white);
  border-radius: 10px;
  margin-bottom: 20px;
  transition: .2s;
  box-sizing: border-box;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  width: 100%;
}

.blogs-card-image {
  position: relative;
  overflow: hidden;
  transition: .5s;
}

.blogs-card .blogs-card-body img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0px 0px;
  transform: scale(1);
  transition: .5s;
}

.blogs-card-body:hover img {
  transform: scale(1.1);
}
.blogs-card-body:hover h5, .blogs-card-body:hover .date {
  color: #6a0a0b !important;
}
.blogs-card .blogs-text h5, .blogs-card .blogs-text .date {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity));
  transition: 0.5s;
}

.blogs-card .blogs-text p {
  color: #4d4c4d;
}

.blog-container .blog-header h2 {
  color: #6a0a0b;
}

.blog-container .blog-image img {
  width: 100%;
  border-radius: 10px;
}