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

:root {
  /* Blue theme system (light background + blue gradients) */
  --theme-bg: #f6f9ff;
  --theme-surface: #ffffff;
  --theme-surface-alt: #eef4ff;
  --theme-border: #d7e4ff;
  --theme-text: #0f172a;
  --theme-text-soft: #334155;
  --theme-heading: #0b1b4a;

  /* Dark + light blue gradient */
  --theme-primary: #202D61; /* dark blue */
  --theme-primary-hover: #18224a;
  --theme-primary-soft: rgba(32, 45, 97, 0.10);
  --theme-secondary: #4b63d1; /* light blue (same family) */
  --theme-secondary-hover: #3f55b6;
  --theme-accent: #a7b6ff; /* pale blue (same family) */
  --theme-accent-strong: #7f95ff;
  /* RGB helpers for rgba() in templates */
  --theme-primary-rgb: 32, 45, 97;
  --theme-secondary-rgb: 75, 99, 209;
  --theme-accent-rgb: 167, 182, 255;
  --theme-dark-rgb: 11, 18, 41;
  --theme-success: #2e9f5c;
  --theme-whatsapp: #25d366;
  --theme-white: #ffffff;
  --theme-dark: #0b1229;
  --theme-overlay: rgba(11, 18, 41, 0.45);
  --theme-shadow-sm: 0 6px 18px rgba(34, 45, 99, 0.08);
  --theme-shadow-md: 0 12px 30px rgba(34, 45, 99, 0.12);
  --theme-shadow-lg: 0 18px 40px rgba(34, 45, 99, 0.16);
  --theme-gradient-primary: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  --theme-gradient-soft: linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-surface-alt) 100%);
}

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

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


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

/* ==================================================
   Global firefighting light theme overrides
   Edit only the variables in :root next time.
   ================================================== */

html,
body {
  background: var(--theme-bg);
  color: var(--theme-text);
}

body,
p,
li,
span,
small,
.muted,
.lead-text,
.desc,
.step-description,
.faq-answer p,
.service-card p,
.faq-subtitle,
.steps-subtitle {
  color: var(--theme-text-soft) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.title,
.step-heading,
.faq-main-title,
.faq-question-text,
.steps-title,
.service-card h3,
.main-title,
.e-card h1,
.e-card h4 {
  color: var(--theme-heading) !important;
}

a {
  color: var(--theme-primary);
}

a:hover,
a:focus {
  color: var(--theme-primary-hover);
}

.traffic-navbar,
.navbar {
  background: var(--theme-surface) !important;
  border-bottom: 3px solid var(--theme-secondary) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

.traffic-navbar::before {
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary), var(--theme-accent)) !important;
}

.traffic-navbar .navbar-nav > li > a,
.navbar a {
  color: var(--theme-heading) !important;
}

.traffic-navbar .navbar-nav > li > a::before {
  background: transparent !important;
}

.traffic-navbar .navbar-nav > li > a:hover {
  background: transparent !important;
  color: var(--theme-primary-hover) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

.traffic-navbar .navbar-nav > li.current-menu-item > a,
.traffic-navbar .navbar-nav > li.current_page_item > a {
  color: var(--theme-white) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

.traffic-navbar .navbar-nav > li.current-menu-item > a,
.traffic-navbar .navbar-nav > li.current_page_item > a,
.traffic-navbar .navbar-nav > li.current-menu-ancestor > a,
.traffic-navbar .navbar-nav > li.current-page-ancestor > a,
.traffic-navbar .navbar-nav > li.current-menu-parent > a,
.traffic-navbar .navbar-nav > li.current_page_parent > a {
  background: var(--theme-gradient-primary) !important;
  color: var(--theme-white) !important;
}

.traffic-navbar .navbar-nav .dropdown-menu,
.traffic-navbar .navbar-nav .sub-menu {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow-md) !important;
}

.traffic-navbar .navbar-nav .dropdown-menu li a,
.traffic-navbar .navbar-nav .sub-menu li a {
  color: var(--theme-heading) !important;
}

.traffic-navbar .navbar-nav .dropdown-menu li a:hover,
.traffic-navbar .navbar-nav .sub-menu li a:hover {
  background: var(--theme-gradient-primary) !important;
  color: var(--theme-white) !important;
}

.owl-carousel .owl-nav button,
#articles-owl .owl-nav button {
  background: var(--theme-primary) !important;
  color: var(--theme-white) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

.owl-carousel .owl-nav button:hover,
#articles-owl .owl-nav button:hover {
  background: var(--theme-primary-hover) !important;
}

.custom-bg-dark {
  background-image: linear-gradient(var(--theme-overlay), var(--theme-overlay)), url('images/banner-bg.webp');
  color: var(--theme-white) !important;
}

.pricing .card,
.service,
.service-card,
.card,
.step-content,
.faq-item,
.mvv-card,
.timeline-card,
.contact-card,
.floating-service,
.wpcf7-form,
.pagination .page-link {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow-sm) !important;
}

.pricing .card-header,
.service,
.wpcf7-form,
.wpcf7-response-output,
.faq-section,
.steps-section,
#services-articles,
.service-card .placeholder-media {
  background: var(--theme-gradient-soft) !important;
}

.pricing .price,
.service .icon-wrapper i,
.service:hover .icon-wrapper i,
.phone-icon,
.faq-badge,
.steps-badge,
.service-icon,
.icon,
.ring {
  color: var(--theme-white) !important;
}

.service-icon,
.icon,
.ring,
.step-number,
.btn-primary,
.e-primary,
.wpcf7-form input[type="submit"] {
  background: var(--theme-gradient-primary) !important;
  border-color: transparent !important;
  color: var(--theme-white) !important;
}

.btn-primary:hover,
.e-primary:hover,
.wpcf7-form input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--theme-primary-hover), var(--theme-secondary-hover)) !important;
  color: var(--theme-white) !important;
}

.btn-outline,
.e-secondary,
.btn-outline-primary,
.pagination .page-link {
  background: var(--theme-surface) !important;
  color: var(--theme-primary) !important;
  border: 1px solid var(--theme-primary) !important;
}

.btn-outline:hover,
.e-secondary:hover,
.btn-outline-primary:hover,
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--theme-gradient-primary) !important;
  color: var(--theme-white) !important;
  border-color: transparent !important;
}

.social-icons {
  background: var(--theme-surface) !important;
  border: 1px solid var(--theme-border) !important;
  box-shadow: var(--theme-shadow-sm);
}

.contact-icon {
  color: var(--theme-white) !important;
  box-shadow: var(--theme-shadow-md) !important;
}

.phone-icon {
  background: var(--theme-gradient-primary) !important;
}

.whatsapp-icon,
.btn-whatsapp {
  background: linear-gradient(135deg, var(--theme-whatsapp), #1ea952) !important;
  color: var(--theme-white) !important;
}

.contact-icon .tooltip {
  background: var(--theme-dark) !important;
  color: var(--theme-white) !important;
}

.contact-icon .tooltip::after {
  border-color: transparent transparent transparent var(--theme-dark) !important;
}

.wpcf7-form,
.wpcf7-response-output,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  background: var(--theme-surface) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 2px solid rgba(var(--theme-primary-rgb), 0.18);
  box-shadow: 0 0 0 4px rgba(var(--theme-secondary-rgb), 0.12);
}

footer,
.site-footer,
.main-footer,
footer .footer-bottom {
  background: var(--theme-gradient-primary) !important;
  color: var(--theme-white) !important;
}

footer *,
.site-footer *,
.main-footer * {
  color: var(--theme-white) !important;
}

footer a:hover,
.site-footer a:hover,
.main-footer a:hover {
  color: #fff3cd !important;
}
