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

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #2563EB;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

a {
  color: #2563EB;
  text-decoration: none;
}

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

a:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Cookie Consent Banner - Positioned 50px from bottom */
#cookieConsentBanner {
  bottom: 50px !important;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

/* Explicit font-size and margin for h1 to prevent H1UserAgentFontSizeInSection deprecation */
/* Chrome requires explicit font-size (in absolute units) and margin when h1 is inside sectioning elements */
h1 {
  font-size: 32px !important; /* Explicit absolute font-size - prevents user agent default (was 2em, now px for Chrome compatibility) */
  margin-top: 0.67em !important; /* Explicit margin-top - prevents user agent default */
  margin-bottom: 0.67em !important; /* Explicit margin-bottom - prevents user agent default */
  margin-left: 0 !important; /* Explicit margin-left */
  margin-right: 0 !important; /* Explicit margin-right */
  margin-block-start: 0.67em !important; /* Explicit margin-block-start for Chrome deprecation fix */
  margin-block-end: 0.67em !important; /* Explicit margin-block-end for Chrome deprecation fix */
  font-weight: 700 !important;
}

/* Explicit font-size for h1 in sections to prevent H1UserAgentFontSizeInSection deprecation */
/* Chrome requires explicit absolute font-size and margin properties for h1 inside sectioning elements */
section h1 {
  font-size: 48px !important; /* Explicit absolute font-size - prevents user agent default - !important ensures it overrides */
  font-weight: 700 !important;
  line-height: 1.2;
  margin-top: 0.67em !important; /* Explicit margin-top - prevents user agent default */
  margin-bottom: 0.67em !important; /* Explicit margin-bottom - prevents user agent default */
  margin-left: 0 !important; /* Explicit margin-left */
  margin-right: 0 !important; /* Explicit margin-right */
  margin-block-start: 0.67em !important; /* Explicit margin-block-start for Chrome deprecation fix */
  margin-block-end: 0.67em !important; /* Explicit margin-block-end for Chrome deprecation fix */
}

.logo-text {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

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

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

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

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #2563EB;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #1D4ED8;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 997;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Glass Morphism Effect */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(40, 40, 40, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 18px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(40, 40, 40, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Header shrink on scroll */
#header.header-shrunk {
  padding: 12px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

#header.header-shrunk .logo-text {
  font-size: 24px;
  transition: font-size 0.3s ease;
}

#header.header-shrunk .navbar a {
  padding: 15px 3px;
  transition: padding 0.3s ease;
}

#header.header-shrunk .btn-header-cta {
  padding: 8px 20px;
  font-size: 13px;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  transition: all 0.3s ease;
}

#header .logo a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

#header .logo a:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Logo pulse animation on page load */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

#header .logo-text {
  animation: logoPulse 2s ease-in-out 0.5s;
}

#header .logo a:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 2px;
  border-radius: 4px;
}

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

@media (max-width: 992px) {
  #header {
    border: 0;
    padding: 15px 0;
  }
}

/* Get Started Button */
.get-started-btn {
  margin-left: 25px;
  background: #2563EB;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px 9px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.get-started-btn:hover {
  background: #1D4ED8;
  color: #fff;
}

@media (max-width: 992px) {
  .get-started-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/* Header CTA Button - New Enhanced Style */
.btn-header-cta {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-header-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
  color: #fff;
}

.btn-header-cta:hover::before {
  width: 300px;
  height: 300px;
}

.btn-header-cta:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .btn-header-cta {
    padding: 8px 18px;
    font-size: 13px;
    margin-left: 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.navbar li {
  position: relative;
}

.navbar > ul > li {
  position: relative;
  white-space: nowrap;
  margin: 0 12px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 3px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

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

.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #2563EB, #1D4ED8);
  visibility: hidden;
  width: 0px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

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

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #fff;
  transform: translateY(-2px);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Active Section Indicator - Scroll Spy */
.navbar a.scrollto.active-section {
  color: #fff;
}

.navbar a.scrollto.active-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #1D4ED8);
  border-radius: 2px;
  animation: underlineExpand 0.4s ease forwards;
}

/* Enhanced active state with glow effect */
.navbar > ul > li > a.active-section {
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-top: 3px solid #2563EB;
  border-radius: 0 0 8px 8px;
  transform: translateY(-10px);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
  color: #282828;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #2563EB;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown indicator animation */
.dropdown-indicator {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
}

.dropdown:hover .dropdown-indicator,
.dropdown.active .dropdown-indicator {
  transform: rotate(180deg);
}

/* Enhanced dropdown item hover */
.navbar .dropdown ul a {
  transition: all 0.3s ease;
  position: relative;
}

.navbar .dropdown ul a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #2563EB;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.navbar .dropdown ul a:hover::before {
  transform: scaleY(1);
}

.navbar .dropdown ul a:hover {
  padding-left: 28px;
  background-color: rgba(37, 99, 235, 0.05);
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  transition: 0.3s;
  z-index: 999;
  height: auto;
}

.navbar-mobile::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.9);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-mobile.active::before {
  opacity: 1;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  left: 15px;
  padding: 15px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
  height: auto;
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: auto;
  min-width: 280px;
  max-width: calc(100vw - 30px);
}


.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #282828;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover > a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #2563EB;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #2563EB;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 70vh;
  /* Mobile-First: Default to mobile image for fastest LCP on mobile devices */
  background: url("../img/sandybrowne_coding-mobile.webp") top center;
  background-size: cover;
  background-position: center top;
  position: relative;
  margin-top: 72px; /* Account for fixed header height - push hero section down */
  padding-top: 0;
  /* Disable fixed attachment on mobile for better performance */
  background-attachment: scroll;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  padding-top: 0; /* Removed since hero section now has margin-top */
  position: relative;
  text-align: center;
}

#hero h1 {
  font-size: 48px !important; /* Explicit absolute font-size to prevent H1UserAgentFontSizeInSection deprecation */
  margin-top: 0 !important; /* Explicit margin-top - prevents user agent default */
  margin-bottom: 10px !important; /* Explicit margin-bottom - prevents user agent default */
  margin-left: 0 !important; /* Explicit margin-left */
  margin-right: 0 !important; /* Explicit margin-right */
  margin-block-start: 0 !important; /* Explicit margin-block-start for Chrome deprecation fix */
  margin-block-end: 10px !important; /* Explicit margin-block-end for bottom spacing */
  font-weight: 700 !important;
  line-height: 56px;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin-bottom: 40px;
  font-size: 24px;
}

#hero .play-btn {
  width: 94px;
  height: 94px;
  margin: 0 auto;
  background: radial-gradient(#2563EB 50%, rgba(37, 99, 235, 0.4) 52%);
  border-radius: 50%;
  display: block;
  overflow: hidden;
  position: relative;
}

#hero .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#hero .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 3s;
  animation: pulsate-btn 3s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(37, 99, 235, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

#hero .play-btn:hover::after {
  border-left: 15px solid #2563EB;
  transform: scale(20);
}

#hero .play-btn:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

/* Tablet: Use medium-sized image for better performance */
@media (min-width: 769px) {
  #hero {
    /* Use tablet image for tablet and up */
    background-image: url("../img/sandybrowne_coding-tablet.webp"), url("../img/sandybrowne_coding-mobile.webp");
  }
}

/* Mobile: Optimize for mobile performance */
@media (max-width: 768px) {
  #hero {
    margin-top: 60px; /* Slightly less margin on mobile where header is smaller */
    /* Mobile image is already set as default, ensure it's used */
    background-image: url("../img/sandybrowne_coding-mobile.webp");
    /* Disable fixed attachment on mobile - causes performance issues */
    background-attachment: scroll;
  }

  #hero h1 {
    font-size: 28px !important; /* Explicit absolute font-size for mobile - prevents user agent default */
    line-height: 36px;
    margin-top: 0 !important; /* Explicit margin-top for mobile */
    margin-bottom: 10px !important; /* Explicit margin-bottom for mobile */
    margin-left: 0 !important; /* Explicit margin-left */
    margin-right: 0 !important; /* Explicit margin-right */
    margin-block-start: 0 !important; /* Explicit margin-block-start for mobile */
    margin-block-end: 10px !important; /* Explicit margin-block-end for mobile */
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 40px 0;
  overflow: hidden;
  font-size: 16px; /* Explicit font-size to prevent deprecation warning */
}

.section-bg {
  background-color: #F9FAFB;
}

.section-title {
  padding-bottom: 30px;
}

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

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #2563EB;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
  color: #6B7280;
  font-size: 15px;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #2563EB;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.3s;
  line-height: 1;
  color: #2563EB;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #2563EB;
}

.about .content .btn-learn-more:hover {
  background: #2563EB;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  padding: 20px 30px;
  transition: all ease-in-out 0.3s;
  background: #fefefe;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  border-radius: 18px;
  border-bottom: 5px solid #fff;
}

.services .icon-box .icon {
  width: 64px;
  height: 64px;
  background: #2563EB;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: ease-in-out 0.3s;
  color: #fff;
}

.services .icon-box .icon i {
  font-size: 28px;
}

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

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

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

.services .icon-box:hover {
  transform: translateY(-10px);
  border-color: #2563EB;
}

.services .icon-box:hover h3 a,
.services .icon-box:hover h4 a {
  color: #2563EB;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/web_design_desk.webp") fixed center center;
  background-size: cover;
  padding: 50px 0;
  margin-top: 40px;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  background: #1e40af; /* Darker blue for better contrast - WCAG AA compliant (6.8:1 with white text) */
  color: #fff;
  border-radius: 50px;
}

.cta .cta-btn:hover {
  background: #1e3a8a; /* Even darker blue hover - maintains high contrast */
  color: #fff;
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #2563EB;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

.features-bg {
  background-image: url("../img/features.webp");
}

.faq-bg {
  background-image: url("../img/faq.webp");
  border-radius: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Remove border radius on mobile/tablet when image spans full width */
@media (max-width: 991px) {
  .faq-bg {
    border-radius: 0 !important;
  }
  
  .faq .img.faq-bg,
  .faq .faq-bg,
  .col-lg-5.img.faq-bg {
    border-radius: 0 !important;
  }
}

/* Ensure FAQ image column doesn't overflow and stays on right on desktop */
.faq .col-lg-5.img {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ensure proper order on desktop - image on right */
@media (min-width: 992px) {
  .faq .row {
    display: flex;
  }
  
  .faq .col-lg-7.order-lg-1 {
    order: 1;
  }
  
  .faq .col-lg-5.order-lg-2 {
    order: 2;
  }
}

/* FAQ Image Container */
.faq-image-container {
  position: relative;
  height: 100%;
  min-height: 400px;
  margin-bottom: 30px;
}

.faq-image {
  background: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  border-radius: 12px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.faq-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/faq.webp") center center/cover;
  opacity: 0.1;
  z-index: 1;
}

.faq-content-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.faq-content-overlay h3,
.faq-content-overlay h4 {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.faq-content-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
}

.faq-contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: white;
}

.contact-item i {
  margin-right: 10px;
  font-size: 18px;
}

.contact-item span {
  font-weight: 500;
}

.faq-content-overlay .faq-cta-btn {
  background: #2563EB; /* Primary blue - matches website color scheme */
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.faq-content-overlay .faq-cta-btn:hover {
  background: #1D4ED8; /* Darker blue hover - matches website color scheme */
  color: white;
  transform: translateY(-2px);
}

/* Responsive FAQ Layout */
@media (max-width: 991px) {
  .faq-image-container {
    margin-top: 40px;
    min-height: 300px;
  }
  
  .faq-image {
    padding: 30px 20px;
  }
  
  .faq-content-overlay h3,
  .faq-content-overlay h4 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .faq {
    padding-bottom: 40px;
  }
  
  .faq-image-container {
    margin-top: 30px;
    margin-bottom: 40px;
    min-height: 250px;
  }
  
  .faq-image {
    padding: 25px 15px;
  }
  
  .faq-content-overlay h3,
  .faq-content-overlay h4 {
    font-size: 18px;
  }
  
  .faq-content-overlay p {
    font-size: 14px;
  }
  
  .cta {
    margin-top: 30px;
  }
}

/* Hero Section Enhancements */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
}

.badge-item i {
  color: #F59E0B;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: #2563EB;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-top: 15px;
  font-weight: 400;
}

/* Services Page Styles */
.service-price {
  background: #2563EB;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 15px;
}

.service-price-small {
  background: #059669;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-top: 15px;
}

.core-service {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.core-service:hover {
  border-color: #2563EB;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  transform: translateY(-5px);
}

.service-logo-container {
  text-align: center;
  margin-bottom: 15px;
}

.service-logo {
  width: 80px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.core-service:hover .service-logo {
  opacity: 1;
}

.core-service .icon {
  margin-bottom: 20px;
}

.icon-logo {
  width: 100%;
  height: 100%;
  max-width: 45px;
  max-height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.core-service h4 {
  margin-bottom: 15px;
  color: #2563EB;
}

.core-service p {
  color: #6c757d;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.service-features-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: #374151;
  font-size: 14px;
}

.service-features-list li i {
  color: #059669;
  margin-right: 10px;
  font-size: 16px;
}

.btn-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563EB;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.btn-service-link:hover {
  color: #1D4ED8;
  gap: 12px;
}

.btn-service-link i {
  transition: transform 0.3s ease;
}

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

.service-detail {
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.service-detail-icon {
  flex-shrink: 0;
}

.service-detail-icon .icon {
  width: 64px;
  height: 64px;
  background: #2563EB;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.service-detail-icon .icon i {
  font-size: 28px;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: #2563EB;
  margin-right: 10px;
  font-size: 18px;
}

.process-steps {
  margin: 30px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.step-number {
  background: #2563EB;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h5 {
  color: #2563EB;
  margin-bottom: 10px;
  font-weight: 600;
}

.step-content p {
  margin: 0;
  color: #6c757d;
}

.pricing-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  text-align: center;
  position: sticky;
  top: 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured-package {
  border: 3px solid #2563EB;
  background: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
}

.package-badge {
  background: #D97706;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 15px;
}

.package-header {
  margin-bottom: 25px;
}

.package-header h3 {
  color: #2563EB;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 24px;
}

.package-subtitle {
  color: #6c757d;
  font-size: 14px;
  margin: 10px 0 0 0;
  font-style: italic;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.package-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

.package-features li i {
  color: #059669;
  margin-right: 10px;
  margin-top: 3px;
  font-size: 18px;
  flex-shrink: 0;
}

.package-note {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #2563EB;
  margin-top: 30px;
}

.package-note p {
  margin-bottom: 10px;
  color: #374151;
}

.package-note a {
  color: #2563EB;
  font-weight: 600;
}

.pricing-card h4 {
  color: #2563EB;
  margin-bottom: 20px;
  font-weight: 700;
}

.price-range {
  font-size: 36px;
  font-weight: 700;
  color: #2563EB;
  margin-bottom: 10px;
}

.currency {
  font-size: 24px;
  vertical-align: top;
}

.amount {
  font-size: 48px;
}

.period {
  font-size: 18px;
  color: #6c757d;
  font-weight: 400;
}

.price-note {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 20px;
}

.price-note-small {
  color: #6c757d;
  font-size: 12px;
  margin-top: 5px;
  font-style: italic;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  padding-left: 25px;
}

.pricing-features li:before {
  content: "✓";
  color: #2563EB;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.result-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.result-number {
  font-size: 36px;
  font-weight: 700;
  color: #2563EB;
  margin-bottom: 10px;
}

.result-label {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.platform-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.platform-option {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.platform-option h5 {
  color: #2563EB;
  margin-bottom: 10px;
  font-weight: 600;
}

.platform-option p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

.platform-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  max-height: 60px;
}

@media (max-width: 768px) {
  .platform-logo {
    width: 60px;
    max-height: 45px;
  }
}

.maintenance-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.benefit {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.benefit i {
  font-size: 48px;
  color: #2563EB;
  margin-bottom: 15px;
  display: block;
}

.benefit h5 {
  color: #2563EB;
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

.process-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.process-box:hover {
  transform: translateY(-5px);
}

.process-number {
  background: #2563EB;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-box h4 {
  color: #2563EB;
  margin-bottom: 15px;
  font-weight: 600;
}

.process-box p {
  color: #6c757d;
  margin-bottom: 15px;
}

.process-duration {
  background: #f8f9fa;
  color: #2563EB;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Responsive Services Layout */
@media (max-width: 991px) {
  .pricing-card {
    position: static;
    margin-top: 30px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-options {
    grid-template-columns: 1fr;
  }
  
  .maintenance-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-trust-badges {
    gap: 10px;
  }
  
  .badge-item {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  /* Hero CTA - Force center alignment on mobile */
  #hero .hero-cta {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important;
  }
  
  #hero .hero-cta .btn-get-started,
  #hero .hero-cta .btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    flex-shrink: 1 !important;
  }
  
  #hero .btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure hero container doesn't overflow */
  #hero .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  #hero .col-xl-10,
  #hero .col-xl-8,
  #hero .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  /* Ensure row is centered */
  #hero .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  #hero .row.justify-content-center {
    justify-content: center !important;
  }
  
  /* Override any Bootstrap column padding on mobile */
  #hero [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Fix buttons in hero sections with d-flex containers */
  #hero .d-flex.justify-content-center,
  #hero .d-flex.justify-content-lg-start {
    width: 100%;
    max-width: 100%;
    justify-content: center !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  #hero .d-flex .btn-get-started {
    width: 100%;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .core-service {
    padding: 20px;
  }
  
  .service-logo {
    width: 60px;
    max-height: 45px;
  }
  
  .service-price {
    font-size: 16px;
    padding: 8px 16px;
  }
  
  .pricing-card.featured-package {
    transform: none;
  }
  
  .package-header h3 {
    font-size: 20px;
  }
  
  .service-detail {
    padding: 20px 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 15px;
  }
  
  .pricing-card {
    padding: 20px;
    position: static;
  }
  
  .price-range {
    font-size: 28px;
  }
  
  .amount {
    font-size: 36px;
  }
}

/* Services CTA Section */
.services-cta {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  margin-top: 40px;
}

.services-cta h3 {
  color: #1e40af; /* Darker blue for better contrast on light background - WCAG AA compliant */
  margin-bottom: 15px;
  font-weight: 700;
}

.services-cta p {
  color: #000000; /* Pure black for maximum contrast - WCAG AA compliant */
  margin-bottom: 25px;
  font-size: 16px;
}

.services-cta .btn-get-started {
  background: #2563EB;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.services-cta .btn-get-started:hover {
  background: #1D4ED8;
  color: white;
  transform: translateY(-2px);
}

/* Portfolio Page Styles */
.portfolio-hero-image {
  background: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  border-radius: 12px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='fishing' patternUnits='userSpaceOnUse' width='20' height='20'%3E%3Cpath d='M10 2L8 8L12 8L10 2Z' fill='rgba(255,255,255,0.1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23fishing)'/%3E%3C/svg%3E") repeat;
  opacity: 0.3;
  z-index: 1;
}

.portfolio-hero-image::after {
  content: '🎣';
  font-size: 48px;
  position: relative;
  z-index: 2;
  color: white;
}

/* Elite Wheel Works Hero Image */
.elite-wheel-preview::after {
  content: '⚙️';
  font-size: 48px;
  position: relative;
  z-index: 2;
  color: #F59E0B;
}

/* Portfolio Hero Section - Ensure proper spacing below fixed header */
#hero.d-flex.align-items-center {
  margin-top: 72px; /* Account for fixed header height */
  padding-top: 40px; /* Additional padding for visual spacing */
  padding-bottom: 40px;
  min-height: auto; /* Override default hero height */
}

/* Elite Wheel Works Real Image */
.portfolio-hero-image-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.elite-wheel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.elite-wheel-image:hover {
  transform: scale(1.05);
}

/* Responsive Portfolio Hero Section */
@media (max-width: 991px) {
  #hero.d-flex.align-items-center {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .portfolio-hero-image-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  #hero.d-flex.align-items-center {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .portfolio-hero-image-container {
    height: 300px;
  }
}

@media (max-width: 576px) {
  #hero.d-flex.align-items-center {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .portfolio-hero-image-container {
    height: 250px;
  }
}

.project-overview {
  padding: 80px 0;
}

.project-details h3 {
  color: #2563EB;
  margin-bottom: 20px;
  font-weight: 700;
}

.project-details h4 {
  color: #2563EB;
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.project-requirements {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-requirements li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.project-requirements li i {
  color: #2563EB;
  margin-right: 10px;
  font-size: 18px;
}

.technical-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 48px;
  color: #2563EB;
  margin-bottom: 15px;
  display: block;
}

.feature-item h5 {
  color: #2563EB;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-item p {
  color: #6c757d;
  font-size: 14px;
  margin: 0;
}

.project-info-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  position: sticky;
  top: 100px;
}

.project-info-card h4 {
  color: #2563EB;
  margin-bottom: 20px;
  font-weight: 700;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #2563EB;
  font-weight: 600;
}

.info-item span {
  color: #6c757d;
  text-align: right;
}

.website-showcase {
  padding: 80px 0;
}

.showcase-item {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.showcase-item:hover {
  transform: translateY(-5px);
}

.showcase-item h3 {
  color: #2563EB;
  margin-bottom: 15px;
  font-weight: 700;
}

.showcase-item p {
  color: #6c757d;
  margin-bottom: 20px;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-features li {
  padding: 5px 0;
  color: #6c757d;
  position: relative;
  padding-left: 20px;
}

.showcase-features li:before {
  content: "✓";
  color: #2563EB;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.results {
  padding: 80px 0;
}

.result-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.result-box:hover {
  transform: translateY(-5px);
}

.result-icon {
  background: #2563EB;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.result-box h4 {
  color: #2563EB;
  margin-bottom: 15px;
  font-weight: 600;
}

.result-box p {
  color: #6c757d;
  margin: 0;
}

.technology {
  padding: 80px 0;
}

.tech-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.tech-box:hover {
  transform: translateY(-5px);
}

.tech-icon {
  background: #2563EB;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.tech-box h4 {
  color: #2563EB;
  margin-bottom: 15px;
  font-weight: 600;
}

.tech-box p {
  color: #6c757d;
  margin: 0;
}

/* Responsive Portfolio Layout */
@media (max-width: 991px) {
  .project-info-card {
    position: static;
    margin-top: 30px;
  }
  
  .technical-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-image {
    height: 300px;
  }
  
  .project-details {
    padding: 20px 0;
  }
  
  .showcase-item {
    padding: 20px;
  }
  
  .result-box {
    padding: 20px;
  }
  
  .tech-box {
    padding: 20px;
  }
}

/* Portfolio Image Placeholder Styles */
.portfolio-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='fishing-pattern' patternUnits='userSpaceOnUse' width='20' height='20'%3E%3Cpath d='M10 2L8 8L12 8L10 2Z' fill='rgba(255,255,255,0.1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23fishing-pattern)'/%3E%3C/svg%3E") repeat;
  opacity: 0.3;
  z-index: 1;
}

.placeholder-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.placeholder-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.placeholder-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.preview-features span {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(10px);
}

/* Portfolio hover effects - matching Lockfast styling */
.portfolio-item:hover .portfolio-image-placeholder {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.portfolio-item:hover .portfolio-info {
  background: #2563EB;
  color: white;
}

.portfolio-item:hover .portfolio-info h3,
.portfolio-item:hover .portfolio-info h4,
.portfolio-item:hover .portfolio-info p {
  color: white;
}

.portfolio-item:hover .portfolio-info .preview-link,
.portfolio-item:hover .portfolio-info .details-link {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.portfolio-item:hover .portfolio-info .preview-link:hover,
.portfolio-item:hover .portfolio-info .details-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Responsive portfolio placeholder */
@media (max-width: 768px) {
  .portfolio-image-placeholder {
    height: 250px;
  }
  
  .placeholder-content h3 {
    font-size: 20px;
  }
  
  .placeholder-content p {
    font-size: 14px;
  }
  
  .preview-features span {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  /* Portfolio items spacing on mobile */
  .portfolio-container {
    margin: -5px; /* Negative margin to offset item padding */
  }
  
  .portfolio .portfolio-item {
    padding: 10px;
    margin: 5px; /* Combined with padding for proper spacing */
    margin-bottom: 15px;
  }
}

/* Elite Wheel Works Portfolio Preview */
.elite-wheel-preview {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.elite-wheel-preview::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='wheel-pattern' patternUnits='userSpaceOnUse' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='3' fill='rgba(255,255,255,0.1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23wheel-pattern)'/%3E%3C/svg%3E") repeat;
}

.elite-wheel-preview .placeholder-content h3 {
  color: #F59E0B;
}

.elite-wheel-preview .preview-features span {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Morris & Oliver Portfolio Image */
.morris-oliver-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.morris-oliver-image:hover {
  transform: scale(1.05);
}

/* Morris & Oliver Portfolio Preview (for any future use) */
.morris-oliver-preview {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.morris-oliver-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.05) 20px
    );
  opacity: 0.3;
}

.morris-oliver-preview .placeholder-content h3 {
  color: #3498db;
}

.morris-oliver-preview .preview-features span {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding-top: 30px;
}

.clients .clients-wrap {
  border-top: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
}

.clients .client-logo {
  padding: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  overflow: hidden;
  background: #fff;
  height: 140px;
}

.clients .client-logo:hover img {
  transform: scale(1.1);
}

.clients img {
  transition: all 0.4s ease-in-out;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: url("../img/counts-bg.webp") center center no-repeat;
  background-size: cover;
  padding: 80px 0 60px 0;
  position: relative;
}

.counts::before {
  content: "";
  position: absolute;
  background: rgba(17, 17, 17, 0.9);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.counts .title {
  position: relative;
  color: #fff;
  margin-bottom: 40px;
}

.counts .title h3 {
  font-size: 36px;
  font-weight: 700;
}

.counts .counters span {
  font-size: 48px;
  display: block;
  font-weight: 700;
  color: #2563EB;
}

.counts .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #fff;
}

@media (min-width: 1200px) {
  .counts {
    background-attachment: fixed;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  margin: 0 3px 10px 3px;
  transition: all ease-in-out 0.3s;
  background: #f4f4f4;
  border-radius: 50px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #2563EB;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
  padding: 15px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Add gap between portfolio items - using margin for Bootstrap compatibility */
.portfolio-container {
  margin: -10px; /* Negative margin to offset item padding */
}

.portfolio-container .portfolio-item {
  margin-bottom: 0;
  margin: 10px; /* Combined with padding for proper spacing */
}

/* Ensure portfolio items have proper spacing on all sides */
.portfolio .portfolio-item img,
.portfolio .portfolio-item .portfolio-image-placeholder {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-item img {
  position: relative;
  top: 0;
  transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -50px;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: #2563EB;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.portfolio .portfolio-item .portfolio-info h3,
.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #ffffff;
  transition: ease-in-out 0.3s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #33ffb4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 15px;
}

.portfolio .portfolio-item:hover img {
  top: -30px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.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: #fff;
  opacity: 1;
  border: 1px solid #009961;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: #009961;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(40, 40, 40, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing {
  background-color: #f9f9f9;
}

.pricing .box {
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #fefefe;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
}

.pricing .box h3 {
  font-weight: 400;
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #282828;
}

.pricing .box h4 {
  font-size: 42px;
  color: #2563EB;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 20px 0;
  list-style: none;
  color: #282828;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul i {
  color: #2563EB;
  font-size: 18px;
  padding-right: 4px;
}

.pricing .box ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .box .btn-buy {
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 50px;
  border: 2px solid #2563EB;
  color: #2563EB;
  font-size: 14px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .box .btn-buy:hover {
  background: #2563EB;
  color: #fff;
}

.pricing .recommended {
  border-color: #2563EB;
}

.pricing .recommended .btn-buy {
  background: #2563EB;
  color: #fff;
}

.pricing .recommended .btn-buy:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
}

.pricing .recommended-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  padding: 3px 25px 6px 25px;
  background: #EBF8FF;
  color: #2563EB;
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Faq
--------------------------------------------------------------*/
.faq {
  padding: 0 0 60px 0;
}

.faq .content {
  padding: 60px 100px 0 100px;
}

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.faq .content p {
  font-size: 15px;
  color: #848484;
}

.faq .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure faq-bg class has square corners on all viewport sizes */
.faq .img.faq-bg {
  border-radius: 0;
}

.faq .accordion-list {
  padding: 0 100px 60px 100px;
}

.faq .accordion-list ul {
  padding: 0;
  list-style: none;
}

.faq .accordion-list li + li {
  margin-top: 15px;
}

.faq .accordion-list li {
  padding: 20px;
  background: #fefefe;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  border-radius: 4px;
}

.faq .accordion-list a,
.faq .accordion-list button {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  padding-top: 12px;
  padding-bottom: 12px;
}

.faq .accordion-list button {
  padding-left: 0;
}

.faq .accordion-list button:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 2px;
  border-radius: 4px;
}

.faq .accordion-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .accordion-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .accordion-list .icon-show {
  display: none;
}

.faq .accordion-list a.collapsed,
.faq .accordion-list button.collapsed {
  color: #343a40;
}

.faq .accordion-list a.collapsed:hover,
.faq .accordion-list button.collapsed:hover {
  color: #2563EB;
}

.faq .accordion-list a.collapsed .icon-show,
.faq .accordion-list button.collapsed .icon-show {
  display: inline-block;
}

.faq .accordion-list a.collapsed .icon-close,
.faq .accordion-list button.collapsed .icon-close {
  display: none;
}

@media (max-width: 1024px) {
  .faq .content,
  .faq .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .faq {
    padding-bottom: 40px;
  }
  
  .faq .img {
    margin-top: 30px;
    min-height: 300px;
    border-radius: 0;
  }
  
  /* Remove border-radius from faq-bg images on mobile/tablet */
  .faq .img.faq-bg {
    border-radius: 0 !important;
  }

  .faq .content {
    padding-top: 30px;
  }

  .faq .accordion-list {
    padding-bottom: 40px;
  }
  
  .faq-image-container {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .faq .img {
    min-height: 250px;
    border-radius: 0;
    background-size: cover;
    background-position: center center;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Remove border-radius from faq-bg images on mobile */
  .faq .img.faq-bg {
    border-radius: 0 !important;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 32px;
  color: #2563EB;
  float: left;
  line-height: 1;
}

.contact .info h3,
.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #282828;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #5b5b5b;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

/* Enhanced focus states for accessibility */
button:focus-visible,
.btn-get-started:focus-visible,
.cta-btn:focus-visible,
.btn-service-link:focus-visible,
.btn-secondary:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 3px;
  border-radius: 4px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
  border-color: #2563EB;
}

.portfolio-lightbox:focus-visible,
.details-link:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 2px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #2563EB;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #1e40af; /* Darker blue for better contrast - WCAG AA compliant (6.8:1 with white text) */
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #1e3a8a; /* Even darker blue hover - maintains high contrast */
}

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

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

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

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

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f9f9f9;
  min-height: 40px;
  margin-top: 72px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 63px;
  }
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #424242;
  content: "/";
}

.google-maps {
}

.google-maps-iframe {
  border: 0;
  width: 100%;
  height: 350px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #0f0f0f;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2563EB;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #1D4ED8;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

#footer .credits a {
  color: #1D4ED8;
  transition: 0.3s;
}

#footer .credits a:hover {
  color: #2563EB;
}

/*--------------------------------------------------------------
# Professional CSS Animations - Demonstrating Expertise
--------------------------------------------------------------*/

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Hero Section Animations */
#hero h1 {
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

#hero h2 {
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.hero-trust-badges {
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

/* Badge item pulse animation */
.badge-item {
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out backwards;
}

.badge-item:nth-child(1) {
  animation-delay: 0.7s;
}

.badge-item:nth-child(2) {
  animation-delay: 0.8s;
}

.badge-item:nth-child(3) {
  animation-delay: 0.9s;
}

.badge-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.badge-item i {
  transition: transform 0.3s ease;
}

.badge-item:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Service Card Animations */
.icon-box {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.icon-box:hover::before {
  left: 100%;
}

.icon-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.icon-box .icon {
  transition: all 0.4s ease;
}

.icon-box:hover .icon {
  transform: scale(1.1) rotate(5deg);
  background: #1D4ED8;
}

.icon-box:hover .icon i {
  transform: scale(1.1);
}

/* Icon rotation animation on service cards */
.icon-box .icon i {
  transition: transform 0.4s ease;
}

.icon-box:hover h4 a {
  color: #2563EB;
  transition: color 0.3s ease;
}

/* Service features list animation */
.service-features-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.icon-box:hover .service-features-list li {
  opacity: 1;
  transform: translateX(0);
}

.service-features-list li:nth-child(1) {
  transition-delay: 0.1s;
}

.service-features-list li:nth-child(2) {
  transition-delay: 0.2s;
}

.service-features-list li:nth-child(3) {
  transition-delay: 0.3s;
}

.service-features-list li:nth-child(4) {
  transition-delay: 0.4s;
}

/* Button Animations */
.btn-get-started,
.btn-secondary,
.btn-service-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #2563EB; /* Primary blue - matches website color scheme */
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #1e40af; /* Darker blue for better contrast - WCAG AA compliant (6.8:1 with white text) */
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background: #1e3a8a; /* Even darker blue hover - maintains high contrast */
  color: #fff;
}

.btn-get-started::before,
.btn-secondary::before,
.btn-service-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-get-started:hover::before,
.btn-secondary:hover::before,
.btn-service-link:hover::before {
  width: 300px;
  height: 300px;
}

.btn-get-started:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-service-link {
  transition: all 0.3s ease;
}

.btn-service-link:hover {
  transform: translateX(5px);
  color: #1D4ED8;
}

.btn-service-link i {
  transition: transform 0.3s ease;
  display: inline-block;
}

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

/* Portfolio Item Animations */
.portfolio-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.portfolio-item img {
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-info {
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

/* Portfolio lightbox and link animations */
.portfolio-lightbox,
.details-link {
  transition: all 0.3s ease;
}

.portfolio-lightbox:hover,
.details-link:hover {
  transform: scale(1.2) rotate(5deg);
  background: rgba(255, 255, 255, 0.9);
}

/* Scroll-triggered fade-in animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for service cards */
.services .icon-box:nth-child(1) {
  animation-delay: 0.1s;
}

.services .icon-box:nth-child(2) {
  animation-delay: 0.2s;
}

.services .icon-box:nth-child(3) {
  animation-delay: 0.3s;
}

.services .icon-box:nth-child(4) {
  animation-delay: 0.4s;
}

/* Section title animations */
.section-title {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.section-title h2 {
  position: relative;
  overflow: hidden;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #1D4ED8);
  animation: underlineExpand 1s ease-out 1s forwards;
}

/* Icon pulse animation for checkmarks */
.service-features-list li i,
.badge-item i {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Loading spinner for buttons */
.btn-get-started.loading,
.btn-secondary.loading {
  pointer-events: none;
  position: relative;
  color: transparent;
}

.btn-get-started.loading::after,
.btn-secondary.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth number counter animation */
.counter-number {
  transition: transform 0.3s ease;
}

.counter-number:hover {
  transform: scale(1.1);
}

/* Accordion smooth transitions */
.faq .accordion-list button {
  transition: all 0.3s ease;
}

.faq .accordion-list .collapse {
  transition: height 0.35s ease;
}

.faq .accordion-list button i {
  transition: transform 0.3s ease;
}

.faq .accordion-list button:not(.collapsed) i.icon-close {
  transform: rotate(180deg);
}

/* Technology logo animations */
.technology-logo img {
  transition: all 0.4s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.technology-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Form input focus animations */
.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

/* Back to top button animation */
.back-to-top {
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: #1D4ED8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Performance optimization - GPU acceleration */
.icon-box,
.portfolio-item,
.btn-get-started,
.btn-secondary {
  will-change: transform;
}

.icon-box:hover,
.portfolio-item:hover {
  will-change: auto;
}

/* Testimonial Image Placeholder */
.testimonial-img-placeholder {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover .testimonial-img-placeholder {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.testimonial-initials {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-img-placeholder i {
  font-size: 50px;
  color: #ffffff;
}

/* Fallback for testimonial images if img tags are used */
.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
