/*
Theme Name: ideacodetec THEME
Theme URI: https://egy4server.com
Author: Powered By ideacodetec
Author URI: https://wordpress.org/
Description: ideacodetec 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.
*/

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

/* menu icon */


/* end menu icon */

  .bg-main{
    background:#1e72ba !important;
  }
  .bg-second{
    background: #e85716 !important;
  }
  .text-second{
    color: #e85716 !important;
  }
  .text-orange{
    color:#ff8e09;
  }
  body {
    font-family: 'Cairo', 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 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 */

/* 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 */
eight: bold;
}

@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 */
/* Style the form container */
.wpcf7 {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style the form labels */
.wpcf7 label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

/* Style the form inputs and textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

/* Style the input fields on focus */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #0073e6;
  outline: none;
}

/* Style the submit button */
.wpcf7 input[type="submit"] {
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

/* Hover effect on submit button */
.wpcf7 input[type="submit"]:hover {
  background-color: #005bb5;
}

/* Style error messages */
.wpcf7 .wpcf7-response-output {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
}

/* Style success messages */
.wpcf7 .wpcf7-mail-sent-ok {
  margin-top: 15px;
  padding: 10px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

/* end contact us  */