/**
* Template Name: Green - v4.6.0
* Template URL: https://bootstrapmade.com/green-free-one-page-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: var(--brand-primary);
}

a:hover {
  color: var(--brand-hover);
  text-decoration: none;
}

a,
a:hover,
a:focus {
  text-decoration: none !important;
}

/* Remove legacy WhatsApp widgets or embeds */
[href*="whatsapp"],
[href*="wa.me"],
[class*="whatsapp"],
[id*="whatsapp"] {
  display: none !important;
}

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--brand-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: var(--on-brand-text);
  line-height: 0;
}
.back-to-top:hover {
  background: var(--brand-hover);
  color: var(--on-brand-text);
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #f8f9fa;
  height: 40px;
  padding: 0;
  border-bottom: 1px solid #e9ecef;
}
#topbar .contact-info a {
  line-height: 0;
  color: #444;
  transition: 0.3s;
  font-size: smaller;
}
#topbar .contact-info a:hover {
  color: #5cb874;
}
#topbar .contact-info i {
  color: #5cb874;
  line-height: 0;
  margin-right: 5px;
}
#topbar .contact-info .phone-icon {
  margin-left: 15px;
}
.phone-num {
  font-size: smaller;
}
.email-font {
  font-size: smaller;
}
#topbar .social-links a {
  color: #6f6f6f;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}
#topbar .social-links a:hover {
  color: #5cb874;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #ffffff;
  transition: all 0.5s;
  z-index: 997;
  height: 80px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0,0,0,0.1);
}
#header .logo {
  font-family: 'Cinzel', serif;
  border: none;
  text-decoration: none;
  margin-top: -4px;
}
#header .logo,
#header .logo:visited,
#header .logo:hover,
#header .logo:focus {
  color: #2d673c;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}
#header .logo img {
  max-height: 58px;
  max-width: 180px;
  width: auto;
  margin-bottom: 0px;
  margin-top: 5px;
  display: block;
}
#header .logo-font {
  font-size: larger;
  letter-spacing: 0.05em;
  margin-left: 0px;
  margin-top: -22px;
  padding-top: 0px;
  color: #2d673c;
  text-decoration: none !important;
  border: none !important;
  display: block;
  white-space: nowrap;
  max-width: 200px;
  text-align: center;
  line-height: 1.0;
}

.section-separator {
  border: none;
  height: 4px;
  width: 140px;
  margin: 80px auto 40px;
  background: linear-gradient(90deg, rgba(92, 184, 116, 0), #5cb874, rgba(92, 184, 116, 0));
  border-radius: 999px;
  display: block;
}

@media (max-width: 768px) {
  .section-separator {
    width: 100px;
    margin: 60px auto 30px;
  }
}
.scrolled-offset {
  margin-top: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar .mobile-services-cta {
  display: none;
}
.navbar .desktop-services-link {
  display: block;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
  transition: 0.3s;
}
.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  margin-right: 5px;

}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #5cb874;
}
.navbar .getstarted, .navbar .getstarted:focus {
  color: #5cb874;
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 4px;
  border: 2px solid #5cb874;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
}
.navbar .getstarted:hover, .navbar .getstarted:focus:hover {
  background: #5cb874;
  color: #ffffff;
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  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: 0.3s;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.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: #5cb874;
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.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: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
  color: #fff;
}

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

  .navbar ul {
    display: none;
  }

  .navbar .desktop-services-link {
    display: none;
  }

  .navbar .mobile-services-cta {
    display: block;
  }

  #navbar.navbar-mobile ul {
    display: block !important;
  }
}
#navbar.navbar-mobile {
  position: fixed !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(92, 184, 116, 0.15), rgba(28, 70, 89, 0.12));
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex !important;
  flex-direction: column;
  padding: 88px 0 32px;
  margin: 0 !important;
  z-index: 999 !important;
  overflow-y: auto;
}
#navbar.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: none;
  transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
}
#navbar.navbar-mobile .mobile-nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--brand-dark);
  transform: none;
}
#navbar.navbar-mobile ul {
  position: static;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  padding: 0 24px;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
#navbar.navbar-mobile li {
  margin: 0;
  width: 100%;
}
#navbar.navbar-mobile a,
#navbar.navbar-mobile a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  border-radius: 0;
  border-bottom: 1px solid rgba(28, 70, 89, 0.1);
  background: transparent;
  transition: color 0.2s ease-in-out;
}
#navbar.navbar-mobile a:hover,
#navbar.navbar-mobile .active,
#navbar.navbar-mobile li:hover > a {
  color: var(--brand-primary);
  background: transparent;
  transform: none;
  box-shadow: none;
}
#navbar.navbar-mobile .getstarted,
#navbar.navbar-mobile .getstarted:focus {
  margin: 20px 0 0;
  padding: 14px 24px;
  background: var(--brand-primary);
  color: var(--on-brand-text) !important;
  border-radius: 8px;
  border: none;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
}
#navbar.navbar-mobile .getstarted:hover {
  background: var(--brand-hover);
  box-shadow: none;
}
#navbar.navbar-mobile a.book-appointment,
#navbar.navbar-mobile a.book-appointment:focus {
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--brand-primary);
  color: var(--on-brand-text) !important;
  border-radius: 8px;
  border: none;
  justify-content: center;
}
#navbar.navbar-mobile a.book-appointment:hover {
  background: var(--brand-hover);
}
#navbar.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  padding: 8px 0 8px 18px;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
#navbar.navbar-mobile .dropdown ul li {
  width: 100%;
}
#navbar.navbar-mobile .dropdown ul a {
  padding: 10px 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
}
#navbar.navbar-mobile .dropdown ul a:hover,
#navbar.navbar-mobile .dropdown ul .active:hover,
#navbar.navbar-mobile .dropdown ul li:hover > a {
  color: var(--brand-primary);
  background: none;
  transform: none;
  box-shadow: none;
}
#navbar.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}
#navbar.navbar-mobile .mobile-services-cta .services-cta-link {
  margin-top: 20px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: rgba(92, 184, 116, 0.12);
  color: var(--brand-dark);
  justify-content: center;
  font-weight: 600;
  border-bottom: none;
}
#navbar.navbar-mobile .mobile-services-cta .services-cta-link:hover {
  background: rgba(92, 184, 116, 0.2);
  color: var(--brand-primary);
}

@media (max-width: 991px) {
  #header {
    height: 64px;
  }

  #header .logo {
    width: 155px;
    align-items: center;
    margin-left: 5px;
    margin-top: 0;
  }

  #header .logo img {
    max-height: 48px;
    margin-top: 6px;
    margin-bottom: 0;
  }

  #header .logo-font {
    margin-left: 0;
    margin-top: -18px;
  }

  .navbar {
    position: relative;
  }

  .navbar .getstarted {
    margin-left: 0;
  }

  .navbar ul {
    gap: 0;
  }

}

/* Tablet portrait and smaller */
@media (max-width: 768px) {
  #header .logo {
    width: 160px;
    margin-left: -20px;
  }

  #header .logo img {
    max-height: 47px;
    margin-top: 0px;
  }

  #header .logo-font {
    margin-top: -16px;
    font-size: 1rem;
  }
}

/* Small phones */
@media (max-width: 576px) {
  #header .logo {
    width: 150px;
    margin-left: -20px;
  }

  #header .logo img {
    max-height: 43px;
    margin-top: 0px;
  }

  #header .logo-font {
    margin-top: -15px;
    font-size: 0.95rem;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  #header .logo {
    width: 140px;
    margin-left: -20px;
  }

  #header .logo img {
    max-height: 39px;
    margin-top: 0px;
  }

  #header .logo-font {
    margin-top: -14px;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Remove hard spacing — breadcrumbs are now inside main; mobile offset applies only when breadcrumbs are absent */

#hero {
  width: 100%;
  height: 70vh;
  background-color: rgba(9, 9, 9, 0.8);
  overflow: hidden;
  position: relative;
}
#hero .swiper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .swiper-wrapper {
  width: 100%;
  height: 100%;
}

#hero .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

#hero .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(92, 184, 116, 0.85) 0%, rgba(45, 103, 60, 0.9) 100%);
  z-index: 1;
}
/* Hero slide images with picture element */
#hero .hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 50px;
  right: 50px;
  z-index: 2;
}
#hero .container {
  text-align: center;
}
 #hero h1, #hero h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
#hero p {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
/* Hero Swiper Carousel Styling */
#hero .swiper-slide {
  background-position: center top;
}

/* Swiper Navigation Arrows */
#hero .swiper-button-prev,
#hero .swiper-button-next {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 10;
}

#hero .swiper-button-prev::after,
#hero .swiper-button-next::after {
  font-family: 'bootstrap-icons' !important;
  font-size: 24px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.9);
}

#hero .swiper-button-prev::after {
  content: '\f284' !important; /* bi-chevron-left */
}

#hero .swiper-button-next::after {
  content: '\f285' !important; /* bi-chevron-right */
}

#hero .swiper-button-prev {
  left: 30px;
}

#hero .swiper-button-next {
  right: 30px;
}

#hero .swiper-button-prev:hover,
#hero .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

#hero .swiper-button-prev:hover::after,
#hero .swiper-button-next:hover::after {
  color: #ffffff;
}

@media (max-width: 768px) {
  #hero .swiper-button-prev {
    left: 10px;
  }
  #hero .swiper-button-next {
    right: 10px;
  }
  #hero .swiper-button-prev,
  #hero .swiper-button-next {
    width: 44px;
    height: 44px;
  }
  #hero .swiper-button-prev::after,
  #hero .swiper-button-next::after {
    font-size: 20px;
  }
}

/* Swiper Pagination */
#hero .swiper-pagination {
  bottom: 30px;
  z-index: 10;
}

#hero .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffffff;
  transform: scale(1.2);
}
 #hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.3s;
  line-height: 1;
  color: #5cb874;
  background: #ffffff;
  border: 2px solid #ffffff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
#hero .btn-get-started:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 992px) {
  #hero {
    height: 100vh;
  }
  /* Only apply mobile top offset when there are no breadcrumbs (body lacks .has-breadcrumbs) */
  body:not(.has-breadcrumbs) #hero .carousel-container {
    top: 66px;
  }
}

/* When breadcrumbs are present on the page, position the carousel content
   to behave like a typical service-hero: content flows below breadcrumbs
   instead of vertically centered. These rules tune spacing to better
   match pages like `missouri-web-hosting.php`. */
body.has-breadcrumbs #hero {
  /* let the content determine height but keep a reasonable min height */
  height: auto;
  min-height: 420px; /* approx desktop hero height to keep visual weight */
}

body.has-breadcrumbs #hero .carousel-container {
  /* push the carousel content down so it sits below breadcrumbs and
     behaves more like the service-hero section */
  top: 60px;
  bottom: auto;
  height: auto;
  align-items: flex-start;
  padding-bottom: 60px;
}

@media (max-width: 992px) {
  /* reduce top offset on mobile to avoid excessive gaps */
  body.has-breadcrumbs #hero .carousel-container {
    top: 20px;
    padding-bottom: 40px;
  }
  body.has-breadcrumbs #hero {
    min-height: 320px;
  }
}
@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}
@media (min-width: 1024px) {
  #hero .carousel-control-prev, #hero .carousel-control-next {
    width: 5%;
  }
}
@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

.cap-hero {
  text-transform: capitalize;
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

#services {
  padding: 30px 0;
}

.section-bg {
  background-color: var(--bg-surface);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}
.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #5cb874;
  bottom: 0;
  left: calc(50% - 20px);
}
.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services {
  padding: 20px 0;
}
.featured-services .icon-box {
  padding: 20px;
}
.featured-services .icon-box-bg {
  background-image: linear-gradient(0deg, #222222 0%, #2f2f2f 50%, #222222 100%);
}
.featured-services .icon {
  margin-bottom: 15px;
}
.featured-services .icon i {
  color: #5cb874;
  font-size: 42px;
}
.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}
.featured-services .title a {
  color: #222222;
  transition: 0.3s;
}
.featured-services .icon-box:hover .title a {
  color: #5cb874;
}
.featured-services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  padding-bottom: 10px;
}
.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #5cb874;
}
.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  padding: 0;
}
.why-us .row {
  overflow: hidden;
}
.why-us .content-item {
  padding: 40px;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: -1px;
}
.why-us .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #6ec083;
}
.why-us .content-item h4 {
  font-size: 26px;
  font-weight: 300;
  padding: 0;
  margin: 20px 0;
}
.why-us .content-item p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .why-us .content-item {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# Our Clients
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
}
.clients .swiper-slide img:hover {
  opacity: 1;
}
.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #5cb874;
}
.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #5cb874;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
}
.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}
.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}
.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}
.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}
.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}
.services .icon-box h4 a {
  color: #222222;
  transition: ease-in-out 0.3s;
}
.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}
.services .iconbox-blue i {
  color: #47aeff;
}
.services .iconbox-blue:hover .icon i {
  color: #fff;
}
.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}
.services .iconbox-orange i {
  color: #ffa76e;
}
.services .iconbox-orange:hover .icon i {
  color: #fff;
}
.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}
.services .iconbox-pink i {
  color: #e80368;
}
.services .iconbox-pink:hover .icon i {
  color: #fff;
}
.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}
.services .iconbox-yellow i {
  color: #ffbb2c;
}
.services .iconbox-yellow:hover .icon i {
  color: #fff;
}
.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}
.services .iconbox-red i {
  color: #ff5828;
}
.services .iconbox-red:hover .icon i {
  color: #fff;
}
.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}
.services .iconbox-teal i {
  color: #11dbcf;
}
.services .iconbox-teal:hover .icon i {
  color: #fff;
}
.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}
.services .iconbox-green i {
  color: #5cb874;
}
.services .iconbox-green:hover .icon i {
  color: #fff;
}
.services .iconbox-green:hover .icon path {
  fill: #5cb874;
}
.services .iconbox-brand i {
  color: #5cb874;
}
.services .iconbox-brand:hover .icon i {
  color: #fff;
}
.services .iconbox-brand:hover .icon path {
  fill: #5cb874;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: var(--brand-primary);
  padding: 80px 0;
}
.cta h3 {
  color: var(--on-brand-text);
  font-size: 28px;
  font-weight: 700;
}
.cta p {
  color: var(--on-brand-text);
}
.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--on-brand-text);
  color: var(--on-brand-text);
  border-radius: 4px;
}
.cta .cta-btn:hover {
  background: var(--on-brand-text);
  color: var(--brand-primary);
}
@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;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}
.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}
.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #5cb874;
}
.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}
.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(34, 34, 34, 0.6);
}
.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(34, 34, 34, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}
.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}
.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}
.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 600;
}
.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}
.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}
.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}
.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #6ec083;
}
.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}
.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}
.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# 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 #5cb874;
}
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #5cb874;
}
.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px var(--shadow);
}
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.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;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0px 0 12px 0px rgba(34, 34, 34, 0.07);
  padding: 30px 20px;
  background: var(--bg-elevated);
}
.team .member img {
  max-width: 60%;
  border-radius: 50%;
  margin: 0 0 30px 0;
}
.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}
.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}
.team .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #aaaaaa;
}
.team .member .social {
  margin-top: 15px;
}
.team .member .social a {
  color: #919191;
  transition: 0.3s;
}
.team .member .social a:hover {
  color: #5cb874;
}
.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  position: relative;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 90%);
}

.contact .info {
  border-top: 3px solid var(--brand-primary);
  border-bottom: 3px solid var(--brand-primary);
  padding: 20px 30px;
  background: var(--bg-elevated);
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: stretch;
  gap: 30px;
  position: relative;
}


.contact .contact-map {
  flex: 1;
  min-width: 0;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.contact .contact-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 240px;
  padding: 16px 0;
  gap: 16px;
}

.contact .contact-details {
  text-align: left;
  width: 100%;
  margin-top: 0;
}

.contact .contact-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 6px;
}

.contact .contact-details p {
  font-size: 14px;
  color: rgba(31, 45, 61, 0.7);
  margin-bottom: 14px;
}

.contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}

.contact .contact-list li i {
  font-size: 20px;
  color: var(--brand-primary);
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: rgba(234, 246, 237, 0.6);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
}

.contact .contact-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact .contact-list .label {
  display: block;
  font-weight: 600;
  color: #1f2d3d;
}

.contact .contact-list a {
  color: var(--brand-primary);
}

@media (max-width: 992px) {
  .contact {
    background: #f9fafb;
  }

  .contact .info {
    flex-direction: column;
  }

  .contact .contact-right {
    width: 100%;
    align-items: flex-start;
  }
}
.contact .info i {
  font-size: 20px;
  color: var(--brand-primary);
  float: left;
  width: 44px;
  height: 44px;
  background: rgba(234, 246, 237, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}
.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}
.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.contact .info .social-links {
  padding-left: 60px;
}
.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}
.contact .info .social-links a:hover {
  background: #5cb874;
  color: #fff;
}
.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #5cb874;
  color: #fff;
}
.contact .php-email-form {
  width: 100%;
  border-top: 3px solid var(--brand-primary);
  border-bottom: 3px solid var(--brand-primary);
  padding: 30px;
  background: var(--bg-elevated);
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}
.contact .php-email-form .form-group {
  padding-bottom: 8px;
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}
.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}
.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;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: var(--brand-primary);
}
.contact .php-email-form input {
  height: 16px;
}
.contact .php-email-form textarea {
  padding: 10px 12px;
}
.contact .php-email-form button[type=submit] {
  background: var(--brand-primary);
  border: 0;
  padding: 10px 24px;
  color: var(--on-brand-text);
  transition: 0.4s;
  border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
  background: var(--brand-hover);
}
@-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 10px 0;
  background: linear-gradient(135deg, #5cb874 0%, #4a9d5f 100%);
  min-height: 60px;
  color: #ffffff;
}
@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 66px;
    padding: 15px 0 10px 0;
  }
}
.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.breadcrumbs ol li {
  color: rgba(255, 255, 255, 0.9);
}
.breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumbs ol li a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.breadcrumbs ol li + li {
  padding-left: 10px;
}
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.7);
  content: "/";
}
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 12px 0 8px 0;
  }
  .breadcrumbs h2 {
    font-size: 24px;
    margin-bottom: 5px;
  }
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
    margin-top: 10px;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--footer-bg, #090909);
  color: var(--footer-text, #fff);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}
#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--footer-text, #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: var(--brand-primary);
  color: var(--on-brand-text);
  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: var(--brand-dark);
  color: var(--on-brand-text);
  text-decoration: none;
}
#footer .copyright {
  margin: 0 0 5px 0;
}
#footer .credits {
  font-size: 13px;
}

/*--------------------------------------------------------------
# Brand Button
--------------------------------------------------------------*/
.btn-brand {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--on-brand-text) !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background-color: var(--brand-hover) !important;
  border-color: var(--brand-hover) !important;
  color: var(--on-brand-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(92, 184, 116, 0.3);
}

.btn-outline-brand {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary) !important;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand-primary);
  color: var(--on-brand-text) !important;
  box-shadow: 0 4px 8px rgba(92, 184, 116, 0.3);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Video Portfolio
--------------------------------------------------------------*/
.video-portfolio {
  padding: 60px 0;
}

.video-portfolio .video-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.video-portfolio .video-item img {
  width: 100%;
  transition: transform 0.3s ease;
}

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

.video-portfolio .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(92, 184, 116, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-portfolio .video-item:hover .video-overlay {
  opacity: 1;
}

.video-portfolio .video-overlay i {
  font-size: 64px;
  color: #fff;
}

.video-portfolio .video-info {
  padding: 15px 0;
}

.video-portfolio .video-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.video-portfolio .video-info p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/*--------------------------------------------------------------
# Service Pages
--------------------------------------------------------------*/
.service-hero {
  background: linear-gradient(135deg, rgba(92, 184, 116, 0.38) 0%, rgba(68, 157, 91, 0.32) 100%);
  color: #1c4659;
  padding: 56px 0;
  text-align: center;
}

.service-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #113646;
}

.service-hero p {
  font-size: 20px;
  margin-bottom: 22px;
  color: rgba(17, 54, 70, 0.85);
}

.service-hero .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.service-hero .hero-actions .btn,
.service-hero .hero-actions .btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  text-decoration: none !important;
}

.service-hero .hero-actions .btn-outline-light {
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  text-decoration: none !important;
}

.pricing-table {
  background: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

.pricing-table:hover {
  transform: translateY(-10px);
}

.pricing-table.featured {
  border: 3px solid #5cb874;
  transform: scale(1.05);
}

.pricing-table .price {
  font-size: 48px;
  font-weight: 700;
  color: #5cb874;
  margin: 20px 0;
}

.pricing-table .price span {
  font-size: 18px;
  color: #777;
}

.pricing-table ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.pricing-table ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pricing-table ul li i {
  color: #5cb874;
  margin-right: 10px;
}

.process-step {
  text-align: center;
  padding: 30px;
  margin-bottom: 30px;
}

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

.process-step h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.process-step p {
  font-size: 14px;
  color: #777;
}

@media (max-width: 768px) {
  .service-hero {
    padding: 40px 0;
  }

  .service-hero h1 {
    font-size: 32px;
  }

  .service-hero p {
    font-size: 16px;
  }

  .pricing-table.featured {
    transform: scale(1);
  }

  .video-portfolio .video-overlay i {
    font-size: 48px;
  }
}

/*--------------------------------------------------------------
# Hosting Feature Comparison Table
--------------------------------------------------------------*/
.feature-comparison {
  padding: 60px 0;
}

.feature-comparison .table-responsive {
  padding-top: 40px;
  position: relative;
}

.feature-comparison .table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.feature-comparison .table thead {
  background: linear-gradient(135deg, #5cb874 0%, #449d5b 100%);
  color: #fff;
}

.feature-comparison .table thead th {
  padding: 20px;
  font-weight: 600;
  border: none;
  position: relative;
}

.feature-comparison .table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.feature-comparison .table tbody tr:last-child td {
  border-bottom: none;
}

.feature-comparison .table tbody tr:hover {
  background: #f8f9fa;
}

.feature-comparison .table .feature-name {
  font-weight: 500;
  color: #333;
}

.feature-comparison .table .check-icon {
  color: #5cb874;
  font-size: 20px;
}

.feature-comparison .table .x-icon {
  color: #ccc;
  font-size: 20px;
}

.feature-comparison .table .recommended-col {
  background: rgba(92, 184, 116, 0.05);
  position: relative;
}

.feature-comparison .table thead .recommended-col::before {
  content: "Recommended";
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #5cb874;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(92, 184, 116, 0.3);
}

/* Responsive table */
@media (max-width: 768px) {
  .feature-comparison .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .feature-comparison .table {
    min-width: 600px;
  }
}

/*--------------------------------------------------------------
# Trust Badges (Hosting Page)
--------------------------------------------------------------*/
.trust-badges .icon-box {
  text-align: center;
  padding: 30px 20px;
}

.trust-badges .icon-box i {
  font-size: 48px;
  color: #5cb874;
  margin-bottom: 15px;
}

.trust-badges .icon-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.trust-badges .icon-box p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/*--------------------------------------------------------------
# Pricing Table Badge
--------------------------------------------------------------*/
.pricing-table .badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #5cb874;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(92, 184, 116, 0.3);
}

.pricing-table {
  position: relative;
}

/*--------------------------------------------------------------
# Server Specifications Section
--------------------------------------------------------------*/
.server-specs .icon-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.server-specs .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 184, 116, 0.15);
}

.server-specs .icon-box i {
  font-size: 36px;
  color: #5cb874;
  margin-bottom: 15px;
}

.server-specs .icon-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Hosting FAQ Accordion
--------------------------------------------------------------*/
.hosting-faq .accordion-button {
  background: #fff;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  padding: 20px;
}

.hosting-faq .accordion-button:not(.collapsed) {
  background: #5cb874;
  color: #fff;
  box-shadow: none;
}

.hosting-faq .accordion-button:focus {
  border-color: #5cb874;
  box-shadow: 0 0 0 0.25rem rgba(92, 184, 116, 0.25);
}

.hosting-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.hosting-faq .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.hosting-faq .accordion-body {
  padding: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/*--------------------------------------------------------------
# Security Features Section
--------------------------------------------------------------*/
.security-features {
  background: linear-gradient(135deg, rgba(92, 184, 116, 0.05) 0%, rgba(92, 184, 116, 0.1) 100%);
  padding: 60px 0;
}

.security-features .icon-box {
  background: #fff;
  border: 2px solid rgba(92, 184, 116, 0.2);
}

.security-features .icon-box:hover {
  border-color: #5cb874;
}

/*--------------------------------------------------------------
# Floating Labels
--------------------------------------------------------------*/
.form-floating {
  position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: #5cb874;
  box-shadow: 0 0 0 0.25rem rgba(92, 184, 116, 0.25);
}

.form-floating > textarea.form-control {
  height: auto;
  min-height: calc(3.5rem + 2px);
}

@media (prefers-reduced-motion: reduce) {
  .form-floating > label {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Multi-Step Wizard
--------------------------------------------------------------*/
.wizard-container {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.wizard-progress {
  margin-bottom: 40px;
  border-bottom: 2px solid #e9ecef;
}

.wizard-progress ol {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 -2px 0;
}

.wizard-progress li {
  flex: 1;
  text-align: center;
  padding-bottom: 15px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.wizard-progress li span {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wizard-progress li[aria-current="step"] {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 600;
}

.wizard-progress li[aria-current="step"] span {
  background: var(--brand-primary);
  color: var(--on-brand-text);
}

.wizard-progress li.completed {
  color: #5cb874;
}

.wizard-progress li.completed span {
  background: #d4edda;
  color: #5cb874;
}

.wizard-step {
  animation: fadeIn 0.3s ease-in-out;
}

.wizard-step .step-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--brand-primary);
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.wizard-buttons .btn {
  min-width: 120px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .wizard-progress ol {
    flex-direction: column;
  }

  .wizard-progress li {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 10px 0 10px 20px;
    text-align: left;
  }

  .wizard-progress li[aria-current="step"] {
    border-left-color: #5cb874;
  }

  .wizard-progress li span {
    margin-right: 10px;
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Inline Validation Feedback
--------------------------------------------------------------*/
.invalid-feedback,
.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.invalid-feedback {
  color: var(--danger, #dc3545);
}

.valid-feedback {
  color: var(--success, #28a745);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger, #dc3545);
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--danger, #dc3545);
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--success, #28a745);
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
  border-color: var(--success, #28a745);
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.12);
}

.form-control.is-valid ~ .valid-feedback,
.form-select.is-valid ~ .valid-feedback {
  display: block;
}

/*--------------------------------------------------------------
# Button Loading State
--------------------------------------------------------------*/
.btn-submit .btn-text,
.btn-submit .btn-spinner {
  display: inline-flex;
  align-items: center;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: inline-flex;
}

.btn-spinner {
  display: none;
}

/*--------------------------------------------------------------
# Toast Notifications
--------------------------------------------------------------*/
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1050;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  min-width: 300px;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.toast.toast-success::before {
  background: #28a745;
}

.toast.toast-error::before {
  background: #dc3545;
}

.toast.toast-info::before {
  background: #17a2b8;
}

.toast-icon {
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Accessibility: Skip link visible on focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  outline: 3px solid #5cb874;
}

.toast-success .toast-icon {
  color: #28a745;
}

.toast-error .toast-icon {
  color: #dc3545;
}

.toast-info .toast-icon {
  color: #17a2b8;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #222;
}

.toast-message {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  line-height: 1;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #222;
}

.toast.hiding {
  animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .toast-container {
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    animation: none;
  }

  .toast.hiding {
    animation: none;
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# reCAPTCHA Container (Mobile Friendly)
--------------------------------------------------------------*/
.recaptcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}

.recaptcha-container .g-recaptcha {
  transform: scale(1);
  transform-origin: center center;
}

@media (max-width: 576px) {
  .recaptcha-container .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

@media (max-width: 400px) {
  .recaptcha-container .g-recaptcha {
    transform: scale(0.75);
  }
}


/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats .icon-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.stats .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 184, 116, 0.15);
}

.stats .counter {
  font-size: 48px;
  font-weight: 700;
  color: #5cb874;
  margin: 20px 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  .stats .counter {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Exit-Intent Lead Magnet Modal
--------------------------------------------------------------*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  padding: 40px 30px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  animation: slideInDown 0.4s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #222;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.modal-header p {
  font-size: 16px;
  color: #777;
  margin: 0;
}

.modal-body ul {
  list-style: none;
}

.modal-body ul li {
  padding: 8px 0;
  font-size: 15px;
}

.modal-body ul li i {
  margin-right: 10px;
}

@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .modal-content {
    padding: 30px 20px;
  }

  .modal-header h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-content {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Click-to-Call Button (Mobile)
--------------------------------------------------------------*/
.btn-call-mobile {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #5cb874;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(92, 184, 116, 0.4);
  z-index: 998;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-call-mobile:hover {
  background: #6ec083;
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(92, 184, 116, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(92, 184, 116, 0.7);
  }
}

@media (max-width: 768px) {
  .btn-call-mobile {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-call-mobile {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Guarantees Section Styles
--------------------------------------------------------------*/
.guarantees {
  padding: 60px 0;
}

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

.guarantees .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 184, 116, 0.15) !important;
}


/*--------------------------------------------------------------
# Cookie Consent / Legal UI
--------------------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(10,10,10,0.95);
  color: #fff;
  padding: 18px 20px;
  border-radius: 8px;
  z-index: 99999;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-consent-banner .cc-actions { display: flex; gap: 8px; align-items: center; }
.cookie-consent-banner .cc-btn { background: var(--brand-primary); color: var(--on-brand-text); border: none; padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.cookie-consent-banner .cc-btn.secondary { background: transparent; color: var(--on-brand-text); border: 1px solid rgba(255,255,255,0.12); }
.cookie-consent-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 100000; }
.cookie-consent-modal .cc-modal-content { background: #fff; color: #222; max-width: 760px; width: 94%; border-radius: 8px; padding: 20px; }
.cookie-consent-modal .cc-modal-close { float: right; border: none; background: transparent; font-size: 20px; }
.legal-content .legal-last-updated { font-size: 13px; color: #666; margin-bottom: 12px; }

/*--------------------------------------------------------------
# Legal content styles
--------------------------------------------------------------*/
.legal-content {
  padding: 40px 0;
}
.legal-content .container {
  max-width: 960px;
}
.legal-content h2 {
  font-size: 26px;
  margin-top: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}
.legal-content h3 {
  font-size: 18px;
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}
.legal-content p, .legal-content li {
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}
.legal-toc {
  background: #fff;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.legal-toc h3 { margin-top: 0; }
.legal-toc ul { columns: 2; }
.legal-last-updated { font-size: 13px; color: #666; margin-bottom: 12px; }
.legal-content .table { margin-top: 12px; }

@media (max-width: 768px) {
  .legal-toc ul { columns: 1; }
  .legal-content .container { padding-left: 15px; padding-right: 15px; }
}

/*--------------------------------------------------------------
# Blog Styles
--------------------------------------------------------------*/

/* Blog Hero */
.blog-hero {
  padding: 40px 0;
}

.blog-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

/* Blog Filters */
.blog-filters {
  padding: 30px 0;
  background: #fff;
  margin-bottom: 20px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 184, 116, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(244, 247, 245, 0.95), rgba(226, 237, 231, 0.95)),
    url('/assets/img/blog-placeholder.jpg') center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-category {
  display: inline-block;
  background: #5cb874;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.4;
}

.blog-card-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #999;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.blog-card-meta i {
  color: #5cb874;
  margin-right: 5px;
}

.blog-card-link {
  color: #5cb874;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-link:hover {
  color: #449d5b;
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.blog-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.blog-pagination li {
  display: inline-block;
}

.blog-pagination button,
.blog-pagination span {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.blog-pagination button:hover:not(.active):not(:disabled) {
  background: #5cb874;
  color: #fff;
  border-color: #5cb874;
}

.blog-pagination button.active {
  background: #5cb874;
  color: #fff;
  border-color: #5cb874;
}

.blog-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Blog Skeleton Loaders */
.blog-skeleton {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.blog-skeleton-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

.blog-skeleton-content {
  padding: 25px;
}

.blog-skeleton-category {
  width: 80px;
  height: 22px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 20px;
  margin-bottom: 10px;
}

.blog-skeleton-title {
  width: 100%;
  height: 24px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-skeleton-excerpt {
  width: 100%;
  height: 60px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
  margin-bottom: 15px;
}

.blog-skeleton-meta {
  width: 150px;
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Blog Empty State */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.blog-empty-state i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}

.blog-empty-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.blog-empty-state p {
  font-size: 16px;
  color: #999;
}

/* Blog Categories */
.blog-categories {
  padding: 60px 0;
}

.blog-categories .category-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  cursor: pointer;
}

.blog-categories .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(92, 184, 116, 0.15);
}

.blog-categories .category-card i {
  font-size: 48px;
  color: #5cb874;
  margin-bottom: 15px;
}

.blog-categories .category-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.blog-categories .category-card .post-count {
  font-size: 14px;
  color: #999;
}

/* Newsletter Signup */
.newsletter-signup {
  padding: 60px 0;
}

.newsletter-signup h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.newsletter-signup p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Blog Section (Homepage) */
.featured-blog {
  padding: 60px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-filters .row {
    gap: 15px;
  }

  .blog-pagination button,
  .blog-pagination span {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Portfolio Card Enhancements
--------------------------------------------------------------*/
.portfolio-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #5cb874;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 4;
  letter-spacing: 0.5px;
}

.portfolio-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.portfolio-metric i {
  color: #5cb874;
  font-size: 16px;
}

/* Enhanced hover effect */
.portfolio .portfolio-wrap:hover .portfolio-category-badge {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Portfolio Case Study Hero
--------------------------------------------------------------*/
.portfolio-hero {
  background: linear-gradient(135deg, #5cb874 0%, #449d5b 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.portfolio-hero .client-info {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.portfolio-hero .category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.portfolio-hero .key-metric {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.portfolio-hero .metric-label {
  font-size: 20px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .portfolio-hero h1 {
    font-size: 32px;
  }
  .portfolio-hero .key-metric {
    font-size: 40px;
  }
}

/*--------------------------------------------------------------
# Case Study Content Sections
--------------------------------------------------------------*/
.case-study-section {
  padding: 60px 0;
}

.case-study-section .section-icon {
  font-size: 48px;
  color: #5cb874;
  margin-bottom: 20px;
}

.case-study-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.case-study-section .challenge-list,
.case-study-section .solution-list {
  list-style: none;
  padding: 0;
}

.case-study-section .challenge-list li,
.case-study-section .solution-list li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.case-study-section .challenge-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: 900;
  font-size: 18px;
}

.case-study-section .solution-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5cb874;
  font-weight: 900;
  font-size: 18px;
}

/*--------------------------------------------------------------
# Results Metrics
--------------------------------------------------------------*/
.results-metrics {
  padding: 60px 0;
  background: #f8f9fa;
}

.metric-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(92, 184, 116, 0.15);
}

.metric-card i {
  font-size: 48px;
  color: #5cb874;
  margin-bottom: 15px;
}

.metric-card .metric-value {
  font-size: 48px;
  font-weight: 700;
  color: #5cb874;
  margin-bottom: 10px;
  line-height: 1;
}

.metric-card .metric-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Before/After Comparison
--------------------------------------------------------------*/
.before-after-section {
  padding: 60px 0;
}

.before-after-images {
  margin-bottom: 40px;
}

.before-after-col {
  position: relative;
}

.before-after-col img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.before-after-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.before-after-label.before {
  background: #dc3545;
}

.before-after-label.after {
  background: #5cb874;
}

.comparison-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
  width: 100%;
  margin: 0;
}

.comparison-table th {
  background: #f8f9fa;
  padding: 15px 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.comparison-table td.before-value {
  color: #dc3545;
  font-weight: 600;
}

.comparison-table td.after-value {
  color: #5cb874;
  font-weight: 600;
}

.comparison-table td.arrow {
  text-align: center;
  color: #5cb874;
  font-size: 20px;
}

/*--------------------------------------------------------------
# Technology Stack
--------------------------------------------------------------*/
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tech-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(92, 184, 116, 0.15);
}

.tech-item i {
  font-size: 40px;
  color: #5cb874;
  margin-bottom: 15px;
}

.tech-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tech-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/*--------------------------------------------------------------
# Portfolio Testimonial
--------------------------------------------------------------*/
.portfolio-testimonial {
  background: #f8f9fa;
  padding: 60px 0;
}

.testimonial-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid #5cb874;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 60px;
  color: #5cb874;
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.testimonial-author-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.testimonial-rating {
  margin-top: 15px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 18px;
}

/*--------------------------------------------------------------
# Related Projects
--------------------------------------------------------------*/
.related-projects {
  padding: 60px 0;
  background: #fff;
}

.related-projects .portfolio-item {
  margin-bottom: 30px;
}

.related-projects .section-title h2 {
  margin-bottom: 40px;
}

.related-projects .portfolio-wrap {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 54, 70, 0.08);
  border: 1px solid rgba(17, 54, 70, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.related-projects .portfolio-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(17, 54, 70, 0.12);
}

.related-projects .portfolio-wrap::before {
  display: none;
}

.related-projects .portfolio-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: none;
}

.related-projects .portfolio-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(35, 134, 89, 0.9);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(35, 134, 89, 0.2);
}

.related-projects .portfolio-wrap .portfolio-info {
  position: static;
  opacity: 1;
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
}

.related-projects .portfolio-wrap .portfolio-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 0;
}

.related-projects .portfolio-wrap .portfolio-info p {
  font-size: 15px;
  color: rgba(31, 45, 61, 0.7);
  text-transform: none;
  font-style: normal;
  margin: 0 0 8px;
}

.related-projects .portfolio-wrap .portfolio-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: #1f6f4c;
  background: rgba(92, 184, 116, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
}

.related-projects .portfolio-wrap .portfolio-metric i {
  font-size: 16px;
}

.related-projects .portfolio-wrap .portfolio-links {
  position: static;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}

.related-projects .portfolio-wrap .portfolio-links a {
  font-size: 20px;
  color: #1f6f4c;
  background: rgba(31, 111, 76, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.related-projects .portfolio-wrap .portfolio-links a:hover {
  background: #1f6f4c;
  color: #fff;
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .portfolio-hero .key-metric {
    font-size: 36px;
  }

  .metric-card .metric-value {
    font-size: 36px;
  }

  .testimonial-quote {
    font-size: 18px;
  }

  .before-after-col {
    margin-bottom: 30px;
  }

  .tech-stack-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow-x: auto;
  }
}

/*--------------------------------------------------------------
# Project Gallery Section
--------------------------------------------------------------*/
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(92, 184, 116, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 48px;
  color: #fff;
}

/*--------------------------------------------------------------
# Phase 15: Performance & Polish Enhancements
--------------------------------------------------------------*/

/* Enhanced Micro-Interactions - Button Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s, opacity 0.6s;
  opacity: 0.4;
}

.btn-ripple.ripple-active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* Enhanced Card Hover Effects */
.blog-card:hover,
.portfolio-wrap:hover,
.icon-box:hover,
.pricing-table:hover {
  transform: translateY(-8px) rotate(0.5deg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover,
.portfolio-wrap:hover,
.icon-box:hover {
  box-shadow: 0 12px 40px rgba(92, 184, 116, 0.2);
}

/* Enhanced Form Input Focus Animation */
.form-control:focus,
.form-select:focus {
  transform: scale(1.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
  color: #5cb874;
  transition: color 0.3s ease;
}

/* Animated Link Underlines - Scoped to content areas only */
.section a:not(.btn):not(.nav-link):not(.btn-link),
.content a:not(.btn):not(.nav-link):not(.btn-link),
.article a:not(.btn):not(.nav-link):not(.btn-link),
.entry-content a:not(.btn):not(.nav-link):not(.btn-link),
.portfolio-description a:not(.btn):not(.nav-link):not(.btn-link),
.service-description a:not(.btn):not(.nav-link):not(.btn-link),
main a:not(.btn):not(.nav-link):not(.btn-link):not(.breadcrumb a):not(.badge):not(.nav-tabs .nav-link):not(.pagination a):not(#footer a):not(footer a):not(.card-link):not(.dropdown-item) {
  position: relative;
}

.section a:not(.btn):not(.nav-link):not(.btn-link)::after,
.content a:not(.btn):not(.nav-link):not(.btn-link)::after,
.article a:not(.btn):not(.nav-link):not(.btn-link)::after,
.entry-content a:not(.btn):not(.nav-link):not(.btn-link)::after,
.portfolio-description a:not(.btn):not(.nav-link):not(.btn-link)::after,
.service-description a:not(.btn):not(.nav-link):not(.btn-link)::after,
main a:not(.btn):not(.nav-link):not(.btn-link):not(.breadcrumb a):not(.badge):not(.nav-tabs .nav-link):not(.pagination a):not(#footer a):not(footer a):not(.card-link):not(.dropdown-item)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary, #5cb874);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
.content a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
.article a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
.entry-content a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
.portfolio-description a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
.service-description a:not(.btn):not(.nav-link):not(.btn-link):hover::after,
main a:not(.btn):not(.nav-link):not(.btn-link):not(.breadcrumb a):not(.badge):not(.nav-tabs .nav-link):not(.pagination a):not(#footer a):not(footer a):not(.card-link):not(.dropdown-item):hover::after {
  width: 100%;
}

/* Exclude compact UI components from animated underlines */
.breadcrumb a::after,
.badge::after,
.nav-tabs .nav-link::after,
.pagination a::after,
#footer a::after,
footer a::after,
.card-link::after,
.dropdown-item::after,
.navbar a::after,
.nav a::after {
  display: none !important;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .section a::after,
  .content a::after,
  .article a::after,
  .entry-content a::after,
  .portfolio-description a::after,
  .service-description a::after,
  main a::after {
    transition: none;
  }
}

/* Skip Navigation Enhancement */
.skip-link:focus {
  outline: 3px solid #5cb874;
  outline-offset: 2px;
  animation: focusPulse 0.5s ease;
}

@keyframes focusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Enhanced Focus Indicators */
*:focus-visible {
  outline: 3px solid #5cb874;
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline-offset: 4px;
  animation: focusGlow 0.3s ease;
}

@keyframes focusGlow {
  0% { outline-width: 0; }
  100% { outline-width: 3px; }
}

/* Scroll Progress Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #5cb874;
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Image Loading Optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* WebP Support Styling */
.no-webp .webp-only {
  display: none;
}

.webp .no-webp-only {
  display: none;
}

/* Skeleton Screen Variants */
.portfolio-skeleton,
.service-skeleton,
.stats-skeleton {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.skeleton-box {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.portfolio-skeleton {
  height: 300px;
}

.service-skeleton {
  height: 350px;
  padding: 20px;
}

.stats-skeleton {
  height: 200px;
  padding: 40px;
}

/* Smooth Scroll Enhancement - Responsive */
html {
  scroll-padding-top: 80px;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 70px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
}

section[id],
div[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 991px) {
  section[id],
  div[id] {
    scroll-margin-top: 70px;
  }
}

@media (max-width: 768px) {
  section[id],
  div[id] {
    scroll-margin-top: 60px;
  }
}

/* Reduced Motion Support (Comprehensive) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-ripple::after,
  a::after,
  img[loading="lazy"] {
    transition: none !important;
  }

  #scroll-progress {
    transition: none !important;
  }
}

/* Dark Mode Support (Optional - Ready for Implementation) */
:root {
  /* Light mode (default) colors */
  --bg-primary: #ffffff;
  --bg-surface: #f8f9fa;
  --bg-elevated: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-disabled: #999999;
  --brand-primary: #5cb874;
  --brand-hover: #6ec083;
  --brand-dark: #449d5b;
  --border-color: rgba(0,0,0,0.1);
  --shadow: rgba(0,0,0,0.1);
  --on-brand-text: #ffffff;
  --footer-bg: #090909;
  --footer-text: #ffffff;
  --danger: #dc3545;
  --success: #28a745;
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #1a1a1a;
  --bg-surface: #2d2d2d;
  --bg-elevated: #3a3a3a;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-disabled: #666666;
  --brand-primary: #6ec083;
  --brand-hover: #7dd194;
  --brand-dark: #5cb874;
  --border-color: rgba(255,255,255,0.1);
  --shadow: rgba(0,0,0,0.5);
  --on-brand-text: #0b0b0b;
  --footer-bg: #0f0f0f;
  --footer-text: #eaeaea;
  --danger: #ff6b6b;
  --success: #4dd27a;
}

/* Dark Mode Toggle Button (Hidden by default - activate via JavaScript) */
#dark-mode-toggle {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

#dark-mode-toggle:hover {
  transform: scale(1.1);
  background: var(--brand-hover);
}

#dark-mode-toggle:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 4px;
}

/* Theme Transition */
body.theme-transition,
body.theme-transition *,
body.theme-transition *::before,
body.theme-transition *::after {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* Performance Optimizations */
.will-animate {
  will-change: transform, opacity;
}

.will-animate.animated {
  will-change: auto;
}

/* Accessibility - Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ARIA Live Region for Dynamic Updates */
#aria-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Enhanced Button States */
.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Portfolio Filter Enhancement */
#portfolio-flters li {
  position: relative;
}

#portfolio-flters li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}

#portfolio-flters li.filter-active::before {
  width: 80%;
}

/* Modal/Dropdown Backdrop Blur */
.modal-overlay,
.cookie-consent-modal {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Print Styles */
@media print {
  #header,
  #footer,
  .back-to-top,
  #dark-mode-toggle,
  #scroll-progress,
  .cookie-consent-banner,
  .btn-call-mobile {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* ======= Testimonials Section ======= */
.testimonials {
  padding: 60px 0;
  background: #f8f9fa;
}

.testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  position: relative;
  margin-bottom: 20px;
}

.quote-icon-left,
.quote-icon-right {
  color: #5cb874;
  font-size: 26px;
  line-height: 0;
}

.quote-icon-left {
  margin-right: 10px;
}

.quote-icon-right {
  margin-left: 10px;
}

.testimonial-author {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 3px solid #5cb874;
}

.testimonial-author h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.stars {
  font-size: 18px;
}

/* Fix form floating label alignment */
.form-floating > .form-control,
.form-floating > .form-control:focus,
.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  line-height: 1.25;
}

.form-floating > label {
  padding: 1rem 0.75rem;
  height: auto;
  line-height: 1.25;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating textarea.form-control {
  min-height: 150px;
  padding-top: 1.625rem;
}

/* Ensure checkboxes are aligned */
.form-check {
  display: flex;
  align-items: flex-start;
  min-height: auto;
}

.form-check-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-check-label {
  margin-left: 0.5rem;
  line-height: 1.5;
}

/* Service Cards Grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card-new {
  background: var(--bg-elevated);
  padding: 30px;
  border-radius: 8px;
  border-top: 3px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-icon-new {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 70, 89, 0.12);
  color: rgba(28, 70, 89, 0.7);
  box-shadow: inset 0 2px 6px rgba(28, 70, 89, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon-new i {
  font-size: 40px;
}

.service-card-new:hover .service-icon-new {
  box-shadow: inset 0 2px 8px rgba(28, 70, 89, 0.12), 0 10px 20px rgba(28, 70, 89, 0.08);
  transform: translateY(-3px);
}

.service-title-new {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-desc-new {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-link-new {
  display: inline-block;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.service-link-new:hover {
  color: var(--brand-hover);
}

.services-hero {
  background: linear-gradient(180deg, rgba(92, 184, 116, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.services-hero-card {
  background: var(--bg-elevated);
  border-left: 4px solid var(--brand-primary);
}

.services-hero-card ul {
  font-size: 15px;
  color: var(--text-secondary);
}

.services-grid {
  background: var(--bg-surface);
}

.services-cta .cta-box {
  background: linear-gradient(135deg, #5cb874, #4a9d60);
  color: var(--on-brand-text);
}

.services-cta .cta-box p {
  color: rgba(255, 255, 255, 0.85);
}

.services-cta .cta-box .btn {
  background: #ffffff;
  color: var(--brand-dark);
  border: none;
}

.services-cta .cta-box .btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-dark);
}

/* ======================================
   Fix Header Overlap Issue
   ====================================== */

/* Add padding when header becomes fixed to prevent content overlap */
#header.fixed-top ~ #main,
body.header-scrolled #main {
  padding-top: 0;
}

/* Ensure breadcrumbs don't overlap with fixed header */
#header.fixed-top ~ #main .breadcrumbs {
  margin-top: 0;
}

/* For pages without #main wrapper */
#header.fixed-top ~ main,
#header.fixed-top ~ section:first-of-type {
  margin-top: 60px;
}
