/*
Theme Name: Xcel
Template: WCM010020
*/

.full-width-home,
.full-width-primary,
.full-width-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.full-width-content {
  overflow: hidden;
}


.page-template-homepage-template .page-title {
  display: none !important;
}

.page-template-homepage-template .main-content-inner {
  width: 100% !important;
  padding: 0 !important;
}

.page-template-homepage-template .home-slider-container, 
.page-template-homepage-template .topbar-outer-inner, 
.page-template-homepage-template .header-main, 
.page-template-homepage-template .slider_area_inner, 
.page-template-homepage-template .footer_inner, 
.page-template-homepage-template .full-width .inner-container, 
.page-template-homepage-template .site-footer .inner-container, 
.page-template-homepage-template .panel-row-style-inner-container, 
.page-template-homepage-template .main-content.left-sidebar, 
.page-template-homepage-template .top_main, 
.page-template-homepage-template .footer-bottom-container, 
.page-template-homepage-template #navbar, 
.page-template-homepage-template .parallax-inner-container, 
.page-template-homepage-template .main-content-inner, 
.page-template-homepage-template .footer-top-inner {
    width: unset !important;
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.page-template-homepage-template .header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-template-homepage-template .header_left {
    width: 25%;
}

.page-template-homepage-template .header_right {
    width: 75%;
    display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-template-homepage-template .header-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: unset;
    min-height: unset;
    margin: unset;
}

.page-template-homepage-template .header-right-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.page-template-homepage-template .header-right-row > div {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.page-template-homepage-template .header-search-inline form {
  display: flex;
  align-items: center;
}

.page-template-homepage-template .header-search-inline input {
  height: 34px;
}

.page-template-homepage-template #masthead {
    border-top: 15px solid #11a4d9;
}

.page-template-homepage-template .topbar-main {
    background-color: #fff !important;
    color: #fff;
    border-top: solid 1px #8b8b8b;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #8b8b8b;
    font-size: 14px;
    font-family: "Poppins";
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: 0;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
    background: #000;
}

.page-template-homepage-template #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background: #000 !important;
}

.page-template-homepage-template .footer-bottom {
    background: #000;
    width: 100%;
  padding-top: 300px;
  box-sizing: border-box;
}

.page-template-homepage-template .site-footer {
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.page-template-homepage-template .site-info,
.page-template-homepage-template .site-info a,
.footer-bottom-right .textwidget,
.footer-bottom-right .textwidget a {color:#fff;}

.footer-bottom-right .textwidget {
    float: right;
}

.page-template-homepage-template #colophon .footer_inner {
  width: 100% !Important;
  max-width: 1660px;
  margin: 0 auto;
  background: #fff;
  margin-bottom: -285px;
  border-radius: 7px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-template-homepage-template #footer-widget-area {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* EACH COLUMN */
.page-template-homepage-template .footer-widget {
  flex: 1;
  min-width: 260px;
}

.page-template-homepage-template .tm-about-text img {
  max-width: 100%;
  height: auto;
}

.page-template-homepage-template .footer-bottom-container {
  max-width: 1660px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.page-template-homepage-template .footer-bottom-left,
.page-template-homepage-template .footer-bottom-right {
  display: flex;
  align-items: center;
}

.page-template-homepage-template .site-info {
  font-size: 14px;
  opacity: 0.85;
}

.page-template-homepage-template .site-footer {
  width: 100%;
}

.page-template-homepage-template #footer-widget-area {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
}

.page-template-homepage-template .footer-widget {
  width: 100% !important;
  padding: 0;
  border: 0;
}

.page-template-homepage-template .footer-widget #custom_html-2 {
    display: none !important;
}

.page-template-homepage-template .footer-widget .contact_title {
    display: none;
}

.page-template-homepage-template #footer-widget-area .fourth-widget .widget {
        display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    border-top: 1px solid #000;
    padding-top: 40px;
}

.page-template-homepage-template .footer-widget h3.widget-title {
    color: #000 !important;
    background: unset !important;
    border: none !important;
    padding: 0 !important;
    font-family: "Poppins";
    font-size: 30px;
}

.page-template-homepage-template .footer-bottom {
  width: 100%;
}

.page-template-homepage-template .tm-about-text {
    display: flex;
    gap: 40px;
}

.page-template-homepage-template .footer-bottom-container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-template-homepage-template .contact_wrapper {
display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.page-template-homepage-template .contact_wrapper > div {
display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.page-template-homepage-template .contact_wrapper i {
  flex-shrink: 0;
  font-size: 20px;
  color:#11a4d9;
}


/* container */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

/* button (icon) */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 6px;
}

/* hidden search box */
.search-box {
  position: absolute;
  right: 0;
  top: 45px;

  width: 280px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition: 0.2s ease;

  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  z-index: 999;
}

/* active state */
.header-search.active .search-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.widget_product_search {
    margin-bottom:0;
}

.wcumcs-switcher-buttons.wcumcs-container li.wcumcs-list-item {
    margin: 0 4px 0 0;
}



/* =========================
   FULL WIDTH MEGA MENU FIX
========================= */

.page-template-homepage-template #navbar {
    width: unset;
}

#mega-menu-wrap-primary {
  width: 100%;
}

/* MAIN MENU ROW */
.page-template-homepage-template #mega-menu-wrap-primary #mega-menu-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0px;
  margin: 0;
  padding: 0;
}

/* TOP LEVEL ITEMS */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
  position: relative;
}

/* IMPORTANT: allow full-width dropdown to escape parent flow */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu {
  position: static;
}

/* SUB MENU (MEGA DROPDOWN) */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    position: absolute;
    width: 100vw;
    max-width: 100vw;
    z-index: 999;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
    padding: 20px 40px;
        transform: translateX(-30px);
}

/* ALIGN RIGHT VARIANT FIX */
#mega-menu-wrap-primary #mega-menu-primary li.mega-align-bottom-right > ul.mega-sub-menu {
  right: 0;
}

/* VISIBILITY FIX (correct logic) */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

/* SHOW ON HOVER */
#mega-menu-wrap-primary #mega-menu-primary li:hover > ul.mega-sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* OPTIONAL: REMOVE DEFAULT LIST STYLING ISSUES */
#mega-menu-wrap-primary #mega-menu-primary,
#mega-menu-wrap-primary #mega-menu-primary li {
  list-style: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title,
.textwidget h4.mega-block-title a {
    font: 14px "Poppins";
    font-weight: 800;
}

.mega-menu ul li a {
    font: 12px  "Poppins";
}



/* GLOBAL */
.no-wp-formatting {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.no-wp-formatting * {
  box-sizing: border-box;
}

.no-wp-formatting p {
  margin: 0;
}

.home-container {
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

/* HERO */
.hero-slider {
  width: 100%;
  height: 70vh;
  background: #245CA6;
  background-image: url('https://www.xcelsource.com/wp-content/uploads/2018/06/OpenFit2Plus.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.slide-content {
  text-align: center;
  max-width: 700px;
}

/* TITLES */
h2.homeTITLE {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #222222;
  text-align: center;
  margin-bottom: 40px;
}

/* FEATURE LOGIN BOXES */
.feature-overlap {
  margin-top: -100px;
  position: relative;
  z-index: 5;
	max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
  display: flex;
  gap: 20px;
  width: 100%;
  background: rgba(255,255,255,0.4);
  padding: 20px;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.feature-box {
  flex: 1;
  min-width: 0;
  height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px;
  background-size: cover;
  background-position: center;
}

.feature-box.login {
  background-image: url('https://www.xcelsource.com/wp-content/uploads/2018/06/Login.jpg');
  justify-content: flex-start;
}

.feature-box.signup {
  background-image: url('https://www.xcelsource.com/wp-content/uploads/2017/10/sign-up.jpg');
  justify-content: flex-end;
}

.feature-box.login::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 40%,
    rgba(255,255,255,0.55) 60%,
    rgba(255,255,255,0) 100%
  );

  z-index: 1;
}

.feature-box.signup::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to left,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 40%,
    rgba(255,255,255,0.55) 60%,
    rgba(255,255,255,0) 100%
  );

  z-index: 1;
}

.feature-box .text {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-box h2 {
  margin: 0;

  font-size: 40px;
  font-weight: 600;

  text-transform: uppercase;
}

.feature-box p {
  font-size: 13px;
  opacity: 0.9;
}

.feature-btn {
  display: inline-block;

  margin-top: 15px;
  padding: 12px 18px;

  background: #11a4d9;
  color: #fff;

  border-radius: 6px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  transition: all 0.2s ease;
}

.feature-btn:hover {
  background: #0d89b5;
  transform: translateY(-2px);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 80px 0;
  align-items: stretch;
}

.promo-col {
  display: flex;

  min-width: 0;
}

.promo-col a {
  display: flex;
  width: 100%;
}

.promo-grid a {
  text-decoration: none;
  color: inherit;
}

.promo-box {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  display: flex;
  min-width: 0;
}

.promo-box .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}

.promo-box:hover .overlay {
  background: rgba(0,0,0,0.5);
}

.promo-box .content {
  margin-top: auto;
  position: relative;
  z-index: 2;
  padding: 35px;
  color: white;
  width: 100%;
}

.promo-box h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.promo-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}

/* backgrounds */
.promo-box.prod1 {
  background-image:url('https://www.xcelsource.com/wp-content/uploads/2025/01/web-banners17.jpg');
}

.promo-box.prod2 {
  background-image:url('https://www.xcelsource.com/wp-content/uploads/2024/07/Security-Software-Banner.jpg');
}

.promo-box.prod3 {
  background-image:url('https://www.xcelsource.com/wp-content/uploads/2024/10/Home-Security-Nexxt.jpg');
}

.promo-box.prod4 {
  background-image:url('https://www.xcelsource.com/wp-content/uploads/2024/05/web-banners29-1.jpg');
}

/* CIRCLES */
.circle-products {
  margin: 80px 0;
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.circle-item {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15%;
}

.circle-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* CTA */
.home-cta {
  width: 100%;
  margin-top: 100px;
  padding: 100px 30px;
  background: #11a4d9;
  text-align: center;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-cta h2 {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.home-cta p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
}

.cta-btn {
  display: inline-block;
  padding: 16px 28px;
  background: #11a4d9;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
}

.cta-btn:hover {
  background: #0b89b7;
  transform: translateY(-2px);
}

/*BRANDS*/
.brands-simple {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1660px;
  margin: 0 auto;
  padding: 80px 30px;
}

.brands-left {
  flex: 0 0 30%;
}

.brands-right {
  flex: 0 0 70%;
}

.brands-left img {
  width: 100%;
  height: auto;
  display: block;
}


/* TEXT */
.brands-text h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #222222;
  text-align: left;
  margin-bottom: 40px;
}

.brands-text p {
  font-size: 16px;
  opacity: 0.75;
  margin: 0;
  max-width: 500px;
}

/* LOGOS */
.logo-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.logo-row:last-child {
    margin-bottom: 0;
}

.logo-row img {
  max-width: 180px;
  object-fit: contain;
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .brands-simple {
    flex-direction: column;
  }

  .brands-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .brands-contact-section {
    flex-direction: column;
  }

  .brands-hero {
    flex-direction: column;
    text-align: center;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 700px) {

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo-box {
    min-height: 320px;
  }

}

@media (max-width: 900px) {

  .feature-card,
  .flex-row {
    flex-direction: column;
  }

  .flex-item.large,
  .flex-item.small {
    flex: 1 1 100%;
  }

  .circle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-cta h2 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {

  .home-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .circle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-box {
    height: 240px;
    padding: 25px;
  }

  .feature-box h2 {
    font-size: 28px;
  }
}


/* =========================
   WORDPRESS FORMATTER FIX
========================= */

.no-wp-formatting p:empty {
  display: none !important;
}

.no-wp-formatting br {
  display: none !important;
}

.no-wp-formatting .promo-grid > p,
.no-wp-formatting .promo-col > p,
.no-wp-formatting .promo-box > p {
  display: none !important;

  margin: 0 !important;
  padding: 0 !important;
}