/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* 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: "Poppins", 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: #f8f8f8; /* Background color for the entire website, including individual sections */
  --default-color: #2f3e46; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1d3c34; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #a12c2f; /* 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: #d4af37; /* 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: #f8f8f8; /* The default color of the main navmenu links */
  --nav-hover-color: #d4af37; /* 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: #f8f8f8; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2f3e46; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #a12c2f; /* 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: #f8f8f8;
  --default-color: #2f3e46;
  --heading-color: #1d3c34;
  --accent-color: #a12c2f;
  --surface-color: #ffffff;
  --contrast-color: #d4af37;
}

.dark-background {
  --background-color: #1c1f26;
  --default-color: #f8f8f8;
  --heading-color: #d4af37;
  --accent-color: #a12c2f;
  --surface-color: #2f3e46;
  --contrast-color: #1d3c34;
}

.accent-background {
  --background-color: #fff6d6;
  --default-color: #2f3e46;
  --heading-color: #1d3c34;
  --accent-color: #a12c2f;
  --surface-color: #ffffff;
  --contrast-color: #d4af37;
}

/* 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 {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.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 {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  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: 62px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #1d3c34;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    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;
  }
}

/* Mobile Navigation */
@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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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: #333333;
  background-color: #0ac5e6;
  font-size: 14px;
  position: relative;
}

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: #1d3c34;
}

.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, #1d3c34, transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, #1d3c34, 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;
  padding-bottom: 12px;
  color: #1d3c34;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.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: 10px 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, #1d3c34, transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.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(--background-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: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  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 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 74px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 82px;
  }
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  background: url(../img/section-title-bg2.png) no-repeat;
  z-index: -1;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-text-container {
  background-color: transparent;
  padding: 2.5rem;
  margin: 0 auto;
  text-align: center;
  max-width: 950px;
  position: relative;
  overflow: hidden;
}

/* Add subtle light effect around the border */
.hero .hero-text-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent,
    rgba(255, 255, 255, 0.4)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  display: none;
}

.hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.4); /* Darker overlay */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--background-color); /* White text for better contrast */
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.2),
    2px 2px 3px rgba(0, 0, 0, 0.6); /* Maintains readability with dark shadow */
}

.hero h2 .static-glow {
  display: inline-block;
  color: #fff;
  /* Simpler text shadow */
  text-shadow: 0 0 6px rgba(161, 44, 47, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero h2 .magic-glow {
  display: inline-block;
  color: #e6b325;
  text-shadow: 0 0 8px rgba(230, 179, 37, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.6);
  /* Less frequent animation */
  animation: subtle-glow 4s infinite alternate;
}

@keyframes subtle-glow {
  0% {
    text-shadow: 0 0 6px rgba(230, 179, 37, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.6);
  }
  100% {
    text-shadow: 0 0 12px rgba(230, 179, 37, 0.7),
      1px 1px 2px rgba(0, 0, 0, 0.6);
  }
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .hero h2 .static-glow,
  .hero h2 .magic-glow {
    display: block;
    margin-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .snowflake,
  .string-light {
    /* Remove animations for users who prefer reduced motion */
    animation: none !important;
  }

  .magic-glow {
    animation: none !important;
    text-shadow: 0 0 8px rgba(230, 179, 37, 0.6) !important;
  }
}
.hero p {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Add a highlight effect for key phrases */
.hero p .text-highlight {
  font-weight: 600;
  color: #e6b325; /* Golden highlight color */
  text-shadow: 0 0 8px rgba(230, 179, 37, 0.5);
  position: relative;
  white-space: nowrap;
}

/* Button styling */
.hero .btn-get-started,
.hero .btn-get-quote {
  display: inline-block;
  padding: 12px 30px;
  margin: 5px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero .btn-get-started {
  background-color: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-quote {
  background-color: transparent;
  color: #fff;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  background-color: rgb(170, 61, 65);
}

.hero .btn-get-quote:hover {
  background-color: var(--accent-color);
  color: #fff;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
  .hero h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

.hero-line {
  display: block;
  margin-bottom: 0.1em; /* Adjustable spacing between lines */
}

/* For mobile screens */
@media (max-width: 768px) {
  .hero h2 .static-glow,
  .hero h2 .magic-glow {
    display: inline; /* Keep them inline on mobile */
  }

  /* Add spacing only where needed on mobile */
  .hero-line:not(:last-child) {
    margin-bottom: 0;
  }
}

.hero .btn-scroll {
  transition: 0.4s;
  color: var(--contrast-color);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 48px;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

.hero-gnome {
  position: absolute;
  bottom: 0;
  right: 30px;
  z-index: 20;
  width: 400px;
  height: 400px;
}

/* Large desktop screens */
@media (max-width: 1600px) {
  .hero-gnome {
    width: 350px !important;
    height: 350px !important;
  }
}

/* Standard desktop */
@media (max-width: 1400px) {
  .hero-gnome {
    width: 320px !important;
    height: 320px !important;
    right: 20px !important;
  }
}

/* Small desktop/large laptop */
@media (max-width: 1200px) {
  .hero-gnome {
    width: 300px !important;
    height: 300px !important;
    right: 15px !important;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .hero-gnome {
    width: 250px !important;
    height: 250px !important;
    right: 10px !important;
    bottom: 10px !important;
  }
}

/* Tablet landscape */
@media (max-width: 900px) {
  .hero-gnome {
    width: 200px !important;
    height: 200px !important;
    right: 5px !important;
    bottom: 15px !important;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .hero-gnome {
    width: 180px !important;
    height: 180px !important;
    right: 0px !important;
    bottom: 20px !important;
  }
}

/* Large mobile */
@media (max-width: 576px) {
  .hero-gnome {
    width: 150px !important;
    height: 150px !important;
    right: -5px !important;
    bottom: 25px !important;
    opacity: 0.9;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-gnome {
    width: 120px !important;
    height: 120px !important;
    right: -10px !important;
    bottom: 30px !important;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .hero-gnome {
    width: 100px !important;
    height: 100px !important;
    right: -15px !important;
    bottom: 35px !important;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 700px) and (orientation: landscape) {
  .hero-gnome {
    width: 150px !important;
    height: 150px !important;
    bottom: 10px !important;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero-gnome {
    width: 120px !important;
    height: 120px !important;
    bottom: 5px !important;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: var(--accent-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.about .content .about-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.about .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.about .icon-box:hover h4 a {
  color: var(--accent-color);
}

/* About Section Styling */
.about-feature {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-feature h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.about-feature p {
  color: var(--text-color);
  margin-bottom: 0;
}

.about img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  transition: all 0.4s ease;
}

.about img:hover {
  transform: translateY(-5px);
}

.about .about-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .about-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.about .about-btn i {
  margin-left: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.about .about-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .about .col-md-6:last-child {
    margin-top: 2rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover .icon i,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

#call-to-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /* Darker overlay for better text visibility */
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

#call-to-action .text-center {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#call-to-action h3 {
  margin-bottom: 1.5rem;
  color: #184e35; /* Dark green for better visibility */
  font-size: 1.8rem;
}

#call-to-action p {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.call-to-action .cta-btn:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 2px solid 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;
}

.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: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 15px;
}

.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;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member .member-img {
  border-radius: 8px;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  top: -18px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
}

.team .team-member .social a i {
  line-height: 0;
  font-size: 16px;
}

.team .team-member .social a:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  background-color: var(--surface-color);
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  background: var(--surface-color);
  margin: -50px 20px 0 20px;
  position: relative;
  border-radius: 8px;
}

.team .team-member .member-info h4 {
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.team .team-member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.faq .faq-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.faq .faq-item h4 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.faq .faq-item p {
  font-size: 15px;
}

.faq .faq-item:first-child {
  padding-top: 0;
  margin-top: 0;
}

.faq .faq-item:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# 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;
}

.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%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

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

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* Snowflake Animation for Hero Section */
.snowflake {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  /* Removed expensive filter, using simpler box-shadow */
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
  z-index: 4;
  opacity: 0.8;
  pointer-events: none;
  /* Use transform for better performance */
  will-change: transform;
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0.2;
  }
}

/* Create different sized snowflakes */
.snowflake:nth-child(3n) {
  width: 12px;
  height: 12px;
  animation-duration: 8s;
}

.snowflake:nth-child(3n + 1) {
  width: 6px;
  height: 6px;
  animation-duration: 6s;
}

.snowflake:nth-child(3n + 2) {
  width: 10px;
  height: 10px;
  animation-duration: 7s;
}

/* String Lights Animation */
.christmas-lights-container {
  position: absolute;
  top: 95px; /* Adjust based on your navigation height */
  left: 0;
  right: 0;
  height: 70px; /* Increased height to accommodate the curve */
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.string-light {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: twinkle 1.5s infinite alternate;
  /* Positions will be set in JavaScript */
}

.string-light::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  filter: blur(5px);
  position: absolute;
  top: -2px;
  left: -2px;
  opacity: 0.5;
}

.string-light:nth-child(4n + 1) {
  background: #ff0000; /* Red */
  animation-delay: 0s;
}

.string-light:nth-child(4n + 1)::after {
  background: #ff0000;
}

.string-light:nth-child(4n + 2) {
  background: #00ff00; /* Green */
  animation-delay: 0.4s;
}

.string-light:nth-child(4n + 2)::after {
  background: #00ff00;
}

.string-light:nth-child(4n + 3) {
  background: #d4af37; /* Gold */
  animation-delay: 0.8s;
}

.string-light:nth-child(4n + 3)::after {
  background: #d4af37;
}

.string-light:nth-child(4n + 4) {
  background: #2094fa; /* Blue */
  animation-delay: 1.2s;
}

.string-light:nth-child(4n + 4)::after {
  background: #2094fa;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
    box-shadow: 0 0 5px 0px currentColor;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px 2px currentColor;
  }
  100% {
    opacity: 0.7;
    box-shadow: 0 0 5px 0px currentColor;
  }
}

.string-light-0 {
  background: #ff0000; /* Red */
}
.string-light-0::after {
  background: #ff0000;
}

.string-light-1 {
  background: #00ff00; /* Green */
}
.string-light-1::after {
  background: #00ff00;
}

.string-light-2 {
  background: #d4af37; /* Gold */
}
.string-light-2::after {
  background: #d4af37;
}

.string-light-3 {
  background: #2094fa; /* Blue */
}
.string-light-3::after {
  background: #2094fa;
}

/* Christmas Countdown Styling */
.christmas-countdown {
  margin: 1.5rem auto;
  max-width: 200px;
  text-align: center;
  padding: 0.8rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: rotate(-3deg);
  border: 2px solid #a12c2f;
}

.christmas-countdown::before {
  content: "🎄";
  position: absolute;
  top: -15px;
  left: -10px;
  font-size: 24px;
  transform: rotate(15deg);
}

.christmas-countdown::after {
  content: "🎁";
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 20px;
  transform: rotate(-10deg);
}

.christmas-countdown p {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.christmas-countdown .days-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #a12c2f;
  line-height: 1.2;
  margin: 5px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Make it stand out more on mobile */
@media (max-width: 768px) {
  .christmas-countdown {
    margin: 2rem auto;
    transform: rotate(-2deg);
  }
}

.truck-animation-container {
  position: relative;
  height: 330px;
  margin-top: 100px;
  overflow: hidden;
  width: 100%;
}

.truck-container {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 5;
  max-width: 400px;
  transition: none;
  transform-origin: right center;
  transform: translateX(100%) translateY(-50%);
}

/* Make these selectors more specific to override .about img styles */
.truck-container img.animated-truck-image {
  height: 250px !important; /* Use !important to override */
  width: auto !important; /* Override any width constraints */
  max-width: none !important; /* Override any max-width constraints */
  object-fit: contain !important; /* Override object-fit if set */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  transition: none !important;
  transform: none !important;
}

/* Prevent hover effects */
.truck-container:hover img.animated-truck-image,
img.animated-truck-image:hover {
  transform: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .truck-animation-container {
    height: 320px;
  }

  .truck-container {
    max-width: 200px;
  }

  .truck-container img.animated-truck-image {
    height: 300px !important;
  }
}

@media (max-width: 768px) {
  .hero-gnome {
    width: 200px !important;
    height: 200px !important;
  }
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-form-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  margin: 20px auto;
  max-width: 500px;
}

.hero-form-card h3 {
  font-size: 24px;
  color: #293c32;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.hero-form .form-control {
  border: 1px solid rgba(41, 60, 50, 0.2);
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.8);
}

.btn-form-submit {
  background: #a12c2f;
  color: #fff;
  border: 0;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-form-submit:hover {
  background: #7f2326;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(161, 44, 47, 0.3);
}

/* Ensure the hero section has proper height */
.hero {
  min-height: 700px;
}

/* Ensure gnome stays in position */
.hero-gnome {
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-form-card {
    margin-top: 30px;
  }

  .hero-text-container {
    text-align: center;
    padding-top: 50px;
  }

  .hero {
    min-height: 800px;
  }

  .hero-gnome {
    width: 190px !important;
    height: 190px !important;
  }
}

/* Service Roadmap Styles */
.roadmap-title {
  color: #293c32;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.roadmap-subtitle {
  color: #666;
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
}

.service-roadmap {
  position: relative;
  padding: 30px 0;
}

.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.roadmap-line {
  position: absolute;
  width: 6px;
  background-color: #a12c2f;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 10px;
  opacity: 0.7;
  background: linear-gradient(to bottom, #a12c2f, #293c32);
}

.roadmap-item {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 70px;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.roadmap-icon {
  position: relative;
  background-color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
  margin: 0 30px;
  transition: all 0.3s ease;
  border: 3px solid #a12c2f;
}

.roadmap-icon i {
  font-size: 26px;
  color: #a12c2f;
}

.roadmap-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #a12c2f;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(161, 44, 47, 0.3);
}

.roadmap-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  width: calc(50% - 65px);
  position: relative;
  transition: all 0.3s ease;
  border-top: 3px solid #a12c2f;
}

.roadmap-content::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform: rotate(45deg);
}

.roadmap-item:nth-child(odd) .roadmap-content::after {
  right: -10px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.roadmap-item:nth-child(even) .roadmap-content::after {
  left: -10px;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.roadmap-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #293c32;
  margin-bottom: 10px;
}

.roadmap-content p {
  color: #666;
  margin-bottom: 0;
  font-size: 15px;
}

/* Roadmap hover effects */
.roadmap-item:hover .roadmap-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(161, 44, 47, 0.2);
}

.roadmap-item:hover .roadmap-content {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .roadmap-line {
    left: 40px;
  }

  .roadmap-item,
  .roadmap-item:nth-child(odd) {
    flex-direction: row;
    margin-left: 60px;
  }

  .roadmap-content {
    width: calc(100% - 120px);
  }

  .roadmap-item:nth-child(odd) .roadmap-content::after,
  .roadmap-item:nth-child(even) .roadmap-content::after {
    left: -10px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    right: auto;
  }

  .roadmap-icon {
    margin: 0 20px 0 0;
  }
}

@media (max-width: 768px) {
  .roadmap-title {
    font-size: 26px;
  }

  .roadmap-content {
    padding: 20px;
  }

  .roadmap-content h4 {
    font-size: 18px;
  }

  .roadmap-icon {
    width: 60px;
    height: 60px;
  }
}
/* Roadmap animations */
.roadmap-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.roadmap-animate {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-item:nth-child(1) {
  transition-delay: 0.1s;
}
.roadmap-item:nth-child(2) {
  transition-delay: 0.3s;
}
.roadmap-item:nth-child(3) {
  transition-delay: 0.5s;
}
.roadmap-item:nth-child(4) {
  transition-delay: 0.7s;
}
.roadmap-item:nth-child(5) {
  transition-delay: 0.9s;
}

/* Shovel decoration styles */
.shovel-decoration-container {
  position: relative;
  z-index: 1;
}

.shovel-image {
  position: absolute;
  bottom: -30px;
  left: 0;
  max-width: 400px;
  height: auto;
  opacity: 0.85;
  transform: rotate(-15deg);
  filter: drop-shadow(3px 5px 10px rgba(0, 0, 0, 0.15));
  z-index: 1;
  pointer-events: none; /* Prevents the image from interfering with clicks */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .shovel-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .shovel-image {
    display: none;
  }
}

@media (max-width: 576px) {
  .shovel-image {
    display: none; /* Hide on very small screens to avoid clutter */
  }
}

/* Ensure the roadmap has proper z-index to appear above the shovel */
.service-roadmap {
  position: relative;
  z-index: 2;
}

/* Top-right gnome for process tree */
.process-gnome-topright {
  position: absolute;
  top: -40px;
  right: -200px;
  width: 450px;
  height: auto;
  z-index: 2;
  opacity: 0.95;
  pointer-events: none;
}

@media (max-width: 991px) {
  .process-gnome-topright {
    display: none;
  }
}

@media (max-width: 576px) {
  .process-gnome-topright {
    display: none;
  }
}
