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

/* owl carousel arrows */


/* Base styles for Owl Carousel navigation arrows */
.owl-carousel {
    position: relative; /* Ensure the carousel is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow */
}

.owl-carousel .owl-nav button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure arrows are above the carousel items */
}

.owl-carousel .owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px; /* Position the left arrow inside the carousel */
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px; /* Position the right arrow inside the carousel */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .owl-carousel .owl-nav button {
        width: 30px; /* Smaller arrows for mobile */
        height: 30px;
        font-size: 14px; /* Smaller icon size */
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }
}
/* End owl carousel arrows */



  body {
        font-family: 'Readex Pro', 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;
  }


/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}



/* carousel */
.custom-bg-dark {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-bg.webp');
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    color: #fff; /* White text color */
}

.carousel-item {
  position: relative;
}


.carousel-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* 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 */


/* Packages  */

 .pricing {
      margin-top: 50px;
    }
    .pricing .card {
      border: none;
      border-radius: 15px;
      transition: all 0.3s;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }
    .pricing .card:hover {
      transform: translateY(-10px);
    }
    .pricing .card-header {
      background-color: #f9f9f9;
      border-bottom: none;
      padding: 20px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .pricing .card-body {
      padding: 40px;
    }
    .pricing .price {
      font-size: 25px;
      font-weight: bold;
      color: #007bff;
    }

/* End Packages */


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

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


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

/* styles.css */

/* Service container styles */
.service {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Icon wrapper styles */
.icon-wrapper {
  margin-bottom: 20px; /* Increased margin for better spacing */
}

/* Icon styles */
.service .icon-wrapper i {
  color: #007bff; /* Default icon color */
  font-size: 3rem; /* Increased icon size for better visibility */
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Title styles */
.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Paragraph styles */
.service p {
  font-size: 18px;
}

/* Hover effect */
.service:hover {
  transform: translateY(-5px); /* Move the service box up slightly on hover */
}

/* Color change */
.service:hover .icon-wrapper i {
  color: #ff6347; /* Change icon color on hover */
}


/* social icons style */

/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}

/* end social icons style  */

/* Contact Form 7 Styling */
.contact-form-wrapper {
    margin-top: 20px;
}

.contact-form-wrapper .wpcf7-form {
    margin: 0;
    padding: 0;
}

.contact-form-wrapper .wpcf7-form p {
    margin-bottom: 25px;
}

.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
    width: 100%;
}

.contact-form-wrapper label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 15px;
    display: block;
    line-height: 1.5;
}

.contact-form-wrapper .wpcf7-form-control {
    width: 100% !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    margin-top: 8px;
}

.contact-form-wrapper .wpcf7-form-control:focus {
    border-color: #8B7355 !important;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1) !important;
    outline: none !important;
}

.contact-form-wrapper .wpcf7-textarea {
    min-height: 140px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.contact-form-wrapper .wpcf7-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B7355' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-submit {
    background: linear-gradient(135deg, #8B7355, #C9A961) !important;
    color: #ffffff !important;
    padding: 16px 45px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.35) !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    width: auto !important;
    min-width: 180px !important;
}

.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-submit:hover {
    background: linear-gradient(135deg, #C9A961, #8B7355) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(139, 115, 85, 0.5) !important;
    color: #ffffff !important;
}

.contact-form-wrapper input[type="submit"]:active,
.contact-form-wrapper .wpcf7-submit:active {
    transform: translateY(0) !important;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
    display: block !important;
    font-weight: 500 !important;
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ok,
.contact-form-wrapper .wpcf7-response-output {
    border-radius: 8px !important;
    padding: 15px 20px !important;
    margin-top: 25px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    border: none !important;
    font-weight: 500 !important;
}

.contact-form-wrapper .wpcf7-validation-errors {
    background: #fff3cd !important;
    border-left: 4px solid #ffc107 !important;
    color: #856404 !important;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda !important;
    border-left: 4px solid #28a745 !important;
    color: #155724 !important;
}

.contact-form-wrapper .wpcf7-response-output {
    background: #f8d7da !important;
    border-left: 4px solid #dc3545 !important;
    color: #721c24 !important;
}

.contact-form-wrapper span.wpcf7-form-control-wrap {
    display: block !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.contact-form-wrapper .wpcf7-checkbox,
.contact-form-wrapper .wpcf7-radio {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-wrapper .wpcf7-checkbox .wpcf7-list-item,
.contact-form-wrapper .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-wrapper .wpcf7-checkbox input[type="checkbox"],
.contact-form-wrapper .wpcf7-radio input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #8B7355;
}

.contact-form-wrapper .wpcf7-checkbox label,
.contact-form-wrapper .wpcf7-radio label {
    margin: 0 !important;
    font-weight: 500 !important;
    cursor: pointer;
}

.contact-form-wrapper .wpcf7-acceptance {
    margin-top: 10px;
}

.contact-form-wrapper .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-form-wrapper .wpcf7-acceptance input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 3px !important;
    accent-color: #8B7355;
}

/* Remove default CF7 spacing */
.contact-form-wrapper .wpcf7-form p:last-child {
    margin-bottom: 0;
}

/* Better spacing for form fields */
.contact-form-wrapper .wpcf7-form p {
    margin-bottom: 25px;
}

.contact-form-wrapper .wpcf7-form p:has(.wpcf7-submit) {
    margin-bottom: 0;
    text-align: left;
}
