
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Ubuntu",  sans-serif;
}

/* 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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #5f687b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ec1111; /* 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. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5f687b;  /* The default color of the main navmenu links */
  --nav-hover-color: #ec1111; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5f687b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #10bc69; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #ec1111;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #14eb83;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  margin-top: 10px;
  display: none;
  background: #df1529; /* Red background for error */
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
}

.php-email-form .sent-message {
  margin-top: 10px;
  display: none;
  color: #ffffff;
  background: #059652; /* Green background for success */
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 15%);
  border-color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 768px) { /* For tablets and mobile devices */
  .header .btn-getstarted {
    font-size: 12px; /* Smaller font size */
    padding: 6px 20px; /* Smaller padding */
    margin: 0 0 0 20px; /* Adjust left margin to avoid overflow */
  }
}

@media (max-width: 480px) { /* For very small screens (phones) */
  .header .btn-getstarted {
    font-size: 11px; /* Even smaller font size */
    padding: 5px 15px; /* Even smaller padding */
    margin: 0 0 0 15px; /* Adjust margin for mobile */
  }
}


.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0 !important;
  }

  .navmenu ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px !important;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 10px 8px !important;
    font-size: 16px !important;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover>a {
    color: var(--nav-hover-color);
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu .dropdown ul {
    margin: 0 !important;
    padding: 10px 0 !important;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 20px;
}

.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 20%);
  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;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 5px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 15px 0;
  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;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 30px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 10px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 18px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.btn-dangers {
  background-color: #ec1111 !important; /* Red background */
  color: #fff;
  border-radius: 30px; /* Rounded corners */
  padding: 8px 25px;
  border: 2px solid transparent; /* Invisible border initially */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Text color */
}

.btn-dangers:hover,
.btn-dangers:focus
{
  background-color: #ffffff !important; /* White background on hover */
  color: #ec1111 !important; /* Red text color on hover */
  border-color: #ec1111 !important;
}


.hero .btn-get-started:hover {
  color: var(--contrast-color); 
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding-top: 0;
}

.featured-services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover {
  transform: translateY(-10px);
}

.featured-services .service-item:hover h4 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
  display: flex;
  align-items: center; 
  gap: 10px;
}

.portfolio .portfolio-item .portfolio-info {
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 10px !important;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 10px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Default styles for the text (h3 and p) */

.contact .info-item p {
  color: var(--default-color); /* Default text color */
  transition: color 0.3s ease-in-out; /* Smooth transition */
}

/* Hover effect on the entire info-item */
.contact .info-item:hover p {
  color: var(--accent-color); /* Change text color to red on hover */
}


.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* Disabled button style */
.contact .php-email-form button[type=submit]:disabled {
  background: var(--accent-color);
  cursor: not-allowed; 
}

/* Enabled button style (no change needed if it's enabled) */
.contact .php-email-form button[type=submit]:not(:disabled) {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing card Section
--------------------------------------------------------------*/

/* Apply default font to card body */
.card-body {
  font-family: var(--default-font);
  color: var(--default-color);
}

/* Header section of the card */
.card-header {
  font-family: var(--heading-font);
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-align: center;
  padding: 1.5rem;
}

/* Title for each pricing card */
.card-header h5 {
  font-family: var(--heading-font);
  margin: 0;
}

/* Title for card pricing */
.card-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Card description text */
.card-text {
  font-family: var(--default-font);
  color: var(--default-color);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Card list items */
.card-body ul li {
  font-family: var(--default-font);
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 0.5rem;
}

/* Button in cards */
.card-body .btn {
  font-family: var(--nav-font);
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.card-body .btn:hover {
  background-color: darken(var(--accent-color), 10%);
}

/* Apply rounded corners and shadow to the card */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Make the card responsive */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


/* Space between the card elements */
.card-body {
  padding: 2rem;
}

/* Extra styles for individual card containers */
.card-container {
  margin-bottom: 3rem;
}

/* Adjust the heading size for small screens */
@media (max-width: 768px) {
  .card-header h5 {
    font-size: 1.25rem;
  }

  .card-title {
    font-size: 1.5rem;
  }
}

/* Custom class for Get Started Button */
.btn-custom {
  background-color: var(--accent-color);; /* Default background color is white */
  color: #ffffff; /* Default text color is red */
  border: 2px solid  var(--accent-color); /* Red border to match the text color */
  padding: 10px 25px; /* Add padding for better button size */
  border-radius: 30px; /* 30px border radius for rounded corners */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  font-size: 16px; /* Font size */
  text-decoration: none; /* Remove underline */
}

.btn-custom:hover {
  background-color: #ffffff !important; /* Background stays white on hover */
  color:  var(--accent-color) !important; /* Text color turns red on hover */
  border-color:  var(--accent-color) !important; /* Border color stays red */
}

 /* Adjust the carousel indicator's position */
/* Adjust the carousel indicator's position */
.carousel-indicators {
  position: relative;
  bottom: -40px; /* Moves indicators down */
  z-index: 10;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

/* Adjust the height of images inside carousel */
.carousel-inner img {
  width: 100%; /* Ensures the image scales properly */
  height: auto; /* Maintains aspect ratio */
  max-width: 800px; /* Prevents excessive stretching */
  max-height: 450px; /* Sets a max height while keeping ratio */
  object-fit: contain; /* Prevents cropping */
  display: block;
  margin: 0 auto; /* Reduce width further to 60% */
}

/* Position the carousel controls */
.carousel-control-prev,
.carousel-control-next {
  background-color: var(--accent-color) !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  opacity: 1 !important;
  border: 2px solid transparent;
  transform: translateY(-50%);
}

/* Hover effect for controls */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #ffffff !important;
  border-color: var(--accent-color) !important;
}

/* Customize the active state for carousel indicators */
.carousel-indicators button {
  width: 12px !important;  /* Slightly bigger circle */
  height: 12px !important; /* Ensures round shape */
  border-radius: 50% !important; 
  background-color: var(--accent-color) !important;  /* Light red for inactive */
  border: none !important;  /* Removes any border effect */
  padding: 0 !important;  /* Ensures no extra space */
  display: inline-block !important;  /* Prevents stretching */
  transition: background-color 0.3s ease-in-out;
}

.carousel-indicators button:hover,
.carousel-indicators .active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

#stepsCarousel {
  position: relative;
  height: auto;
}

.ms-0 {
  margin-left: 0 !important;
}


@media (max-width: 768px) {
  .carousel-item img {
    object-fit: cover; /* Make sure image fills the space */
    height: 100%; /* Adjust for small screens */
  }

  .carousel-inner,
  .carousel-item {
    min-height: 430px; /* Prevent jump by locking height on small screens */
  }

  .text-img-container {
    text-align: center;
    padding: 10px;
  }

  .text-img-container h4 {
    font-size: 1rem;
  }

  .text-img-container p {
    font-size: 0.6rem;
  }

  .btn-dangers {
    font-size: 14px;
    padding: 8px 12px;
  }
}

@media (min-width: 1024px) {
  .carousel-item img {
    width: 100%;  /* Makes it responsive */
    max-width: 1024px;  /* Adjust to match large screen needs */
    height: auto; /* Maintains aspect ratio */
    max-height: 700px; /* Keeps 16:9 ratio (1024 / 1.78 ≈ 576) */
    object-fit: contain;
  }

  .text-img-container {
    text-align: start !important;
    padding: 5px !important;
  }

  .text-img-container h4 {
    font-size: 1.5rem !important;
  }

  .text-img-container p {
    font-size: 1rem !important;
  }
  .btn-dangers {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent-color);
}

/* Adjust control position */
.carousel-control-prev {
  left: -50px;
}

.carousel-control-next {
  right: -50px;
}

.carousel-item img {
  width: 100%;
   aspect-ratio: 16 / 9;
  max-width: 800px;
  max-height: 450px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


.carousel-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 450px;
}
.portfolio-item {
  flex-wrap: wrap;
}
.text-img-container {
  flex: 1;
  min-width: 250px;
}

/* Ensure the carousel does not overflow */
.carousel-inner {
  max-height: none;  /* Adjust based on your design */
  overflow: hidden; /* Hide any content that overflows */
}

/* Make sure the carousel item content does not move too far down */
.carousel-item {
  padding-bottom: 20px; /* Ensure the content stops before the controls */
  height: auto;
  position: relative;
  min-height: 250px; /* Let the height adjust automatically */
}

picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style for the disabled button with light red color */
#send-btn:disabled {
  background-color: #f8d7da;  /* Light red background */
  color: var(--accent-color);             /* Dark red text */
  border: 1px solid var(--accent-color);  /* Light red border */     /* Change cursor to indicate it's not clickable */
}

.custom-image-width {
  width: 45%; /* Adjust this percentage as needed */
}

.custom-text-width {
  width: 55%; /* Adjust this percentage as needed */
}

.btn-subscriber {
  background-color: #ec1111 !important; /* Red background */
  color: #fff;
  border-radius: 30px; /* Rounded corners */
  padding: 8px 25px;
  border: 2px solid transparent; /* Invisible border initially */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Text color */
}

.btn-subscriber:hover,
.btn-subscriber:focus {
    background-color: #ffffff;
    color: #ec1111;
    border-color: #ec1111;
}

.error-page {
  text-align: center;
  padding: 50px 15px;
}
.error-page img {
  max-width: 30%;
  height: auto;
  margin-bottom: 30px;
}

ul {
  list-style: none; /* Remove default bullet points */
  padding-left: 0;  /* Remove default padding to prevent unnecessary space */
}

ul li {
  position: relative; /* Needed for positioning the custom icon */
  padding-left: 30px; /* Add padding for the custom bullet */
  margin: 0; /* Remove any default margin */
}

ul li i.bi.bi-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Vertically center the icon */
}

/* Default Desktop View */
.sitenameAssistant {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Logo Sizing */
.site-logo {
  height: 120px !important;
  width: 40px !important;
  max-height: 120px;
  max-width: 40px;
}

.assistant-logo {
  max-width: 75px;
  height: auto;
}

/* Text Container */
.text-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.assistant-title {
  font-size: 30px;
}


/* Styling for "by" text */
.custom-text-logo {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #6c757d;
  gap: 7px;
  margin-left: 3px;
  margin-top: 7px;
}

.custom-text-logo span {
  margin-top: 1px;
}

/* Company Logo */
.company-logo {
  height: 22px;
  width: auto;
  margin-bottom: 7px;
}

/* Responsive Mobile View */
@media (max-width: 767px) {
  .sitenameAssistant {
    flex-wrap: nowrap;
  }

  .text-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .assistant-logo {
    max-width: 65px;
  }
  
  .assistant-title {
    font-size: 20px;
  }

  .company-logo {
    height: 18px;
    margin-left: 4px;
  }

  .custom-text-logo {
    font-size: 14px;
  }

  .assistant-logo,
  .company-logo {
    max-width: 50px !important;  /* Adjust size for mobile */
    max-height: 50px !important;
}}

.hero-description {
  text-align: justify;
}

/* .carousel-item img {
  max-width: 80%;
  height: auto;
  display: flex;
} */

/* .text-img-container{
  max-width: 50%; 
  text-align: justify; 
  margin-top: 17%;
} */

.newsletter-loading,
.newsletter-error,
.newsletter-success {
  display: none;
}

.copyright a {
  text-decoration: none;
}

iframe[itemprop="map"] {
  border: 0;
  width: 100%;
  height: 270px;
}

#email-error {
  display: none;
  color: red;
  font-size: 12px;
}

.error-container {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-text {
  text-align: center;
}
.error-text h2 {
  color: var(--accent-color);
  margin-bottom: 10px;
}
.error-text a {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--surface-color);
  background-color: var(--accent-color);
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: color 0.3s, border 0.3s, background-color 0.3s;
}
.error-text a:hover {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}
.small-img {
  max-width: 60%;
  height: auto;
}
@keyframes slideUp {
  from {
      transform: translateY(50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

.error-card {
  background: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 100%;
  width: 90%;
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

.error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Keeps the content centered vertically */
}

.error-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh; /* Makes it full screen */
  background-color: #f8f9fa; /* Keeps the background limited to this page */
}

.hidden-image {
  display: none;
}

.scribe-embed-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.scribe-iframe {
  width: 100%;
  height: 800px;
  min-height: 640px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

