
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

/* Colors */
:root {
  --color-default: #222222;
  --color-primary: #008374;
  --color-secondary: #f85a40;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #00b6a1;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: clip;
  scroll-margin-top: 70px;
  max-width: 100%;
}

/* Allow the 3D section to be sticky */
.cards-3d-section {
  overflow: visible !important;
  max-width: 100%;
}

.sections-bg {
  background-color: #f6f6f6;
}

.section-header {
  text-align: center;
  padding-bottom: 60px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-header h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-header p {
  margin-bottom: 0;
  color: #6f6f6f;
}

/*--------------------------------------------------------------
# Breadcrumbs — Dark 3D style  (global)
--------------------------------------------------------------*/
 
/* ── Page header banner ── */
.breadcrumbs .page-header {
  position: relative;
  padding: 80px 0 70px;
  min-height: 32vh;
  display: flex;
  align-items: center;
  overflow: hidden;
 
  /* !important overrides the inline style="background-image: url('');" on every page */
  background-color: #071a16 !important;
  background-image:
    radial-gradient(ellipse 120% 80% at 0% 0%,   #001f1c 0%, transparent 58%),
    radial-gradient(ellipse 100% 70% at 100% 100%, #0d1a08 0%, transparent 55%),
    radial-gradient(ellipse 70%  55% at 50% 40%,  #002a22 0%, transparent 70%),
    linear-gradient(155deg, #020f0d 0%, #040d0b 35%, #060e14 70%, #030c09 100%) !important;
}
 
/* Perspective grid floor */
.breadcrumbs .page-header::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,131,116,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,131,116,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(55deg) translateY(20%) scale(1.5);
  transform-origin: bottom center;
  opacity: 0.55;
}
 
/* CRT scanline texture */
.breadcrumbs .page-header::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.009) 2px, rgba(255,255,255,0.009) 4px
  );
}
 
/* Ambient teal glow blob — top left */
.breadcrumbs .page-header .container::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  top: -130px; left: -150px;
  background: radial-gradient(circle, #008374 0%, #003d35 65%, transparent 100%);
  filter: blur(90px); opacity: 0.18;
  pointer-events: none; z-index: 0;
  max-width: 55vw;
}
 
/* Coral glow blob — bottom right */
.breadcrumbs .page-header .container::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  bottom: -120px; right: -100px;
  background: radial-gradient(circle, #f85a40 0%, #7a2010 65%, transparent 100%);
  filter: blur(80px); opacity: 0.13;
  pointer-events: none; z-index: 0;
  max-width: 45vw;
}
 
/* Eyebrow label — page name above the heading */
.breadcrumbs .page-header .container {
  position: relative; z-index: 2;
}
 
/* Heading */
.breadcrumbs .page-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-primary);
  margin-bottom: 18px;
  line-height: 1.15;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
 
/* Teal underline accent on heading */
.breadcrumbs .page-header h2::after {
  content: '';
  position: absolute; display: block;
  width: 50px; height: 3px;
  background: linear-gradient(90deg, #008374, #00e5c9);
  left: 0; right: 0; bottom: 0;
  margin: auto;
  border-radius: 2px;
}
 
/* Body text */
.breadcrumbs .page-header p {
  color: rgba(255,255,255,0.52);
  font-size: 15px;
  line-height: 1.75;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-primary);
  font-weight: 400;
}
 
/* ── Breadcrumb trail nav bar ── */
.breadcrumbs nav {
  background: rgba(5, 20, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,183,161,0.15);
  border-bottom: 1px solid rgba(0,183,161,0.08);
  padding: 14px 0;
}
 
.breadcrumbs nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-primary);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.3px;
  align-items: center;
}
 
.breadcrumbs nav ol a {
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
  text-decoration: none;
}
 
.breadcrumbs nav ol a:hover {
  color: #00e5c9;
  text-decoration: none;
}
 
/* Current page — highlighted in teal */
.breadcrumbs nav ol li:last-child {
  color: rgba(0,229,201,0.80);
}
 
.breadcrumbs nav ol li+li {
  padding-left: 10px;
}
 
/* Separator — chevron instead of slash */
.breadcrumbs nav ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: rgba(0,183,161,0.40);
  content: "›";
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .breadcrumbs .page-header {
    padding: 110px 0 50px;
    min-height: auto;
  }
  .breadcrumbs .page-header h2 {
    font-size: 30px;
  }
  .breadcrumbs .page-header p {
    font-size: 14px;
  }
}
/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background: var(--color-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: rgba(248, 90, 64, 0.8);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: var(--color-primary) transparent var(--color-primary) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.topbar {
  background: #00796b;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  color: #fff;
  padding: 0;
}

/* Contact Info Styling */
.topbar .contact-info {
  display: flex;
  flex-wrap: wrap; /* Wraps items to a new line if necessary */
  justify-content: center; /* Centers the items on smaller screens */
  gap: 10px; /* Adds spacing between items */
}

.topbar .contact-info i {
  font-style: normal;
  color: #fff;
  line-height: 1;
}

.topbar .contact-info i a,
.topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

@media (max-width: 575px) {
  .topbar .contact-info {
    flex-direction: row; /* Stacks items vertically on mobile */
    display: flex; /* Centers items in the vertical stack */
  }

  .topbar .contact-info i a,
  .topbar .contact-info i span {
    font-size: 13px;
  }
}

/* Social Links Styling */
.topbar .social-links {
  display: flex;
  gap: 10px;
}

.topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  transition: 0.3s;
}

.topbar .social-links a:hover {
  color: #fff;
}


.header {
  transition: all 0.5s;
  z-index: 999;
  height: 90px;
  background:
    radial-gradient(ellipse 130% 200% at 0% 50%, rgba(0,25,22,0.95) 0%, transparent 55%),
    radial-gradient(ellipse 100% 180% at 100% 50%, rgba(5,10,20,0.85) 0%, transparent 55%),
    linear-gradient(135deg, #011a16 0%, #008374 45%, #006a5d 75%, #030f0e 100%);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  position: relative;
}


/* the header fixed  */
.header.sticked {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 70px;
  background: transparent !important;
  box-shadow: none;
  border-bottom: none;
  transition: all 0.5s;
  overflow: visible;
  z-index: 9992;
}

/* Blur lives on pseudo-element so it never traps the fixed navbar */
.header.sticked::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 18, 15, 0.45);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(0, 183, 161, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 183, 161, 0.14);
  z-index: -1;
  pointer-events: none;
}

.header .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #fff;
  font-family: var(--font-primary);
}

.header .logo h1 span {
  color: #f96f59;
}

.sticked-header-offset {
  margin-top: 70px;
}


/*--------------------------------------------------------------
# Hero page
--------------------------------------------------------------*/

#lottie-container {
  max-width: 400px;
  width: 100%;
  height: 400px;
  margin: 0 auto;
  transform-origin: center;
  opacity: 0;
  transform: translateX(420px) scale(0.8);
  will-change: transform, opacity;
  /* Escapes hero stacking context, floats above #main (z-index:10) */
  position: relative;
  z-index: 20;
}


/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;  
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-secondary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }
  
  .navbar a:hover:before,
  .navbar .active:before,
  .navbar .active-parent:before {
    visibility: visible;
    width: 100%;
  }
  
  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar .active-parent {
    color: #fff;
  }
  
  .navbar .dropdown ul a.active {
    color: red;
  }
  
  .navbar .dropdown ul a:hover {
    color: red;
  }
  .navbar a.active:before {
    visibility: visible;
    width: 100%;
  }

  .navbar>ul>li>a.active:before {
    visibility: visible;
    width: 100%;
  }

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 20, 18, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.45),
      0 2px 8px rgba(0,0,0,0.3),
      inset 0 1px 0 rgba(0, 183, 161, 0.15);
    border: 1px solid rgba(0, 183, 161, 0.18);
    transition: 0.3s;
    border-radius: 12px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.3px;
  }

  .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: #00e5c9;
    background: rgba(0, 183, 161, 0.10);
    padding-left: 26px;
  }

  .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 (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 99999;
  }

.navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: #011a16;
    overflow-y: auto;
    overflow-x: visible;
    transition: 0.3s;
    z-index: 99999;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  .navbar .getstarted,
  .navbar .getstarted:focus {
    background: var(--color-primary);
    padding: 8px 20px;
    border-radius: 4px;
    margin: 15px;
    color: #fff;
  }

  .navbar .getstarted:hover,
  .navbar .getstarted:focus:hover {
    color: #fff;
    background: rgba(0, 131, 116, 0.8);
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static !important;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    background-color: #012e27;
    border: 1px solid rgba(0, 183, 161, 0.30);
    border-radius: 8px;
    overflow: visible !important;
    z-index: 99999 !important;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .mobile-nav-show {
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 99999;
    margin-right: 10px;
  }

  .mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 99999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99990;
  }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about {
  perspective: 1400px;
}

.about .content {
  transform-style: preserve-3d;
}

.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.about .call-us {
  left: 10%;
  right: 10%;
  bottom: 0;
  background-color: #fff;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
}

.about .call-us h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about .call-us p {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--color-primary);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--color-primary) 50%, rgba(0, 131, 116, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(0, 131, 116, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about .play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.about .play-btn:hover:after {
  border-left: 15px solid var(--color-primary);
  transform: scale(20);
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/

.featured-services {
  padding: 60px 0;
}

.featured-services .service-item {
  padding: 40px;
  background: #fff;
  height: 100%;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.featured-services .service-item:hover {
  box-shadow: 0 20px 60px rgba(0, 131, 116, 0.20), 0 8px 24px rgba(0, 0, 0, 0.10);
}

.featured-services .service-item h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 2px solid #eeeeee;
  transition: 0.3s;
  border-color: var(--color-primary);
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  border-left: 5px solid var(--color-secondary);
  padding-left: 20px ;
  text-align: justify;
}

.featured-services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: var(--color-primary);
}


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 40px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-slide img {
  transition: 0.1s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter {
  padding: 40px 0;
}

.stats-counter .stats-item {
  padding: 20px;
  border-bottom: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
  transform: perspective(600px) rotateX(0) rotateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.05);
  cursor: default;
}

.stats-counter .stats-item:hover {
  transform: perspective(600px) rotateX(-4deg) rotateY(4deg) translateZ(10px);
  box-shadow: 10px 20px 40px rgba(0, 131, 116, 0.15), 2px 4px 10px rgba(0,0,0,0.06);
}

.stats-counter .stats-item .purecounter {
  min-width: 90px;
  padding-right: 15px;
}

.stats-counter .stats-item i {
  font-size: 44px;
  line-height: 0;
  margin-right: 15px;
}

.stats-counter .stats-item span {
  font-size: 40px;
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 40px;
}

.stats-counter .stats-item p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .container {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/cta-bg.png") center center;
  background-size: cover;
  padding: 100px 60px;
  border-radius: 15px;
  overflow: hidden;
  transform-origin: top center;
  transform-style: preserve-3d;
}

.call-to-action {
  perspective: 1200px;
}

.call-to-action h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.call-to-action p {
  color: #fff;
  margin-bottom: 20px;
}

.call-to-action .play-btn {
  width: 94px;
  height: 94px;
  margin-bottom: 20px;
  background: radial-gradient(var(--color-primary) 50%, rgba(0, 131, 116, 0.4) 52%);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.call-to-action .play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(0, 131, 116, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.call-to-action .play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.call-to-action .play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.call-to-action .play-btn:hover:after {
  border-left: 15px solid var(--color-primary);
  transform: scale(20);
}

.call-to-action .cta-btn {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 48px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.call-to-action .cta-btn:hover {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Our Services Section
--------------------------------------------------------------*/
.services {
  padding: 60px 0;
  perspective: 1600px;
  overflow: visible;
}

.services .row {
  transform-style: preserve-3d;
}

.services .service-item {
  padding: 40px;
  background: #fff;
  height: 100%;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.services .service-item:hover {
  box-shadow: 0 20px 60px rgba(0, 131, 116, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: var(--color-default);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #eeeeee;
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid #eeeeee;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: var(--color-primary);
}

.services .service-item:hover .icon:before {
  background: #00b6a1;
}

.services .service-item:hover h3 {
  border-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 10px;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 10px;
  box-shadow: 0px 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
  background: #fff;
  border-radius: 10px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #000;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #009d8b;
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/* # Portfolio Section*/

.portfolio .portfolio-flters {
  padding: 0 0 20px 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-flters li:hover,
.portfolio .portfolio-flters li.filter-active {
  color: var(--color-primary);
}

.portfolio .portfolio-flters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-wrap {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 100%;
  overflow: hidden;
}

/*--------------------------------------------------------------
ADDED FROM LINE 1149 TO 1237
--------------------------------------------------------------*/

/* Portfolio Container */
.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}

/* Portfolio Item */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

/* Portfolio Image */
.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Portfolio Info */
.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.portfolio-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .portfolio-item img {
    height: 350px;
  }

  .portfolio-info {
    padding: 15px;
  }

  .portfolio-info h3 {
    font-size:16px;
  }

  .portfolio-info p {
    font-size: 12px;
  }
}

.portfolio .portfolio-wrap {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.portfolio .portfolio-wrap:hover {
  background-color: rgba(26, 144, 130, 0.4);
  transform: perspective(700px) translateZ(14px) scale(1.03);
  box-shadow: 0 24px 55px rgba(0, 131, 116, 0.25), 0 10px 20px rgba(0, 0, 0, 0.10);
}

/* Horizontal scroll portfolio */
.portfolio-h-section {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #f6f6f6;
}

.portfolio-h-track {
  will-change: transform;
}

.portfolio-h-item {
  transition: box-shadow 0.3s ease;
}

.portfolio-h-item:hover {
  box-shadow: 0 20px 60px rgba(0, 131, 116, 0.22), 0 8px 24px rgba(0,0,0,0.1);
}

.portfolio-h-item img {
  transition: transform 0.5s ease;
}

.portfolio-h-item:hover img {
  transform: scale(1.05);
}
/* Horizontal scroll portfolio */
.portfolio-h-section {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #f6f6f6;
}

.portfolio-h-track {
  will-change: transform;
}

.portfolio-h-item {
  transition: box-shadow 0.3s ease;
}

.portfolio-h-item:hover {
  box-shadow: 0 20px 60px rgba(0, 131, 116, 0.22), 0 8px 24px rgba(0,0,0,0.1);
}

.portfolio-h-item img {
  transition: transform 0.5s ease;
}

.portfolio-h-item:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  font-size: 16px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #9c9c9c;
  font-size: 12px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: #009d8b;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: white;
  height: 100%;
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: #009d8b;
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0;
  padding: 0;
}


/*--------------------------------------------------------------
# Our Team Section
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  overflow: hidden;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
}

.team .member img {
  border-radius: 10px;
  overflow: hidden;
}

.team .member .member-content {
  padding: 0 20px 30px 20px;
}

.team .member h4 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 2px;
  font-size: 20px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 14px;
  color: #6c757d;
}

.team .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #6c757d;
}

.team .member .social {
  margin-top: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.team .member .social a {
  color: #a2a2a2;
  transition: 0.3s;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbbbbb;
}

.team .member .social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(108, 117, 125, 0.15);
  background: #fff;
  height: 100%;
  position: relative;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  color: #555555;
  text-align: center;
}

.pricing .icon {
  margin: 30px auto 30px auto;
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.pricing .icon i {
  color: #fff;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  line-height: 0;
}

.pricing .icon::before {
  position: absolute;
  content: "";
  height: 86px;
  width: 86px;
  border-radius: 50%;
  background: #87c1bb;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.pricing .icon::after {
  position: absolute;
  content: "";
  height: 102px;
  width: 102px;
  border-radius: 50%;
  background: #d2eeeb;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-2px);
}

.pricing h4 {
  font-size: 48px;
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-secondary);
  margin-bottom: 0;
  text-align: center;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: rgba(108, 117, 125, 0.8);
  font-size: 18px;
  font-weight: 400;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: #6c757d;
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: rgba(108, 117, 125, 0.5);
}

.pricing ul .na i {
  color: rgba(108, 117, 125, 0.5);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  display: inline-block;
  padding: 10px 40px;
  border-radius: 50px;
  color: var(--color-primary);
  border: 1px solid rgba(0, 131, 116, 0.2);
  transition: none;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.pricing .featured {
  z-index: 10;
  border: 3px solid var(--color-primary);
}

@media (min-width: 992px) {
  .pricing .featured {
    transform: scale(1.15);
  }
}

/*--------------------------------------------------------------
# Frequently Asked Questions Section
--------------------------------------------------------------*/

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.faq .content p {
  font-size: 15px;
  color: #6c757d;
}

.faq .accordion-item {
  border: 0;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.faq .accordion-item:last-child {
  margin-bottom: 0;
}

.faq .accordion-collapse {
  border: 0;
}

.faq .accordion-button {
  padding: 20px 50px 20px 20px;
  font-weight: 600;
  border: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-default);
  text-align: left;
  background: #fff;
  box-shadow: none;
  border-radius: 10px;
}

.faq .accordion-button .num {
  padding-right: 10px;
  font-size: 20px;
  line-height: 0;
  color: var(--color-primary);
}

.faq .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  border-bottom: 0;
  box-shadow: none;
}

.faq .accordion-button:after {
  position: absolute;
  right: 20px;
  top: 20px;
}

.faq .accordion-body {
  padding: 0 40px 30px 45px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
 

  /*--------------------------------------------------------------
   # Frequently Asked Questions for FAQ page
  ------------------------------------------------------------*/

  .faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  .section-title {
    text-align: center;
    margin-bottom: 30px;
  }
  .section-title h2 {
font-size: 32px;
font-weight: 600;
 }

  .faq__item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }

  .faq__item__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: #f8f8f8;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .faq__item__title:hover {
    background-color: #f0f0f0;
  }

  .faq__item__icon {
    position: relative;
    width: 20px;
    height: 20px;
  }

  .faq__item__icon-bar {
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease;
  }

  .faq__item__icon-bar:first-child {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
  }

  .faq__item__icon-bar:last-child {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
  }

  .faq__item__title.active .faq__item__icon-bar:last-child {
    transform: translateX(-50%) scaleY(0);
  }

  .faq__item__content {
    display: none;
    padding: 15px 20px;
    background-color: #ffffff;
  }

  .faq__item__title.active + .faq__item__content {
    display: block;
  }

  .faq-section {
margin-bottom: 60px;  
 }

 .faq__item:last-child {
margin-bottom: 40px;  
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-posts article {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: #6f6f6f;
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--color-default);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--color-primary);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: #3c3c3c;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section — Dark 3D Style
--------------------------------------------------------------*/
.contact {
  position: relative;
  background: #071a16;
  padding: 100px 0 120px;
  overflow: visible;
  scroll-margin-top: 70px;
}
 
/* Perspective bg grid */
.contact .contact-bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,131,116,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,131,116,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(55deg) translateY(20%) scale(1.5);
  transform-origin: bottom center;
  opacity: 0.5;
}
 
/* Ambient blobs */
.contact .contact-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.contact .contact-blob-1 {
  width: 440px; height: 440px; top: -120px; left: -130px;
  background: radial-gradient(circle, #008374 0%, #003d35 65%, transparent 100%);
  opacity: 0.16; max-width: 55vw;
}
.contact .contact-blob-2 {
  width: 340px; height: 340px; bottom: -100px; right: -100px;
  background: radial-gradient(circle, #f85a40 0%, #7a2010 65%, transparent 100%);
  opacity: 0.12; max-width: 45vw;
}
 
/* Scanlines */
.contact::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px
  );
  pointer-events: none; z-index: 0;
}
 
/* Section header */
.contact .section-header {
  position: relative; z-index: 2;
}
 
.contact .section-header h2 {
  font-size: 32px; font-weight: 700; color: #fff;
  font-family: var(--font-primary);
  padding-bottom: 20px; position: relative;
  display: inline-block; margin-bottom: 0;
}
 
.contact .section-header h2::after {
  content: ''; position: absolute; display: block;
  width: 50px; height: 3px; background: #008374;
  left: 0; right: 0; bottom: 0; margin: auto;
}
 
.contact .section-header p {
  color: rgba(255,255,255,0.45);
  font-size: 15px; line-height: 1.7; margin-bottom: 0;
}
 
/* ── Row context ── */
.contact .row.gx-lg-0 {
  position: relative; z-index: 2;
  perspective: none;
  transform-style: flat;
}
 
/* ── Info panel ── */
.contact .info-container {
  background: linear-gradient(145deg, #0d2e2a 0%, #061a16 55%, #020f0d 100%);
  border: 1px solid rgba(0,183,161,0.18);
  border-radius: 20px 0 0 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
 
/* Shine overlay */
.contact .info-container::before {
  content: '';
  position: absolute; inset: 0; border-radius: 20px 0 0 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
 
/* ── Individual info item ── */
.contact .info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0,183,161,0.06);
  border: 1px solid rgba(0,183,161,0.12);
  border-radius: 14px;
  padding: 18px 20px;
  width: 100%;
  margin-bottom: 0;
  color: #fff;
  position: relative; overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.30);
}
 
.contact .info-item::before {
  content: '';
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 55%);
  pointer-events: none;
}
 
.contact .info-item:hover {
  border-color: rgba(0,229,201,0.28);
  box-shadow: 0 10px 32px rgba(0,0,0,0.45), 0 0 18px rgba(0,183,161,0.06);
  transform: translateX(4px);
}
 
.contact .info-item:last-child { margin-bottom: 0; }
 
.contact .info-item i {
  font-size: 20px;
  color: #00e5c9;
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(0,183,161,0.12);
  border: 1px solid rgba(0,183,161,0.20);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
 
.contact .info-item:hover i {
  background: rgba(0,183,161,0.22);
}
 
.contact .info-item h4 {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.30); font-family: var(--font-primary);
  margin: 0 0 4px; font-weight: 700;
}
 
.contact .info-item p {
  font-size: 13.5px; color: rgba(255,255,255,0.72);
  margin: 0; line-height: 1.55;
}
 
/* ── Form panel ── */
.contact .php-email-form {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #0a2420 0%, #051510 55%, #020f0d 100%);
  border: 1px solid rgba(0,183,161,0.15);
  border-left: none;
  border-radius: 0 20px 20px 0;
  padding: 36px 36px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.03);
}
 
.contact .php-email-form::before {
  content: '';
  position: absolute; inset: 0; border-radius: 0 20px 20px 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
 
.contact .php-email-form .form-group {
  padding-bottom: 10px;
  position: relative;
}
 
/* Focus glow line under each input */
.contact .php-email-form .form-group::after {
  content: '';
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e5c9, transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 1px;
}
.contact .php-email-form .form-group:focus-within::after {
  transform: scaleX(1);
}
 
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,183,161,0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-primary);
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  box-shadow: none;
}
 
.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(255,255,255,0.22);
}
 
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: rgba(0,229,201,0.45);
  background: rgba(0,183,161,0.06);
  box-shadow: 0 0 0 3px rgba(0,229,201,0.07);
}
 
.contact .php-email-form textarea {
  padding: 13px 16px;
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
 
/* Status messages */
.contact .php-email-form .error-message {
  display: none; color: #ff7a5c;
  background: rgba(248,90,64,0.10);
  border: 1px solid rgba(248,90,64,0.25);
  border-radius: 10px; padding: 12px 18px;
  font-size: 13px; font-family: var(--font-primary);
}
 
.contact .php-email-form .sent-message {
  display: none; color: #00e5c9;
  background: rgba(0,183,161,0.10);
  border: 1px solid rgba(0,183,161,0.28);
  border-radius: 10px; padding: 12px 18px;
  font-size: 13px; font-family: var(--font-primary);
}
 
.contact .php-email-form .loading {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 18px; text-align: center;
  color: rgba(255,255,255,0.50);
  font-size: 13px; font-family: var(--font-primary);
}
 
.contact .php-email-form .loading:before {
  content: "";
  display: inline-block; border-radius: 50%;
  width: 18px; height: 18px;
  margin: 0 10px -4px 0;
  border: 2px solid #00e5c9;
  border-top-color: transparent;
  animation: animate-loading 1s linear infinite;
}
 
/* Submit button */
.contact .php-email-form button[type=submit] {
  font-family: var(--font-primary);
  font-weight: 600; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 44px; border-radius: 50px; border: none; cursor: pointer;
  background: rgba(0,131,116,0.22);
  border: 2px solid rgba(0,183,161,0.50) !important;
  color: #fff;
  transition: background 0.35s, border-color 0.35s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
 
.contact .php-email-form button[type=submit]::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 55%);
  pointer-events: none;
}
 
.contact .php-email-form button[type=submit]:hover {
  background: #008374 !important;
  border-color: #008374 !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,131,116,0.40);
}
 
.contact .php-email-form button[type=submit]:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}
 
/* ── Responsive ── */
@media (max-width: 992px) {
  .contact .info-container {
    border-radius: 20px 20px 0 0;
  }
  .contact .php-email-form {
    border-left: 1px solid rgba(0,183,161,0.15);
    border-top: none;
    border-radius: 0 0 20px 20px;
  }
}
 
@media (max-width: 576px) {
  .contact { padding: 70px 0 90px; }
  .contact .info-container,
  .contact .php-email-form { border-radius: 16px; border-left: 1px solid rgba(0,183,161,0.15); }
  .contact .php-email-form { padding: 28px 20px; margin-top: 16px; }
}
 
@keyframes animate-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero-scroll-zone {
  height: 200vh;
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 0%;
}

.hero {
  width: 100%;
  position: sticky;
  top: 0;
  height: 100vh;
  /* z-index removed — hero must NOT create a stacking context
     so #lottie-container can escape above #main */
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%,   #001f1c 0%, transparent 58%),
    radial-gradient(ellipse 100% 70% at 100% 100%, #0d1a08 0%, transparent 55%),
    radial-gradient(ellipse 70%  55% at 50% 40%,  #002a22 0%, transparent 70%),
    radial-gradient(ellipse 100% 40% at 50% 110%, rgba(0,131,116,0.20) 0%, transparent 65%),
    linear-gradient(155deg, #020f0d 0%, #040d0b 35%, #060e14 70%, #030c09 100%);
  padding: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* STACK-BACK additions */
  will-change: transform;
  transform-origin: top center;
  border-radius: 0;
}
.hero .container.position-relative {
  transform-style: preserve-3d;
}

@media (min-width: 1365px) {
  .hero {
    background-attachment: fixed;
  }
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-bottom: 30px;
}

.hero .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.3s;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: perspective(500px) translateZ(0);
}

.hero .btn-get-started:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: perspective(500px) translateZ(10px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.hero .btn-get-started:active {
  transform: perspective(500px) translateZ(-2px) scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero .btn-get-started:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: #fff;
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover i {
  color: #fff;
}

@media (max-width: 640px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 14px;
  }
}

.hero .icon-boxes {
  padding-bottom: 60px;
}

@media (min-width: 1200px) {
  .hero .icon-boxes:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(50% + 20px);
    background-color: #fff;
  }
}

.hero .icon-box {
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
  background: #008d7d;
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  height: 100%;
  width: 100%;
  text-align: center;
}

.hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.hero .icon-box .title a {
  color: #fff;
  transition: 0.3s;
}

.hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
}

.hero .icon-box:hover {
  background: #009786;
}

.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon {
  color: #fff;
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog .blog-pagination {
  margin-top: 30px;
  color: #555555;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
  border-radius: 10px;
}

.blog .blog-pagination li a {
  color: var(--color-default);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: var(--color-primary);
  color: #fff;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: var(--color-white);
}

/*--------------------------------------------------------------
# Blog Posts List
--------------------------------------------------------------*/
.blog .posts-list article {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog .posts-list .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog .posts-list .post-category {
  font-size: 16px;
  color: #555555;
  margin-bottom: 10px;
}

.blog .posts-list .title {
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .posts-list .title a {
  color: var(--color-default);
  transition: 0.3s;
}

.blog .posts-list .title a:hover {
  color: var(--color-primary);
}

.blog .posts-list .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog .posts-list .post-author-list {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog .posts-list .post-date {
  font-size: 14px;
  color: #3c3c3c;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Details
--------------------------------------------------------------*/
.blog .blog-details {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.blog .blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.blog .blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--color-default);
}

.blog .blog-details .content {
  margin-top: 20px;
}

.blog .blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .blog-details .content blockquote {
  overflow: hidden;
  background-color: rgba(34, 34, 34, 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .blog-details .content blockquote p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-secondary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .blog-details .meta-top {
  margin-top: 20px;
  color: #6c757d;
}

.blog .blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog .blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--color-primary);
}

.blog .blog-details .meta-top a {
  color: #6c757d;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid rgba(34, 34, 34, 0.15);
}

.blog .blog-details .meta-bottom i {
  color: #555555;
  display: inline;
}

.blog .blog-details .meta-bottom a {
  color: rgba(34, 34, 34, 0.8);
  transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--color-default);
  content: ",";
}

.blog .blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog .post-author {
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.blog .post-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog .post-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--color-default);
}

.blog .post-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
  color: rgba(34, 34, 34, 0.5);
  margin-right: 5px;
}

.blog .post-author p {
  font-style: italic;
  color: rgba(108, 117, 125, 0.8);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0;
  color: var(--color-default);
}

.blog .sidebar .sidebar-item+.sidebar-item {
  margin-top: 40px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.3);
  padding: 5px 10px;
  position: relative;
  border-radius: 50px;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 50px;
  width: calc(100% - 60px);
}

.blog .sidebar .search-form form input[type=text]:focus {
  outline: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 25px;
  margin: -1px;
  background: var(--color-primary);
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: rgba(0, 131, 116, 0.8);
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--color-default);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: var(--color-primary);
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: rgba(34, 34, 34, 0.4);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--color-default);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: var(--color-primary);
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: rgba(34, 34, 34, 0.4);
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #555555;
  font-size: 14px;
  padding: 6px 20px;
  margin: 0 6px 8px 0;
  border: 1px solid #d5d5d5;
  display: inline-block;
  transition: 0.3s;
  border-radius: 50px;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: rgba(85, 85, 85, 0.8);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Blog Comments
--------------------------------------------------------------*/
.blog .comments {
  margin-top: 30px;
}

.blog .comments .comments-count {
  font-weight: bold;
}

.blog .comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .comments .comment .comment-img {
  margin-right: 14px;
}

.blog .comments .comment .comment-img img {
  width: 60px;
}

.blog .comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .comments .comment h5 a {
  font-weight: bold;
  color: var(--color-default);
  transition: 0.3s;
}

.blog .comments .comment h5 a:hover {
  color: var(--color-primary);
}

.blog .comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--color-primary);
}

.blog .comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .comments .comment time {
  display: block;
  font-size: 14px;
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 5px;
}

.blog .comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.blog .comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .comments .reply-form p {
  font-size: 14px;
}

.blog .comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form input:focus {
  box-shadow: none;
  border-color: rgba(0, 131, 116, 0.8);
}

.blog .comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: rgba(0, 131, 116, 0.8);
}

.blog .comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .comments .reply-form .btn-primary {
  border-radius: 50px;
  padding: 14px 40px;
  border: 0;
  background-color: var(--color-secondary);
}

.blog .comments .reply-form .btn-primary:hover {
  background-color: rgba(248, 90, 64, 0.8);
}

/*--------------------------------------------------------------
# Footer  — Dark Modern  (global — works on every page)
--------------------------------------------------------------*/
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%,  #001a17 0%, transparent 55%),
    radial-gradient(ellipse 80%  60% at 100% 100%, #0a0800 0%, transparent 50%),
    linear-gradient(160deg, #040e0c 0%, #060b10 55%, #040c09 100%);
  padding: 0;
  color: #fff;
  font-family: var(--font-primary);
  overflow: hidden;
}
 
/* Top teal separator line */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,201,0.35), transparent);
  z-index: 2;
}
 
/* CRT scanline texture */
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.006) 2px, rgba(255,255,255,0.006) 4px
  );
  pointer-events: none; z-index: 0;
}
 
/* ── Content wrapper ── */
.footer .container {
  position: relative; z-index: 2;
  padding-top: 60px;   /* pushes columns away from the top separator line */
}
 
/* ── Logo ── */
.footer .footer-info .logo {
  line-height: 0;
  margin-bottom: 20px;
  display: inline-block;
}
 
.footer .footer-info .logo img {
  max-height: 40px;
  margin-right: 6px;
}
 
.footer .footer-info .logo span {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-primary);
}
 
.footer .footer-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-primary);
  line-height: 1.75;
  max-width: 300px;
}
 
/* ── Social icons ── */
.footer .social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
 
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0,183,161,0.18);
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
  margin-right: 0;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s;
  text-decoration: none;
}
 
.footer .social-links a:hover {
  color: #00e5c9;
  border-color: rgba(0,183,161,0.50);
  background: rgba(0,183,161,0.14);
  transform: translateY(-3px);
}
 
/* ── Column headings ── */
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-family: var(--font-primary);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
 
/* ── Extra column spacing ── */
.footer .col-lg-2,
.footer .col-lg-3,
.footer .col-lg-5 {
  padding-left: 32px;
  padding-right: 32px;
}
 
@media (max-width: 992px) {
  .footer .col-lg-2,
  .footer .col-lg-3,
  .footer .col-lg-5 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
 
/* Divider lines between columns on desktop */
.footer .col-lg-2:not(:last-child),
.footer .col-lg-3:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.05);
}
 
@media (max-width: 992px) {
  .footer .col-lg-2:not(:last-child),
  .footer .col-lg-3:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 28px;
    margin-bottom: 8px;
  }
}
 
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, #008374, #00e5c9);
  border-radius: 2px;
}
 
/* ── Footer link lists ── */
.footer .footer-links {
  margin-bottom: 30px;
}
 
.footer .footer-links ul {
  list-style: none;
  padding: 0; margin: 0;
}
 
.footer .footer-links ul li {
  padding: 9px 0;
  display: flex;
  align-items: center;
}
 
.footer .footer-links ul li:first-child { padding-top: 0; }
 
.footer .footer-links ul i {
  padding-right: 6px;
  color: rgba(0,229,201,0.50);
  font-size: 12px; line-height: 0;
}
 
.footer .footer-links ul a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color 0.3s, padding-left 0.3s, letter-spacing 0.3s;
}
 
.footer .footer-links ul a:hover {
  color: rgba(255,255,255,0.90);
  padding-left: 6px;
  letter-spacing: 0.3px;
}
 
/* ── Footer contact block ── */
.footer .footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-family: var(--font-primary);
}
 
.footer .footer-contact strong {
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-top: 10px;
  margin-bottom: 2px;
}
 
.footer .footer-contact a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.3s;
}
 
.footer .footer-contact a:hover { color: #00e5c9; }
 
/* ── Bottom bar ── */
.footer .container.mt-4 {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 40px !important;
}
 
.footer .copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
}
 
.footer .copyright strong {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}
 
.footer .credits {
  padding-top: 4px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-primary);
}
 
.footer .credits a {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
 
.footer .credits a:hover { color: #00e5c9; }
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .footer .footer-info p { max-width: 100%; }
}
 











/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.project-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.project-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.project-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.project-info li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  font-size: 16px;
}

.project-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #9c9c9c;
  font-size: 12px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: white;
  height: 100%;
  margin-bottom: 100px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: #009d8b;
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0;
  padding: 0;
}

.portfolio-containers{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.portfolio-detail{
  text-align: justify;
  margin-bottom: 10px;
  padding-bottom: 0px;
  padding-top: 10px;
}

.portfolio-detail h2{
  text-align: center;
  font-weight: 600;
  padding: 20px;
}

.testimonial-item{
  padding: 10px;
}

/* projects section */

.horizontal-line{
  border: none; 
  height: 2px; 
  background-color: var(--color-primary); 
  margin: 20px 0;
}

.projects h3{
  padding-bottom: 20px;
  text-align: center;
  font-weight: 600;
  margin-top: 0;
  padding-top: 0;
  text-transform: uppercase;
}

.project-detail{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

}

.project-card {
  background-color: #f9f9f9; 
  border: 2px solid #ddd; 
  border-radius: 8px; 
  padding: 10px; 
  width: 100%;
  text-align: left;
  position: relative;
}

.project-content{
  margin-bottom: 60px;
}

.project-card:hover{
  border-color: var(--color-primary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .project-detail {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .project-detail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-detail {
    grid-template-columns: 1fr;
  }
}

.project-card ul {
  list-style-type: none; 
  padding: 0; 
  margin: 0; 
  font-size: 15px;
}


.project-card li {
  display: flex;
  flex-direction: column;
  padding-bottom: 7px;
  font-size: 16px;
}
.project-card li:last-child{
  padding-bottom: 5px;
}



.project-card ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #9c9c9c;
  font-size: 12px;
}


.project-card .btn-visit {
  position: absolute;
  bottom: 10px;
  padding: 8px 30px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: 0.5s;
  border: 2px solid var(--color-primary);
}


.project-card .btn-visit:hover {
  background: transparent;
  color: var(--color-primary);
}


/*--------------------------------------------------------------
# modals
--------------------------------------------------------------*/

.modal{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  display:none;
  overflow: hidden;
}

.modal-content{
  background-color: #fff;
  margin-top: 100px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 24px;
  border-radius: 4px;
  z-index: 4;
}

.modal-content h2{
  color: #008374;
}

.modal-header .close{
  float: right;
  border: none;
  
}

.modal-header .close:hover{
  background-color: darkgray;
}

/* ============================================================
   DART DIGITAL TECHNOLOGIES — 3D DEPTH LAYER
   All brand colors preserved. Pure depth & motion only.
   ============================================================ */

/* Testimonial cards — tilt up on hover */
.testimonials .testimonial-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonials .testimonial-item:hover {
  transform: perspective(700px) rotateX(-3deg) translateZ(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.11);
}

/* CTA button — lift and press */
.call-to-action .cta-btn {
  transform: perspective(400px) translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.5s, border 0.5s;
}
.call-to-action .cta-btn:hover {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  transform: perspective(400px) translateZ(10px) scale(1.04);
  box-shadow: 0 14px 35px rgba(0, 131, 116, 0.45);
}
.call-to-action .cta-btn:active {
  transform: perspective(400px) translateZ(0) scale(0.97);
  box-shadow: none;
}

/* Scroll-to-top button 3D pop */
.scroll-top {
  transition: all 0.4s, transform 0.25s ease, box-shadow 0.25s ease;
}
.scroll-top:hover {
  transform: perspective(300px) translateZ(10px) scale(1.12);
  box-shadow: 0 12px 28px rgba(248, 90, 64, 0.55);
}

/* Footer links — slide forward */
.footer .footer-links ul a {
  display: inline-block;
  transition: color 0.3s, transform 0.3s ease, letter-spacing 0.3s;
}
.footer .footer-links ul a:hover {
  color: #fff;
  transform: translateX(5px) perspective(200px) translateZ(5px);
  letter-spacing: 0.4px;
}

/* Blog / recent posts depth */
.recent-posts article {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.recent-posts article:hover {
  transform: perspective(900px) rotateX(-2deg) translateZ(10px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

/* Pricing cards depth */
.pricing .pricing-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing .pricing-item:hover {
  transform: perspective(700px) translateZ(14px) rotateX(-2deg);
  box-shadow: 0 26px 65px rgba(0, 131, 116, 0.14), 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* Team member cards depth */
.team .member {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team .member:hover {
  transform: perspective(700px) rotateX(-4deg) rotateY(2deg) translateZ(12px);
  box-shadow: 0 26px 65px rgba(0, 131, 116, 0.14);
}

/* Buy / Visit buttons — 3D press */
.pricing .buy-btn,
.portfolio-details .portfolio-info .btn-visit,
.project-card .btn-visit {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s, color 0.3s;
  transform: perspective(300px) translateZ(0);
}
.pricing .buy-btn:hover,
.portfolio-details .portfolio-info .btn-visit:hover,
.project-card .btn-visit:hover {
  transform: perspective(300px) translateZ(8px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 131, 116, 0.35);
}
.pricing .buy-btn:active,
.portfolio-details .portfolio-info .btn-visit:active,
.project-card .btn-visit:active {
  transform: perspective(300px) translateZ(-2px) scale(0.97);
}

/* FAQ accordion items */
.faq .accordion-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.faq .accordion-item:hover {
  transform: perspective(600px) translateZ(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

/* Icon boxes on hero section */
.hero .icon-box {
  transition: background 0.3s ease-in-out, transform 0.4s ease, box-shadow 0.4s ease;
}
.hero .icon-box:hover {
  background: #009786;
  transform: perspective(600px) translateZ(12px) rotateX(-3deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Modal 3D entrance */
.modal-content {
  transform: perspective(800px) rotateX(4deg) translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
  opacity: 0;
}
.modal[style*="block"] .modal-content {
  transform: perspective(800px) rotateX(0deg) translateY(0);
  opacity: 1;
}
/* ============================================================
   DART 3D SCROLL CARDS SECTION
   ============================================================ */

/* Section is tall — height = number of cards × scroll distance per card */
.cards-3d-section {
  position: relative;
  height: auto;
  background: transparent;
  overflow: visible;
  padding: 0;
  clip: unset;
}

/* The sticky container fills the viewport while scrolling */
.cards-3d-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.8s ease;
  --c3d-grad-a: #008374;
  --c3d-grad-b: #f85a40;

  /* Rich layered dark background */
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%,   #001f1c 0%, transparent 60%),
    radial-gradient(ellipse 100% 70% at 100% 100%, #1a0800 0%, transparent 55%),
    radial-gradient(ellipse 80%  60% at 50% 50%,  #080d14 0%, transparent 80%),
    linear-gradient(160deg, #060e0d 0%, #0a0f1a 40%, #0d0608 100%);
}

/* Radial gradient vignette that shifts with card colors */
.cards-3d-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 50%,  color-mix(in srgb, var(--c3d-grad-a) 28%, transparent), transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 50%,  color-mix(in srgb, var(--c3d-grad-b) 22%, transparent), transparent 60%),
    radial-gradient(ellipse 30% 40% at 50% 15%,  rgba(255,255,255,0.025), transparent 70%),
    radial-gradient(ellipse 25% 35% at 50% 90%,  rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Scanline texture for depth */
.cards-3d-sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Ensure cards render above overlays */
.cards-3d-perspective {
  z-index: 5;
  position: relative;
}

/* Perspective-space wrapper for the deck */
.cards-3d-perspective {
  perspective: 1200px;
  perspective-origin: 50% 45%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The deck container — preserve 3d for children */
.cards-3d-deck {
  position: relative;
  width: 440px;
  height: 290px;
  transform-style: preserve-3d;
  /* Overflow visible so adjacent cards peek in from the sides */
  overflow: visible;
}

.cards-3d-perspective {
  overflow: visible;
  padding: 60px 0;
}

@media (max-width: 576px) {
  .cards-3d-deck { width: 90vw; height: 260px; }
}

/* Each card — absolute stacked */
.c3d-card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;  /* ← ADD THIS */
  transition:
    transform 0.75s cubic-bezier(0.23, 1, 0.32, 1),
    opacity   0.75s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.75s ease;
  border-radius: 20px;
  cursor: default;
}
.c3d-card {
  pointer-events: none;
}

.c3d-card.is-active {
  pointer-events: auto;
  cursor: pointer;
}

.c3d-card.is-active .c3d-link {
  pointer-events: auto;
}

/* Hover state — glow the whole card when hovered anywhere */
.c3d-card.is-active:hover .c3d-link {
  color: #fff;
  gap: 10px;
}

.c3d-card.is-active:hover .c3d-link span {
  transform: translateX(4px);
}

/* Inner card surface */
.c3d-card-inner {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a2a 0%, #0d1f1c 100%);
  border: 1px solid rgba(0, 183, 161, 0.15);
  position: relative;  /* stacking context for stretched link */
}

/* Per-card color themes */
.c3d-card[data-index="0"] .c3d-card-inner {
  background: linear-gradient(145deg, #0d2e2a 0%, #061a16 50%, #020f0d 100%);
  border-color: rgba(0,183,161,0.30);
  box-shadow: inset 0 1px 0 rgba(0,183,161,0.15), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.c3d-card[data-index="1"] .c3d-card-inner {
  background: linear-gradient(145deg, #2e1508 0%, #1a0d05 50%, #0d0602 100%);
  border-color: rgba(248,90,64,0.35);
  box-shadow: inset 0 1px 0 rgba(248,90,64,0.15), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.c3d-card[data-index="2"] .c3d-card-inner {
  background: linear-gradient(145deg, #1e1235 0%, #100820 50%, #070414 100%);
  border-color: rgba(139,92,246,0.35);
  box-shadow: inset 0 1px 0 rgba(139,92,246,0.15), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.c3d-card[data-index="3"] .c3d-card-inner {
  background: linear-gradient(145deg, #061e30 0%, #030f1a 50%, #010810 100%);
  border-color: rgba(56,189,248,0.30);
  box-shadow: inset 0 1px 0 rgba(56,189,248,0.12), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.c3d-card[data-index="4"] .c3d-card-inner {
  background: linear-gradient(145deg, #261808 0%, #120c03 50%, #080501 100%);
  border-color: rgba(245,158,11,0.35);
  box-shadow: inset 0 1px 0 rgba(245,158,11,0.15), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.c3d-card[data-index="5"] .c3d-card-inner {
  background: linear-gradient(145deg, #0d2535 0%, #071218 50%, #030810 100%);
  border-color: rgba(34,211,238,0.30);
  box-shadow: inset 0 1px 0 rgba(34,211,238,0.12), inset 0 -1px 0 rgba(0,0,0,0.5);
}

/* Shine overlay */
.c3d-shine {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}

/* Ambient glow behind each card */
.c3d-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  bottom: -60px;
  right: -40px;
  opacity: 0.35;
  transition: opacity 0.6s;
}
.c3d-card[data-index="0"] .c3d-glow { background: #008374; }
.c3d-card[data-index="1"] .c3d-glow { background: #f85a40; }
.c3d-card[data-index="2"] .c3d-glow { background: #8b5cf6; }
.c3d-card[data-index="3"] .c3d-glow { background: #38bdf8; }
.c3d-card[data-index="4"] .c3d-glow { background: #f59e0b; }
.c3d-card[data-index="5"] .c3d-glow { background: #22d3ee; }

/* Large decorative number */
.c3d-number {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  opacity: 0.06;
  line-height: 1;
  font-family: var(--font-primary);
  font-variant-numeric: tabular-nums;
}

/* Tag */
.c3d-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

/* Title */
.c3d-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  font-family: var(--font-primary);
}

@media (max-width: 576px) {
  .c3d-title { font-size: 20px; }
  .c3d-card-inner { padding: 24px; }
}

/* Description */
.c3d-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Link */
.c3d-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s, gap 0.3s;
  font-family: var(--font-primary);
  position: relative;  /* needed for ::after */
  z-index: 2;
}

/* Stretched invisible overlay covers the whole card */
.c3d-link::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Expand to fill entire .c3d-card-inner */
  top: -200px;
  left: -200px;
  right: -200px;
  bottom: -80px;
  z-index: 1;
  border-radius: 20px;
  cursor: pointer;
}

.c3d-link:hover { color: #fff; gap: 10px; }
.c3d-link span { transition: transform 0.3s; }
.c3d-link:hover span { transform: translateX(4px); }

/* Background grid lines */
.cards-3d-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,131,116,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,131,116,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(55deg) translateY(20%) scale(1.5);
  transform-origin: bottom center;
  opacity: 0.6;
  pointer-events: none;
}

/* Ambient blobs */
.cards-3d-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0;
  animation: blobDrift 12s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #008374 0%, #004d44 60%, transparent 100%);
  top: -150px; left: -150px;
  opacity: 0.18;
  animation-delay: 0s;
  max-width: 50vw;           /* ← never causes horizontal scroll */
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f85a40 0%, #7a2010 60%, transparent 100%);
  bottom: -120px; right: -120px;
  opacity: 0.14;
  animation-delay: -6s;
  max-width: 50vw;           /* ← never causes horizontal scroll */
}

@keyframes blobDrift {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.97); }
  100% { transform: translate(15px, -10px) scale(1.03); }
}
/* Section label */
.cards-3d-label {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-primary);
  z-index: 10;
  white-space: nowrap;
}

/* Progress dots */
.cards-3d-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.c3d-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  cursor: pointer;
}
.c3d-dot.active {
  width: 24px;
  border-radius: 3px;
  background: #fff;
}

/* Scroll hint */
.cards-3d-scrollhint {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.25);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 10;
  font-family: var(--font-primary);
}

/* Active card floating effect (added by JS) */
/* @keyframes c3dFloat {
  0%, 100% { transform: var(--c3d-base-transform) translateY(0px); }
  50%       { transform: var(--c3d-base-transform) translateY(-8px); }
} */

/* Hover shimmer on active card */
.c3d-card.is-active:hover .c3d-shine {
  background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
}

/* Active card gets an animated glow ring */
@keyframes c3dRingPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.015); }
}

.c3d-card.is-active::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.03) 35%,
    rgba(255,255,255,0.12) 70%,
    rgba(255,255,255,0.05) 100%
  );
  z-index: -1;
  animation: c3dRingPulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* Add a subtle outer glow ring too */
.c3d-card.is-active::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  animation: c3dRingPulse 3.5s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: -2;
}

/* Depth layers: blur background elements more */
.c3d-card:not(.is-active) .c3d-card-inner {
  filter: blur(0.5px);
}
.c3d-card.is-active .c3d-card-inner {
  filter: none;
}

/* Mobile: disable sticky pin, show as vertical stack */
@media (max-width: 768px) {
  .cards-3d-section { height: auto; }
  .cards-3d-sticky  { position: relative; height: auto; padding: 60px 0; flex-direction: column; gap: 20px; background: #0b1118; }
  .cards-3d-perspective { perspective: none; height: auto; }
  .cards-3d-deck    { position: relative; width: 90vw; height: auto; transform-style: flat; }
  .cards-3d-bg-grid, .cards-3d-blob, .cards-3d-scrollhint { display: none; }
  .c3d-card { position: relative; inset: unset; opacity: 1 !important; transform: none !important; margin-bottom: 16px; }
  .c3d-card-inner { position: relative; }
  .cards-3d-dots { bottom: 16px; }
}


/* ═══════════════════════════════════════════
   HERO 3D SCROLL ENGINE
   ═══════════════════════════════════════════ */

/* Preserve 3D through Bootstrap's container chain */
.hero .container.position-relative,
.hero .row.gy-5,
.hero .col-lg-6 {
  transform-style: preserve-3d;
}

/* Each headline word is its own 3D plane */
.hw {
  display: inline-block;
  will-change: transform, opacity;
  transform-origin: center bottom;
}

/* ─── Grid floor ─── */
.hero-grid-floor {
  position: absolute;
  bottom: -40px;
  left: -40%;
  right: -40%;
  height: 260px;
  background-image:
    linear-gradient(rgba(0,183,161,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,183,161,0.22) 1px, transparent 1px);
  background-size: 55px 55px;
  transform: rotateX(72deg);
  transform-origin: bottom center;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* ─── Chip container ─── */
.hero-depth-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ─── Individual chips ─── */
.h-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 183, 161, 0.35);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}

.h-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e5c9;
  box-shadow: 0 0 6px rgba(0, 229, 201, 0.6);
  flex-shrink: 0;
  animation: chipPulse 2s ease-in-out infinite;
}

@keyframes chipPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ─── Hide chips on mobile (they overlap content) ─── */
@media (max-width: 991px) {
  .hero-depth-chips { display: none; }

}

/* ─── #main stacks over the sticky hero ─── */
#main {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.30);
}

#about {
  border-radius: 28px 28px 0 0;
}

/* ── Hero gradient overlay — scanlines + radial glow ── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 15% 50%, rgba(0,183,161,0.13), transparent 65%),
    radial-gradient(ellipse 40% 50% at 85% 50%, rgba(248,90,64,0.08), transparent 60%),
    radial-gradient(ellipse 30% 35% at 50% 10%, rgba(255,255,255,0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.008) 2px,
    rgba(255,255,255,0.008) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Make sure hero children sit above the overlays */
.hero .container,
#lottie-container,
.hero canvas,
.scroll-indicator {
  position: relative;
  z-index: 1;
}

/* ── Ambient blobs in hero (same style as 3D section) ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: heroBlobDrift 14s ease-in-out infinite alternate;
}
.hero-blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #008374 0%, #003d35 60%, transparent 100%);
  top: -100px; left: -120px;
  opacity: 0.22;
  max-width: 55vw;
}
.hero-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #f85a40 0%, #7a2010 60%, transparent 100%);
  bottom: -80px; right: -80px;
  opacity: 0.13;
  animation-delay: -7s;
  max-width: 45vw;
}

@keyframes heroBlobDrift {
  0%   { transform: translate(0px, 0px) scale(1); }
  33%  { transform: translate(25px, -18px) scale(1.06); }
  66%  { transform: translate(-15px, 12px) scale(0.96); }
  100% { transform: translate(12px, -8px)  scale(1.03); }
}

/* ── Dropdown z-index fix — must escape header overflow ── */
.header,
.header.sticked {
  overflow: visible !important;
}

.navbar .dropdown ul {
  z-index: 99999 !important;
}

/* Dropdown link transition */
.navbar .dropdown ul a {
  transition: color 0.25s, background 0.25s, padding-left 0.25s;
}

/* Active dropdown item */
.navbar .dropdown ul a.active {
  color: #00e5c9 !important;
}

/* Subtle left border accent on hover */
.navbar .dropdown ul li {
  position: relative;
}
.navbar .dropdown ul li:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #00e5c9;
  border-radius: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT STACK — Scroll Story
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Override global section rules that break the pin */
#about {
  padding:  0 !important;
  overflow: visible !important;
  z-index:  50;
  scroll-margin-top: 0;
}

.about-stack { position: relative; }

/* ── Sticky viewport: 100vh, hero-identical background ── */
.about-sticky {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%,   #001f1c 0%, transparent 58%),
    radial-gradient(ellipse 100% 70% at 100% 100%, #0d1a08 0%, transparent 55%),
    radial-gradient(ellipse 70%  55% at 50% 40%,  #002a22 0%, transparent 70%),
    linear-gradient(155deg, #020f0d 0%, #040d0b 35%, #060e14 70%, #030c09 100%);
}

/* CRT scanline texture */
.about-scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.007) 2px, rgba(255,255,255,0.007) 4px
  );
}

/* Ambient blobs */
.about-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.about-blob-1 {
  width: 420px; height: 420px; top: -100px; left: -120px; opacity: 0.18; max-width: 55vw;
  background: radial-gradient(circle, #008374 0%, #003d35 65%, transparent 100%);
  animation: aboutBlob 14s ease-in-out infinite alternate;
}
.about-blob-2 {
  width: 320px; height: 320px; bottom: -80px; right: -80px; opacity: 0.12; max-width: 45vw;
  background: radial-gradient(circle, #f85a40 0%, #7a2010 65%, transparent 100%);
  animation: aboutBlob 14s ease-in-out infinite alternate-reverse; animation-delay: -7s;
}
@keyframes aboutBlob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(20px, -14px) scale(1.06); }
  100% { transform: translate(-12px, 10px) scale(0.96); }
}

/* Eyebrow label */
.about-eyebrow {
  position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.22); font-family: var(--font-primary);
  z-index: 10; white-space: nowrap; margin: 0;
}

/* ── Phone ── */
.about-phone {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6; will-change: transform, opacity; opacity: 0;
}
.about-phone img {
  width: 148px; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 0 28px rgba(0,183,161,0.4));
}
.about-phone-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(0,183,161,0.22) 0%, transparent 70%);
  filter: blur(24px);
  animation: phoneGlow 3s ease-in-out infinite alternate;
}
.about-phone-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 186px; height: 328px; border-radius: 34px; z-index: 0;
  border: 1px solid rgba(0,183,161,0.14);
  animation: phoneRing 4s ease-in-out infinite;
}
@keyframes phoneGlow {
  0%   { opacity: 0.45; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0.90; transform: translate(-50%,-50%) scale(1.2); }
}
@keyframes phoneRing {
  0%, 100% { opacity: 0.15; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 0.32; transform: translate(-50%,-50%) scale(1.06); }
}

/* ── SVG wires ── */
.about-wires {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 4;
}
.about-wire {
  fill: none;
  stroke: rgba(0,229,201,0.78);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0;
  filter: url(#wireGlow);
  /* dasharray / dashoffset set dynamically */
}

/* ── Cards ── */
.about-card {
  position: absolute;
  width: 214px;
  background: linear-gradient(135deg, rgba(5,28,24,0.93), rgba(8,18,14,0.88));
  border: 1px solid rgba(0,183,161,0.16);
  border-radius: 14px;
  padding: 18px 20px 15px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 7; opacity: 0; margin: 0;
  will-change: transform, opacity;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Absolute positions: left column */
.about-card[data-idx="0"] { top: 11%; left: 4%;  }
.about-card[data-idx="1"] { top: 43%; left: 3%;  }
.about-card[data-idx="2"] { top: 71%; left: 4%;  }
/* Right column */
.about-card[data-idx="3"] { top: 18%; right: 4%; }
.about-card[data-idx="4"] { top: 59%; right: 4%; }

.about-card-icon { font-size: 22px; display: block; margin-bottom: 9px; }
.about-card h4 {
  font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 6px;
  font-family: var(--font-primary); letter-spacing: 0.15px;
}
.about-card p {
  font-size: 11.5px; color: rgba(255,255,255,0.48);
  margin: 0; line-height: 1.55;
}
.about-card:hover {
  border-color: rgba(0,183,161,0.30);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 18px rgba(0,183,161,0.06),
              inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Mobile: static fallback, disable scroll story ── */
@media (max-width: 900px) {
  #about { overflow: hidden !important; }
  .about-sticky {
    position: relative !important; height: auto;
    padding: 70px 20px 60px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
  }
  .about-phone {
    position: relative; top: auto; left: auto;
    transform: none; opacity: 1 !important; margin-bottom: 24px;
  }
  .about-card {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    width: 100%; max-width: 380px;
    opacity: 1 !important; transform: none !important;
  }
  .about-wires, .about-blob { display: none; }
}