/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #1a1b1d; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1f2223; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #cb4524; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #ddd;
  --surface-color: #ffffff;
}

.dark-background {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #cb4524;
  text-decoration: none;
}

a:hover {
  color: #cb4524;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
/* Carousel Section */
/* Default: Hide the mobile version */
.mobile-version {
  display: none;
}

/* Show the mobile version and hide the desktop version on small screens */
@media (max-width: 768px) {
  .desktop-version {
    display: none;
  }
  .mobile-version {
    display: block;
  }
}

/* Desktop Styles */
/*--------------------------------------------------------------
# Desktop Version Carousel
--------------------------------------------------------------*/
/* General Container Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-background {
  background: linear-gradient(180deg, rgba(0, 0, 0) 70%, rgba(0, 0, 0) 70%);
  padding-bottom: 40px;
}

/* Carousel Info Section */
.carousel-info {
  padding: 90px 40px 130px 40px;
  color: white;
}

.carousel-info h2 {
  color: white;
  font-size: 35px;
  font-weight: bold;
}

.carousel-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel-info ul li {
  margin-bottom: 10px;
}

/* Update the CSS for the desktop version tabs */
.desktop-version .carousel-tabs ul li {
  background-color: transparent;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  position: relative; /* Set relative positioning to add the line */
}

/* For the active tab with the gray line */
.desktop-version .carousel-tabs ul li.active {
  background-color: white;
  color: black;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
}

.desktop-version .carousel-tabs ul li.active::after {
  content: '';
  position: absolute;
  bottom: -1px; /* Positioning the line at the bottom */
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgb(215, 215, 215); /* Set the color of the line */
}

/* Adjust the width to match the carousel-details */
.desktop-version .carousel-details {
  border-top: 1px solid gray; /* Ensure the line is the same color */
  margin-top: 0;
}

/* Carousel Details with Dividers and Centralized */
.carousel-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  color: black;
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.carousel-details div {
  flex: 1;
  text-align: center;
}

.carousel-details div:not(:first-child) {
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

/* Button Style */
.cta-btn {
  display: inline-block;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-btn:hover {
  background-color: rgb(144, 0, 0);
  color: white;
}

.btn-cards {
  width: 40px !important;
}

.cta-btn i {
  font-size: 18px;
}

/* Mobile Styles */
.mobile-version .carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.mobile-version .carousel-background {
  background: linear-gradient(180deg, rgba(0, 0, 0) 70%, rgba(0, 0, 0) 70%);
  padding: 30px 0;
  margin: 0;
}

.mobile-version .carousel-info {
  margin: 0 10px;
}

.mobile-version .carousel-info ul {
  padding: 0;
  line-height: 2rem;
}

.mobile-version .accordion-button {
  background-color: white;
  color: black;
  font-weight: bold;
}

.mobile-version .accordion-button:focus {
  box-shadow: none;
}

.mobile-version .cta-btn {
  display: inline-block;
  width: calc(100% - 20px);
  padding: 10px 20px;
  background-color: red;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px;
}

.mobile-version .accordion {
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 10px;
}

.mobile-version .accordion-body {
  margin-left: 10px;
  margin-right: 10px;
}

.mobile-version .accordion-header {
  margin: 0 10px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #151515;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid #cb4524;
  border-top-color: #151515;
  border-bottom-color: #151515;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 5px 0;
  height: 100px; /* Adjust this value as needed to fit the red rectangle */
  display: flex;
  justify-content: center;
  align-items: center; /* Ensures that the logo is vertically centered */
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(0, 0, 0, 0.9);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: 1200px; /* Optional: constrain width if necessary */
}

#header .logo {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* Keeps the logo horizontally centered */
}

#header .logo a {
  color: #fff;
}

#header .logo a span {
  color: #cb4524;
}

#header .logo img {
  max-height: 55px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  position: relative;
  padding: 50px 0 0 0;
  color: #fff;
}

#hero:before {
  content: "";
  background: linear-gradient(rgba(12, 13, 14, 0.6), rgba(12, 13, 14, 0.5)), url("../img/images-cards/tanager.png") fixed center center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: -10;
}

#hero .section-title {
  padding: 0 !important;
}

#hero .section-title h2 {
  font-size: 21px !important;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  #hero {
    background-position: top center;
  }
}

.hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  z-index: 5;
  position: relative;
}

.wave1 use, .wave2 use, .wave3 use {
  animation: move-forever 10s linear infinite;
}

@keyframes move-forever {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

/*--------------------------------------------------------------
# Calculator
--------------------------------------------------------------*/
.slider-container {
  line-height: 1.4em;
  margin-top: 15px;
  width: 500px;
  box-sizing: border-box;
}

.input-wrapper {
  width: 80%;
  max-width: 300px; /* Limit the width to avoid it being too wide */
  text-align: center;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px; /* Thinner slider */
  background: #ddd;
  border-radius: 5px;
  outline: none;
  margin: 0;
  transition: background 0.3s ease;
  position: relative;
  z-index: 1; /* Ensure it's above the background */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid red;  /* Red border with white inside */
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid red;  /* Red border with white inside */
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

input[type="range"]::before {
  content: '';
  height: 4px; /* Match the slider track height */
  background: linear-gradient(to right, red, white);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 8px;
  color: white;
}

.slider-labels span {
  position: relative;
  display: inline-block;
}

.slider-labels span::before {
  content: '';
  width: 1px;
  height: 6px;
  background-color: #ffffff;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.calc-1 {
  font-size: 12px;
}

.results-div {
  margin: 0;
}

.results-list-row {
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  padding: 0 !important;
}

.results-list-row div {
  margin: 3px;
  text-align: center;
}

.results-list-row span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 5px;
}

.results-list-row strong {
  font-size: 18px;
  color: rgb(255, 0, 0);
}

.results-div h2 {
  font-size: 20px;
}

.cta {
  background: red;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  white-space: nowrap;
}

.cta:hover {
  background: #780c00;
  color: white;
}

/* Calendly adjustments */
.calendly-inline-widget {
  display: block !important; /* Ensure it's visible */
  width: 100%; /* Ensure it takes full width */
  height: 500px; /* Give it a reasonable height */
  border-radius: 5px;
  overflow: hidden;
  z-index: 10; /* Ensure it appears above other elements */
}

/* Responsive adjustments for mobile */
@media (max-width: 1042px) {  
  .results-div {
    padding-top: 0 !important;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 !important;
  }

  .calc-1 {
    font-size: 10px;
  }

  .results-list-row {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 15px;
  }

  .section-calculator {
    margin: 70px 15px 0 15px;
    max-width: 100%;
  }

  .results-div h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: auto;
  }

  .calendly {
    display: none;
  }

  .cta {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: 70%;
    margin: auto;
  }

  .results-list-row div {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .features h2 {
    font-size: 18px;
    margin: 10px 0 5px 0 !important;
  }
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .slider-container {
    width: 100% !important; /* Ensure the slider takes full width */
    margin: 0 auto !important;
  }

  input[type="range"] {
    width: 100%; /* Make the slider full width */
  }

  .slider-labels {
    font-size: 12px; /* Reduce label font size for mobile */
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 50px 0;
  position: relative;
}

@media (max-width: 1000px) {
  .section-title {
    padding: 15px 0;
  }

  .section-title h2 {
    font-size: 20px !important;
  }
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 0 10px 20px 10px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: red;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Partners
--------------------------------------------------------------*/
.clients {
  padding-top: 20px;
}

.phone-number {
  font-size: 30px;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.2s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #cb4524;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .icon-box .icon {
  margin: 0 auto;
  background: #cb4524;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #151515;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #151515;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: #cb4524;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  color: #cb4524;
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, #cb4524, transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer-disclaimer {
  font-size: small;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-img {
  width: 30%;
  margin-bottom: 25px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}