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


@font-face {
    font-family: 'Cairo';
    src: url('https://egy4server.com/fonts/Cairo.woff2') format('woff2'),
         url('https://egy4server.com/fonts/Cairo.woff') format('woff'),
         url('https://egy4server.com/fonts/Cairo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }



  body {
    font-family: 'Cairo', sans-serif;
    background:#ecf9ff !important;
  }

.main-color{
	background:#0496da;
}
  .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;
  }


/* 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 */

/* 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 {
  font-size: 30px;
  margin-bottom: 10px;
}

.carousel-content p {
  font-size: 24px;
  margin-bottom: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Media query for small screens */
@media (max-width: 768px) {
  .carousel-content h1 {
      font-size: 24px;
  }

  .carousel-content p {
      font-size: 16px;
  }
}
/* end carousel */

/* navbar */
.navbar{
  background: #ecf9ff !important;
}
.navbar-light .navbar-nav .nav-link{
  margin: 0 26px;


}
.navbar-light .navbar-nav .nav-item{
  border: 1px solid #044d78;
  padding: 10px;

}
.nav-link{
  color: #044d78 !important;
}
.navbar-toggler-icon{
  color: white !important;
}
.navbar-light .navbar-toggler{
  background : white !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 */


/* about us */

.about-us {
  padding: 50px 0;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  color: #777;
}

/* end about us */


/* services section */

#construction-services {
  background-color: #f8f9fa;
  padding: 60px 0;
}

#construction-services h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.service {
  text-align: center;
  margin-bottom: 30px;
}

.service i {
  font-size: 48px;
  color: #007bff;
  margin-bottom: 15px;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service p {
  font-size: 16px;
  color: #777;
}


/* end services */

/* contact */
.container-custom {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  background-color: #eee;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-control-custom {
  height: 40px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.btn-primary-custom {
  background-color: #f44336;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #d32f2f;
}

/* end contact */

/* embaded video */


/*  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%;
}

/* end embaded video */

/* contact */

#custom-contact-form {
  margin-top: 50px;
}

#custom-contact-form .contact-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#custom-contact-form h3 {
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

#custom-contact-form .form-group {
  margin-bottom: 20px;
}

#custom-contact-form label {
  font-weight: bold;
  color: #333;
}

#custom-contact-form input[type="text"],
#custom-contact-form input[type="email"],
#custom-contact-form input[type="tel"],
#custom-contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease-in-out;
}

#custom-contact-form input[type="text"]:focus,
#custom-contact-form input[type="email"]:focus,
#custom-contact-form input[type="tel"]:focus,
#custom-contact-form textarea:focus {
  outline: none;
  border-color: #6c757d;
}

#custom-contact-form textarea {
  resize: vertical;
}

#custom-contact-form button[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#custom-contact-form button[type="submit"]:hover {
  background-color: #0056b3;
}

.contact-info {
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 5px;
  color: #333;
}

@media (max-width: 576px) {
  #custom-contact-form {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  #custom-contact-form .col-md-6 {
    margin-bottom: 30px;
  }
}

/* end contact */


/* 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 */

