/* ===== Preloader (logo + animation) ===== */
.js-preloader .preloader-inner.preloader-logo-wrap {
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.js-preloader .preloader-inner .dot,
.js-preloader .preloader-inner .dots {
  display: none !important;
}
.preloader-logo {
  max-width: 200px;
  width: auto;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  animation: preloader-logo-pulse 1.2s ease-in-out infinite;
}
.preloader-bar {
  width: 120px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}
.preloader-bar-inner {
  display: block;
  height: 100%;
  width: 40%;
  background: #03a4ed;
  border-radius: 3px;
  animation: preloader-bar-move 1s ease-in-out infinite;
}
@keyframes preloader-logo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
@keyframes preloader-bar-move {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(-100%); }
}

/* Desktop: Legal dropdown — ensure "Terms and Conditions" fits */
.header-area .main-nav .nav li.submenu ul,
.background-header .main-nav .nav li.submenu ul {
  min-width: 240px;
  width: max-content;
}

/* Header: vertical center for logo and nav */
.header-area .main-nav,
.background-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-area .main-nav .logo,
.background-header .main-nav .logo {
  float: none;
  line-height: 1;
  display: flex;
  align-items: center;
}
.header-area .main-nav .nav,
.background-header .main-nav .nav {
  float: none;
  margin-top: 0;
}
/* Logo size: original 1169×261 — constrain for header/footer */
.header-area .main-nav .logo img,
.background-header .main-nav .logo img {
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
footer .about .logo img {
  max-width: 180px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 30px;
}

/* Image container */
.img-container {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
  display: inline-block;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}
.img-container:hover img {
  /* optional: transform: scale(1.05); */
}

    .containerpp {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 20px;
        background-color: #f8f9fa;
        color: #333;
    }
    h1, h2 {
        color: #000000;
    }
    .containerpp {
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

  /* Service modals: image fills area, no overlap on text */
  .service-modal-image {
    max-width: 100%;
    width: 100%;
    height: 160px;
    margin: 0 0 1.25rem 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
  }
  .service-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Service carousel cards: image fills icon area, no overlap on text */
  .our-services .owl-services .item .icon {
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin: 0 auto 0.75rem auto;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .our-services .owl-services .item .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .our-services .owl-services .item h4 {
    margin-bottom: 0.5rem;
  }
  .our-services .owl-services .item p {
    margin: 0;
  }
  .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  }
  .modal-header {
    border-bottom: 1px solid #eee;
    padding: 1rem 1.25rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
  .service-modal-icon {
    margin-right: 0.5rem;
    color: #03a4ed;
  }
  /* Interactive info cards inside service modals */
  .service-info-card {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fafafa;
    text-align: center;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .service-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #03a4ed;
    background: #fff;
  }
  .service-info-card i {
    font-size: 1.75rem;
    color: #03a4ed;
    margin-bottom: 0.5rem;
    display: block;
  }
  .service-info-card h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #2a2a2a;
  }
  .service-info-card p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
    line-height: 1.4;
  }
  /* Benefits list and accordion in service modals */
  .service-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
  }
  .service-benefits-list li {
    padding: 0.35rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9rem;
    color: #444;
  }
  .service-benefits-list li i {
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: #03a4ed;
    font-size: 0.95rem;
  }
  .service-modal-accordion .accordion-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
  }
  .service-modal-accordion .accordion-button {
    font-size: 0.95rem;
    font-weight: 600;
    background: #f8f9fa;
    color: #2a2a2a;
    padding: 0.75rem 1rem;
  }
  .service-modal-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: #03a4ed;
    box-shadow: none;
  }
  .service-modal-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
  }
  .service-modal-accordion .accordion-body {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    padding: 0.75rem 1rem 1rem;
  }
  .footer-company-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #afafaf;
    margin: 0.75rem 0 1rem 0;
    max-width: 260px;
  }
  /* Contact form (id contact-form to avoid conflict with section#contact) */
  form#contact-form {
    margin-left: -100px;
    position: relative;
    z-index: 2;
    background-image: url(../images/contact-form-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    padding: 60px 120px;
    border-radius: 20px;
  }
  form#contact-form input {
    width: 100%;
    height: 46px;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 1px solid #9bdbf8;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    font-size: 15px;
    font-weight: 300;
    color: #2a2a2a;
    padding: 0;
    margin-bottom: 35px;
  }
  form#contact-form input::placeholder {
    color: #afafaf;
  }
  form#contact-form button {
    display: inline-block;
    background-color: #ff695f;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    border: none;
    outline: none;
    transition: all 0.3s;
  }
  form#contact-form button:hover {
    background-color: #03a4ed;
  }
  @media (max-width: 991px) {
    form#contact-form {
      margin-left: 0;
      margin-top: 60px;
      padding: 45px 30px;
    }
  }
  @media (max-width: 767px) {
    form#contact-form .row .col-lg-12:last-child,
    form#contact-form .row .col-lg-12:last-child fieldset {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
  }
  #contact-message,
  #contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    min-height: 100px;
  }

  /* Mobile: logo fixed in nav bar, vertically centered; menu opens below without moving logo */
  @media (max-width: 767px) {
    .header-area .main-nav,
    .background-header .main-nav {
      position: relative;
      align-items: center;
      min-height: 80px;
      overflow: visible;
    }
    .header-area .main-nav .logo,
    .background-header .main-nav .logo {
      flex-shrink: 0;
    }
    /* Nav dropdown: absolute so it does not expand main-nav — logo stays in place */
    .header-area .main-nav .nav,
    .background-header .main-nav .nav {
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      right: 0 !important;
      margin-top: 0 !important;
      width: 100% !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      z-index: 999;
    }
    /* Services and Legal dropdown: full width of column on mobile */
    .header-area .main-nav .nav li.submenu ul,
    .background-header .main-nav .nav li.submenu ul {
      width: 100% !important;
      max-width: 100% !important;
      left: 0 !important;
      right: 0 !important;
      padding-left: 0;
      padding-right: 0;
    }
    .header-area .main-nav .nav li.submenu ul.active {
      height: auto !important;
      max-height: none !important;
      visibility: visible !important;
      opacity: 1 !important;
      overflow: visible !important;
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 0.5rem;
    }
    .header-area .main-nav .nav li.submenu ul li {
      display: block !important;
      width: 100% !important;
    }
    .header-area .main-nav .nav li.submenu ul li a {
      display: block !important;
      width: 100% !important;
      padding: 0.6rem 1rem !important;
      box-sizing: border-box;
    }
    /* Show Contact Us button in hamburger menu; no white background around it */
    .header-area .main-nav .nav li.contact-nav-item,
    .header-area .main-nav .nav li:last-child,
    .background-header .main-nav .nav li.contact-nav-item,
    .background-header .main-nav .nav li:last-child {
      display: block !important;
      background: transparent !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .header-area .main-nav .nav li.contact-nav-item .main-red-button-hover,
    .background-header .main-nav .nav li.contact-nav-item .main-red-button-hover {
      background: transparent !important;
    }
    .header-area .main-nav .nav li.contact-nav-item .main-red-button-hover a,
    .background-header .main-nav .nav li.contact-nav-item .main-red-button-hover a {
      display: block;
      height: 50px !important;
      line-height: 50px !important;
      padding: 0 1rem !important;
      background-color: #ff695f !important;
      color: #fff !important;
      border-radius: 23px;
      text-align: center;
      margin: 0.5rem 0;
    }
    .header-area .main-nav .nav li.contact-nav-item .main-red-button-hover a:hover,
    .background-header .main-nav .nav li.contact-nav-item .main-red-button-hover a:hover {
      background-color: #03a4ed !important;
      color: #fff !important;
    }
  }

  /* Mobile: raise cookie banner so it doesn't overlap footer/copyright */
  @media (max-width: 767px) {
    #prebannerBtn,
    button.prebanner,
    .prebanner {
      bottom: 72px !important;
    }
    #glowCookies-banner.glowCookies__show,
    #glowCookies-banner.glowCookies__banner__1,
    #glowCookies-banner.glowCookies__banner__2,
    #glowCookies-banner.glowCookies__banner__3 {
      bottom: 72px !important;
    }
  }

  /* Mobile: center footer text */
  @media (max-width: 767px) {
    footer .footer-item,
    footer .about,
    footer .services,
    footer .subscribe-newsletters {
      text-align: center;
    }
    footer .footer-item .logo,
    footer .about .logo {
      display: flex;
      justify-content: center;
    }
    footer .about .logo a {
      display: inline-block;
    }
    footer .footer-company-desc {
      margin-left: auto;
      margin-right: auto;
    }
    footer .services ul {
      display: inline-block;
      text-align: center;
    }
    footer .subscribe-newsletter form,
    footer #footer-newsletter {
      display: flex;
      justify-content: center;
    }
  }

/* ===== About Us section: layout and accordion ===== */
.about-section-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.about-image-wrap {
  flex: 0 1 380px;
  max-width: 100%;
}
.about-section-image {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}
.about-text-wrap {
  flex: 1 1 400px;
  min-width: 0;
}
.about-text-wrap .about-intro {
  margin-bottom: 1rem;
}
.about-text-wrap p {
  margin-bottom: 0.85rem;
  text-align: left;
}
.about-values-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a2a2a;
}
.about-accordion .accordion-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.about-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  background: #f8f9fa;
  color: #2a2a2a;
}
.about-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: #03a4ed;
}
.about-accordion .accordion-button:focus {
  box-shadow: none;
}
.about-accordion .accordion-body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #555;
}
@media (max-width: 767px) {
  .about-section-wrap {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-image-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
}

/* ===== Scroll to top button (accent colors) ===== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ff695f;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(255, 105, 95, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
  z-index: 998;
}
.scroll-to-top-btn:hover {
  background-color: #03a4ed;
  color: #fff;
  box-shadow: 0 4px 12px rgba(3, 164, 237, 0.4);
}
.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .scroll-to-top-btn {
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}