/*
Theme Name: almutairioffice
Theme URI: https://mutairi.space
Author: Powered By egy4server
Author URI: https://wordpress.org/
Description: oceantech-eg 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.
*/

/* Automotive palette — mutairi.space */
:root {
  --auto-gold: #F59E0B;
  --auto-gold-light: #FDE68A;
  --auto-charcoal: #0F172A;
  --auto-navy: #1E293B;
  --auto-steel: #64748B;
  --auto-silver: #F1F5F9;
  --auto-text: #334155;
  --auto-dark: #020617;
  --auto-accent: #0284C7;
}

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 var(--auto-gold);
    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: var(--auto-accent);
}

.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: var(--auto-dark);
  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: var(--auto-accent);
    }

/* 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: var(--auto-text);
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: var(--auto-charcoal);
  color: #fff;
  border-color: var(--auto-charcoal);
}

.pagination .page-item.active .page-link {
  background-color: var(--auto-accent);
  color: #fff;
  border-color: var(--auto-accent);
}

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

/* 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: var(--auto-accent);
  border: none;
  color: #fff;
  cursor: pointer;
}

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

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}
/* end contact 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: var(--auto-accent); /* 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: var(--auto-accent);
}


/* 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: var(--auto-accent);
}

.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: var(--auto-dark);
  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  */

/* ── mutairi.space shared page layout (ms-page) ── */
.ms-page {
  --ms-dark: #0F172A;
  --ms-darker: #020617;
  --ms-accent: #0284C7;
  --ms-accent-light: #38BDF8;
  --ms-highlight: #F59E0B;
  --ms-highlight-soft: #FDE68A;
  --ms-surface: #F8FAFC;
  --ms-card: #FFFFFF;
  --ms-muted: #64748B;
  --ms-border: #E2E8F0;
  direction: rtl;
  color: var(--ms-dark);
}
.ms-eyebrow { display: inline-block; color: var(--ms-accent-light); font-weight: 700; font-size: .85rem; letter-spacing: .5px; }
.ms-eyebrow--light { color: var(--ms-accent); }
.ms-eyebrow--center { display: block; text-align: center; }
.ms-section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--ms-dark); margin: .5rem 0 1rem; line-height: 1.4; }
.ms-section-desc { color: var(--ms-muted); line-height: 1.75; max-width: 640px; }
.ms-text-highlight { color: var(--ms-accent); }
.ms-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.35rem; border-radius: 10px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; border: 2px solid transparent; }
.ms-btn-primary { background: var(--ms-accent); color: #fff; }
.ms-btn-primary:hover { background: #0369A1; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,132,199,.35); }
.ms-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.ms-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.ms-btn-outline { background: transparent; color: var(--ms-accent); border-color: var(--ms-accent); }
.ms-btn-outline:hover { background: var(--ms-accent); color: #fff; }
.ms-page-hero { background: linear-gradient(135deg, var(--ms-darker) 0%, var(--ms-dark) 100%); padding: 4rem 0 3rem; color: #fff; }
.ms-page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.ms-page-hero p { color: #94A3B8; font-size: 1.05rem; line-height: 1.8; max-width: 560px; }
.ms-card-block { background: var(--ms-card); border: 1px solid var(--ms-border); border-radius: 16px; padding: 1.5rem; box-shadow: 0 12px 40px rgba(15,23,42,.06); height: 100%; }
.ms-card-block h3, .ms-card-block h4, .ms-card-block h5 { font-weight: 800; color: var(--ms-dark); }
.ms-card-block p { color: var(--ms-muted); line-height: 1.7; margin-bottom: 0; }
.ms-icon-circle { width: 56px; height: 56px; border-radius: 12px; background: var(--ms-surface); color: var(--ms-accent); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.ms-feature-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--ms-border); }
.ms-feature-row:last-child { border-bottom: none; }
.ms-surface-section { background: var(--ms-surface); }
.ms-white-section { background: #fff; }
.ms-dark-section { background: var(--ms-dark); color: #fff; }
.ms-dark-section .ms-section-title { color: #fff; }
.ms-dark-section .ms-section-desc { color: #94A3B8; }
.ms-form-card .form-label { font-weight: 700; color: var(--ms-dark); }
.ms-form-card .form-control { border-radius: 10px; border-color: var(--ms-border); padding: .65rem .85rem; }
.ms-form-card .form-control:focus { border-color: var(--ms-accent); box-shadow: 0 0 0 3px rgba(2,132,199,.12); }
.ms-whatsapp-btn { background: #25d366; color: #fff; border: none; border-radius: 10px; padding: .75rem 1.25rem; font-weight: 700; }
.ms-whatsapp-btn:hover { background: #1da851; color: #fff; }
.ms-service-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--ms-card); border: 1px solid var(--ms-border); border-radius: 14px; padding: 1.25rem; height: 100%; transition: transform .2s, box-shadow .2s; }
.ms-service-item:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(15,23,42,.08); }
.ms-service-item i { color: var(--ms-highlight); font-size: 1.35rem; margin-top: .2rem; }
.ms-testimonial { background: var(--ms-card); border: 1px solid var(--ms-border); border-radius: 14px; padding: 1.25rem; }
.ms-testimonial p { color: var(--ms-dark); margin-bottom: .35rem; }
.ms-testimonial small { color: var(--ms-muted); }
