/*
Theme Name: arabtech THEME
Theme URI: https://arabtech.link/
Author: Powered By arabtech
Author URI: https://wordpress.org/
Description: Egy4server is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
*/


@font-face {
  font-family: 'ReadexPro-Regular';

  src: url('/wp-content/themes/arabtech_test/webfonts/ReadexPro-Regular.woff2') format('woff2');
	  src: url('/wp-content/themes/arabtech_test/webfonts/ReadexPro-Regular.woff') format('woff');
  /* Add more font formats if you have them */
  font-weight: normal;
  font-style: normal;
	font-display: swap;
}





header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* menu icon */
@media (max-width: 991.98px) {
  .navbar-toggler {
    order: -1; /* Move the toggler to the left */
    margin-right: auto; /* Push the toggler to the left edge */
    margin-left: 15px; /* Add some space between the toggler and the logo */
  }
  
}


/* end menu icon */

  .bg-main{
    background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
  }
.bg-gradient{
	background-image: linear-gradient(to right bottom, #000f25, #001c3b, #002752, #00336a, #003f83);
}
  .bg-second{
    background: #e85716 !important;
  }
  .text-second{
    color: #e85716 !important;
  }
  .text-orange{
    color:#ff8e09;
  }
  body {
    font-family: 'ReadexPro-Regular', sans-serif;
  }



  .social-icons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    padding: 5px;
    border: 1px solid blue;
    border-radius: 5px;
  }
  
  .social-icons a {
    display: block;
    margin: auto;
  }

/* carousel */

.carousel-item h1,
.carousel-item h2,
.carousel-item button {
  position: relative;
  z-index: 2;

}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  width: 50px; /* Adjust the width as needed */
  height: 50px; /* Adjust the height as needed */
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the background color as needed */
  left:90%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  width: 30px; /* Adjust the width of the icon as needed */
  height: 30px; /* Adjust the height of the icon as needed */
  margin: 0;
  padding: 0;
}

.carousel-control-prev {
  right: 49px;
}

.carousel-control-next {
  right: 0;
}
.carousel-item img{
  background-repeat: no-repeat;
  width: 1600px;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 20px;
  color: #fff;
  z-index: 2;
}

.carousel-content h1 {
      position: absolute;
  right: -612px;
    bottom: 141px;
  font-size: 50px;
  margin-bottom: 10px;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.carousel-content p {
      
    position: absolute;
    bottom: 73px;
    right: -621px;
  font-size: 30px;
  text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* CSS rules for medium-sized screens */
  .carousel-content h1 {
    position: static; /* Remove absolute positioning */
    right: auto; /* Remove right positioning */
    bottom: auto; /* Remove bottom positioning */
    font-size: 24px;

  }
    .carousel-content p {
          position: static; /* Remove absolute positioning */
    right: auto; /* Remove right positioning */
    bottom: auto; /* Remove bottom positioning */
      font-size: 16px;
  }
}
/* Media query for small screens */
@media (max-width: 768px) {
  .carousel-content h1 {
    position: static; /* Remove absolute positioning */
    right: auto; /* Remove right positioning */
    bottom: auto; /* Remove bottom positioning */
    font-size: 24px;
    /* Adj
    ust other styles as needed for smaller screens */

  }
    .carousel-content p {
          position: static; /* Remove absolute positioning */
    right: auto; /* Remove right positioning */
    bottom: auto; /* Remove bottom positioning */
      font-size: 16px;
  }
	
	.carousel-content {
            width: 100%;
            text-align: center;
        }

        .carousel-content h1,
        .carousel-content p {
            width: 300px; /* تحديد العرض بشكل صريح */
            margin: auto;
        }

        .carousel-content img {
            width: 100%;
            height: auto;
        }
	
	
}



/* carousel */

/* image post responsive */


.wp-block-image img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
/* end image post responsive */

/* home page posts pagination */

/* end of home page posts pagination */

/* navbar */
.navbar{
  background-color: white !important;
}
.navbar a{
  color:black !important;
}
.ltr{
direction: ltr !important;
}

.rtl{
  direction: rtl !important;
  }

/* end navbar */


/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  margin: 0;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* end pagination */


@media (max-width: 767px) {
.counter {
  margin-top: 50px;
}
}

/* cards */
.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-10px);
}

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

.card-title {
  font-weight: bold;
}

.card-text {
  font-size: 14px;
}

@media (min-width: 576px) {
  .card {
    max-width: 400px;
  }
}

@media (min-width: 768px) {
  .card {
    max-width: 600px;
  }
}

/* end cards */

/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/*  embdaded video */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio (h/w * 100) */
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* about us */

 /* CSS styles */
 .section-title {
  font-size: 24px;
  font-weight: bold;
}

.section-item {
  margin-bottom: 10px;
  font-size: 18px;
}

.icon {
  margin-right: 10px;
}
/* end about us */

/* contact us */

.wpcf7 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Style form elements */
.wpcf7-form {
  max-width: 400px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: rtl;

}

form.wpcf7-form.sent {
    margin-top: 50px;
}

.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
  font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  border: none;
  color: white;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #45a049;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}
/* end contact us  */


/* Customizing the contact icon */
.contact-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 35px;
  background-color: #05a400;
  color: #fff;
  border-radius: 50%;
  width: 75px;
  height:75px;
  text-align: center;
  line-height: 5s0px;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  background-color: #a4d3fc;
  transform: scale(1.1);
}
.contact-icon i{
  margin-top: 19px;
}
/* Customizing the contact icon */


/* Customizing the contact icon */
.contact-icon2 {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  font-size: 35px;
  background-color: #05a400;
  color: #fff;
  border-radius: 50%;
  width: 75px;
  height:75px;
  text-align: center;
  line-height: 5s0px;
  transition: all 0.3s ease;
}

.contact-icon2:hover {
  background-color: #a4d3fc;
  transform: scale(1.1);
}
.contact-icon2 i{
  margin-top: 19px;
}
/* Customizing the contact icon */

/* widget of most popular posts */
/* Stylish Popular Posts Widget CSS */
.stylish-popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f7f7f7;
    border-radius: 5px;
    transition: background 0.3s;
}

.popular-post-item:hover {
    background: #eaeaea;
}

.popular-post-thumbnail img {
    border-radius: 3px;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.popular-post-content a {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.popular-post-content a:hover {
    text-decoration: underline;
}
/* end of most popular posts  */

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  margin: 0;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/*  Home Page Pagination */

.pagination {
    margin-top: 20px;
}

.pagination ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.pagination li a:hover {
    background-color: #e9e9e9;
}

.pagination .current {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
	padding: 5px;
}


/* End home page pagination */


/* end pagination */
