/**
 * WEBSITE: https://brasatech.es
 * TWITTER: https://twitter.com/brasatech
 * FACEBOOK: https://www.facebook.com/brasatech
 * GITHUB: https://github.com/brasatech/
 */

/*=== DESIGN SYSTEM & TOKENS ===*/
:root {
  --font-primary: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-body: #0a0e17;
  --bg-surface-1: #111827;
  --bg-surface-2: #1e293b;
  --bg-surface-card: rgba(17, 24, 39, 0.75);
  --bg-surface-card-light: rgba(17, 24, 39, 0.75);
  --bg-surface-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.3);
  --secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.15);
}

html {
  background-color: var(--bg-body);
  color: var(--text-muted);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  font-family: var(--font-primary);
  color: var(--text-muted);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: var(--font-primary);
  color: var(--text-main);
  letter-spacing: -0.025em;
}

p {
  font-family: var(--font-primary);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/*=================================================================
  Basic Setup
==================================================================*/
::-moz-selection {
  color: #fff;
  background: var(--primary);
}

::selection {
  color: #fff;
  background: var(--primary);
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

a {
  color: #fff;
  transition: all 0.25s ease;
}

iframe {
  border: 0;
}

a,
a:focus,
a:hover {
  text-decoration: none;
  outline: 0;
}

a:focus,
a:hover {
  color: var(--primary);
}

.kill-margin-bottom {
  margin-bottom: 0 !important;
}

.padding-0 {
  padding: 0 !important;
}

.btn {
  background-color: transparent;
  color: #fff;
  padding: 11px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:focus {
  color: #fff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-transparent {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
}
.btn-transparent:hover, .btn-transparent:focus {
  background-color: var(--primary);
  border-color: var(--primary) !important;
  color: #0a0e17 !important;
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-2px);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  color: #fff;
}

.form-control::-webkit-input-placeholder {
  color: var(--text-dim);
}

.form-control:-moz-placeholder {
  color: var(--text-dim);
}

.form-control::-moz-placeholder {
  color: var(--text-dim);
}

.form-control:-ms-input-placeholder {
  color: var(--text-dim);
}

.border {
  border-top: 1px solid var(--border-subtle);
  height: 1px;
  margin: 15px auto 0;
  position: relative;
  width: 30%;
}
.border:before {
  content: "";
  height: 3px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  top: -2px;
  width: 50px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

.color {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.sub-title {
  padding: 0 0 50px;
}

.sub-title > h3 {
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  display: inline-block;
  padding: 6px 24px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-main);
}

.btn.active:focus,
.btn:active:focus,
.btn:focus {
  outline: 0;
}

.bg-one {
  background-color: var(--bg-surface-1);
}

.bg-dark {
  background: var(--bg-body);
}

.parallax-section {
  background-attachment: fixed !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.no-padding {
  padding: 0 !important;
}

.inline-block {
  display: inline-block;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

a {
  transition: all 0.2s ease-in 0s;
}

iframe {
  border: 0;
}

a,
a:focus,
a:hover {
  text-decoration: none;
  outline: 0;
}

a:focus,
a:hover {
  color: var(--primary);
}

.btn-main {
  background: var(--accent-gradient);
  color: #0a0e17;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 36px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-main:hover {
  background: var(--accent-gradient);
  color: #0a0e17;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.mt-20 {
  margin-top: 20px;
}

.section {
  padding: 100px 0;
}
@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

.section-sm {
  padding: 70px 0;
}

.section-xs {
  padding: 50px 0;
}

.btn:focus {
  color: #ddd;
}

#home {
  position: relative;
}

.btn.active:focus,
.btn:active:focus,
.btn:focus {
  outline: 0;
}

.parallax-section {
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Preloader disabled for instant Cloud Run cold-start rendering */
.preloader {
  display: none !important;
}

.title {
  padding-bottom: 60px;
}
.title h2 {
  text-transform: capitalize;
  font-weight: 700;
  font-size: 38px;
  color: var(--text-main);
  letter-spacing: -0.025em;
}
.title h2 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 650px;
  margin: 15px auto 0;
}
.title.title-white h2 {
  color: #fff;
}

.bg-gray {
  background: #f9f9f9;
}

.section-bg {
  background: #292F36;
}

.overly {
  position: relative;
}
.overly:before {
  content: "";
  background: rgba(0, 0, 0, 0.096);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.header-bradcrumb {
  background: transparent;
}
.header-bradcrumb a,
.header-bradcrumb .active {
  color: #cfcfcf;
  font-weight: 200;
  font-family: "Quattrocento Sans", sans-serif;
}
.header-bradcrumb a:hover {
  color: var(--primary);
}

.slick-slide {
  outline: none;
}

/* CSS mfp-with-zoom class */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
  opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
  opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-50 {
  margin-bottom: 50px;
}

.pagination li {
  margin: 5px;
  display: inline-block;
}
.pagination li a {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-sm) !important;
}
.pagination li a:focus, .pagination li a:hover, .pagination li a.active {
  background: var(--primary);
  color: #0a0e17;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.logo {
  margin-top: 10px;
  display: inline-block;
}

.logo img {
  width: 40px;
  height: 40px;
}

.single-page-header {
  background-image: url("../images/about/about-header.jpg");
  background-size: cover;
  padding: 140px 0 70px;
  text-align: center;
  color: #fff;
  position: relative;
}
.single-page-header:before {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

/*=================================================================
  Navigation
==================================================================*/
.navigation {
  background-color: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 999;
  margin-bottom: 0;
  padding: 12px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  transition: all 0.3s ease;
}
.navigation .logo {
  padding: 0;
  height: auto;
  margin-top: 0;
}
.navigation .logo img {
  height: auto;
  width: 140px;
}
.navigation .navigation-menu li a.active {
  color: var(--primary) !important;
}
.navigation .navigation-menu a {
  padding-left: 15px !important;
  padding-right: 15px !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.navigation .navigation-menu a:hover, .navigation .navigation-menu a:focus {
  background: transparent;
  color: var(--primary) !important;
}

.navbar-toggle {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.navbar-toggle span {
  background: #fff;
}

.bg-1 {
  background-image: url("../images/backgrounds/bg-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-2 {
  background-image: url("../images/backgrounds/bg-2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.hero-area {
  background-color: var(--bg-body);
  background-size: cover;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-area::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}
.hero-area .block {
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge i {
  font-size: 16px;
}
.hero-area .block .video-button a {
  background: #fff;
  display: inline-block;
  height: 60px;
  width: 60px;
  border-radius: 50px;
  line-height: 60px;
  font-size: 20px;
  margin-left: 3px;
  color: var(--primary);
}
.hero-area .block h1 {
  font-size: 76px;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
@media (max-width: 992px) {
  .hero-area .block h1 {
    font-size: 54px;
  }
}
@media (max-width: 768px) {
  .hero-area .block h1 {
    font-size: 40px;
  }
}
.hero-area .block p {
  color: var(--text-muted);
  font-size: 19px;
  width: 80%;
  margin: 0 auto;
  line-height: 1.65;
}
.hero-area .block .btn-transparent {
  margin-top: 35px;
  border-color: rgba(255, 255, 255, 0.2);
  padding: 14px 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.hero-video {
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.overlay {
  position: relative;
}
.overlay::before {
  content: "";
  background: rgba(10, 14, 23, 0.78);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  left: 0;
}

.dark-bg {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -1;
}

/*=================================================================
  About us section
==================================================================*/
/*=================================================================
  About us section
==================================================================*/
.about .block {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 25px;
  box-shadow: var(--shadow-card);
}
.about .block:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.about .block:hover .icon-box {
  transform: translateY(-5px);
}
.about .block .icon-box {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin: 15px auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  color: var(--primary);
  transition: all 0.3s ease;
}
.about .block .icon-box h3 {
  color: var(--text-main);
}

/*=================================================================
  About us 2 section
==================================================================*/
.about-2 .content-block {
  padding: 35px 40px;
}
@media (max-width: 768px) {
  .about-2 .content-block {
    padding: 40px 15px;
  }
}
.about-2 .content-block .media {
  margin-top: 25px;
}
.about-2 .content-block .media .pull-left {
  padding-right: 15px;
}
.about-2 .content-block .media i {
  font-size: 30px;
  color: var(--primary);
}
.about-2 .content-block .media h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

/*=================================================================
 Call To Action 1
==================================================================*/
.call-to-action {
  background-attachment: fixed;
  position: relative;
}
.call-to-action-card {
  padding: 50px 40px;
  background: var(--bg-surface-card-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.call-to-action-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.call-to-action-card h2 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.call-to-action-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.call-to-action-card .btn-main {
  margin-top: 5px;
}
@media (max-width: 767px) {
  .call-to-action-card {
    padding: 35px 20px;
  }
  .call-to-action-card h2 {
    font-size: 24px;
  }
  .call-to-action-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/*=================================================================
 Call To Action 2
==================================================================*/
.call-to-action-2 {
  padding: 100px 0;
  background-image: url("../images/call-to-action/call-to-action-bg.jpg");
  background-size: cover;
  color: #fff;
}
.call-to-action-2 h2 {
  line-height: 1.5;
  color: var(--text-main);
}
.call-to-action-2 p {
  color: var(--text-muted);
}
.call-to-action-2 .btn-main {
  margin-top: 20px;
}

.contact-us {
  padding-top: 50px;
}

.contact-form {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
}
.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  height: 48px;
  color: var(--text-main);
  padding: 10px 16px;
  transition: all 0.2s ease;
}
.contact-form textarea.form-control {
  padding: 12px 16px;
  height: 130px;
}
.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  color: #fff;
}

.contact-form input:hover,
.contact-form textarea:hover,
#contact-submit:hover {
  border-color: var(--primary);
}

#contact-submit {
  border: none;
  background: var(--primary);
  color: #0a0e17;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 14px 0;
  border-radius: var(--radius-md);
  width: 100%;
  margin: 0;
  transition: all 0.25s ease;
  cursor: pointer;
}
#contact-submit:hover:not([disabled]) {
  background: var(--primary-hover);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-2px);
}

.google-map #map_canvas {
  height: 400px;
}

.contact-info p {
  margin-bottom: 25px;
}

.con-info {
  margin-bottom: 20px;
}

.con-info i,
.con-info span {
  float: left;
}

.con-info span {
  margin: -5px 0 0 15px;
}

.error {
  display: none;
  padding: 10px;
  color: #D8000C;
  border-radius: 4px;
  font-size: 13px;
  background-color: #FFBABA;
}

.success {
  background-color: #6cb670;
  border-radius: 4px;
  color: #fff;
  display: none;
  font-size: 13px;
  padding: 10px;
}

#map {
  height: 370px;
  width: 100%;
}

/*=================================================================
  Item counter section
==================================================================*/
.counters-item {
  padding: 35px 20px;
  margin-bottom: 20px;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  text-align: center;
}
.counters-item:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.counters-item i {
  margin-bottom: 15px;
  font-size: 42px;
  display: inline-block;
  color: var(--primary);
}
.counters-item span {
  display: block;
  font-weight: 800;
  font-size: 42px;
  line-height: 52px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}
.counters-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 5px;
}

/*=================================================================
  Pricing section
==================================================================*/
.price-item {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding-bottom: 30px;
  margin: 15px 0;
  transition: all 0.3s ease;
}
.price-item:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.price-title {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0 20px;
}
.price-title h3 {
  color: var(--primary);
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
}
.price-title p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}
.price-title .value {
  color: var(--text-main);
  font-size: 36px;
  font-weight: 800;
}

.pricing li {
  padding: 10px 0;
  color: var(--text-muted);
}
.pricing li:last-child {
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}
.pricing li:nth-child(2n) {
  background-color: rgba(255, 255, 255, 0.02);
}
.pricing li .btn {
  text-transform: uppercase;
  margin: 20px 0;
}

/*=================================================================
  Portfolio section
==================================================================*/
.portfolio-filter {
  margin-bottom: 30px;
  text-align: center;
}
.portfolio-filter button {
  border: 1px solid var(--border-subtle);
  outline: none;
  background: var(--bg-surface-card);
  display: inline-block;
  font-size: 14px;
  padding: 8px 22px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  margin: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}
.portfolio-filter button:hover {
  border-color: var(--border-highlight);
  color: var(--text-main);
  transform: translateY(-1px);
}
.portfolio-filter button.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.portfolio-items-wrapper .mix {
  padding: 5px;
}

.portfolio-block {
  position: relative;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
}
.portfolio-block:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.portfolio-block:before {
  transition: all 0.3s ease-in-out;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  content: "";
  z-index: 2;
}
.portfolio-block img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-block:hover img {
  transform: scale(1.06);
}
.portfolio-block:hover:before {
  opacity: 1;
}
.portfolio-block:hover .caption h4 {
  top: 45%;
}
.portfolio-block:hover .caption {
  opacity: 1;
  top: 50%;
}
.portfolio-block .caption {
  position: absolute;
  top: 60%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 9;
  transition: all 0.3s ease-in-out;
  text-align: center;
  width: 85%;
}
.portfolio-block .caption h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.portfolio-block .caption h4 a {
  color: var(--text-main);
  transition: color 0.2s ease;
}
.portfolio-block .caption h4 a:hover {
  color: var(--primary);
}
.portfolio-block .caption p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.portfolio-block .caption .search-icon {
  background: var(--primary);
  width: 44px;
  height: 44px;
  color: #0a0e17;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: var(--radius-full);
  margin-bottom: 15px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.25s ease;
}
.portfolio-block .caption .search-icon:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}
.portfolio-block .caption .search-icon i {
  line-height: 44px;
}

/*=================================================================
  Services section
==================================================================*/
.service-block {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.service-block:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}
.service-block .service-icon {
  margin-bottom: 20px;
  font-size: 48px;
  color: var(--primary);
  display: inline-block;
  transition: transform 0.3s ease;
}
.service-block:hover .service-icon {
  transform: scale(1.1);
}
.service-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}
.service-block p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/*=================================================================
  Services section 2
==================================================================*/
.service-2 .service-item {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  padding: 45px 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-2 .service-item:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.service-2 .service-item:hover i {
  background: var(--primary);
  color: #0a0e17;
}
.service-2 .service-item i {
  font-size: 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  height: 60px;
  width: 60px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

/*=================================================================
  Our skills
==================================================================*/
.skill-bar p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.skill-bar p span {
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.skill-bar .progress {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}
.skill-bar .progress .progress-bar {
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}
.skill-bar li:not(:last-child) {
  margin-bottom: 25px;
}

/*=================================================================
  Our Team
==================================================================*/
.team-member {
  background-color: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 15px 0;
  transition: all 0.3s ease;
}
.team-member:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.team-member:hover .mask {
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
}

.member-photo {
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .member-photo {
    text-align: center;
  }
}
.member-photo:hover img {
  transform: scale(1.08);
}
.member-photo img {
  width: 100%;
  transition: all 0.4s ease 0s;
}
@media (max-width: 768px) {
  .member-photo img {
    display: inline-block;
  }
}
.member-photo .mask {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(15px);
}
.member-photo .mask ul {
  text-align: center;
  position: static;
  margin: 0;
  padding: 0;
}
.member-photo .mask ul li {
  display: inline-block;
  margin: 0 4px;
}
.member-photo .mask ul li a {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  height: 38px;
  width: 38px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}
.member-photo .mask ul li a:hover {
  background: var(--primary);
  color: #0a0e17;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

.member-meta {
  padding: 15px;
}
.member-meta h4 {
  margin: 0 0 5px;
}
.member-meta span {
  font-size: 12px;
}

/*=================================================================
  Testimonial section
==================================================================*/
.testimonial:before {
  background: rgba(42, 48, 55, 0.7);
}

.client-info {
  margin: 0 auto;
  width: 55%;
}
@media (max-width: 992px) {
  .client-info {
    width: 75%;
  }
}
@media (max-width: 768px) {
  .client-info {
    width: 90%;
  }
}

.client-comment p {
  color: #afbac4;
  font-size: 18px;
  margin-bottom: 0;
}

.client-thumb img {
  border-radius: 50%;
  margin: 0 auto;
  max-width: 115px;
  width: 100%;
}

.client-meta {
  margin: 0 0 10px;
}
.client-meta h3 {
  margin: 15px 0 5px 0;
}
.client-meta span {
  font-size: 12px;
}


/*=================================================================
  Latest Posts
==================================================================*/
.post-block {
  background-color: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}
.post-block:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.post-block .media-wrapper {
  overflow: hidden;
}
.post-block .media-wrapper img {
  width: 100%;
  transition: transform 0.4s ease;
}
.post-block:hover .media-wrapper img {
  transform: scale(1.05);
}
.post-block .content {
  padding: 24px;
}
.post-block .content h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}
.post-block .content h3 a {
  color: var(--text-main);
  transition: color 0.2s ease;
}
.post-block .content h3 a:hover {
  color: var(--primary);
}
.post-block .content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.post-block .content .btn-transparent {
  padding: 8px 22px;
  font-size: 13px;
}

.all-post {
  margin-top: 50px;
}

/*=================================================================
  Single Blog Page
==================================================================*/
#blog-banner {
  padding-bottom: 100px;
  padding-top: 150px;
}

#blog-page {
  margin: 0 0 40px;
}

.post-meta {
  font-size: 13px;
  margin: 20px 0 0;
  padding: 0 20px 10px;
}
.post-meta a {
  color: var(--primary);
}
.post-meta > span {
  color: var(--text-dim);
  border-right: 1px solid var(--border-subtle);
  display: inline-block;
  font-size: 13px;
  margin: 10px 10px 0 0;
  padding-right: 10px;
}
.post-meta > span:last-child {
  border-right: 0;
}
.post-meta > span i {
  margin-right: 5px;
}

.post-excerpt {
  padding: 0 20px;
  margin-bottom: 60px;
}
.post-excerpt h3 a {
  color: var(--text-main);
}
.post-excerpt h3 a:hover {
  color: var(--primary);
}
.post-excerpt blockquote {
  line-height: 22px;
  margin: 20px 0;
  font-size: 16px;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
}

.single-blog {
  background-color: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  padding: 30px;
}

.blog-subtitle {
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.next-prev {
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  margin: 20px 0;
  padding: 25px 0;
}
.next-prev a {
  color: var(--text-muted);
}
.next-prev a:hover {
  color: var(--primary);
}
.next-prev .prev-post i {
  margin-right: 10px;
}
.next-prev .next-post i {
  margin-left: 10px;
}

.social-profile ul li {
  margin: 0 10px 0 0;
  display: inline-block;
}
.social-profile ul li a {
  color: var(--text-muted);
  display: block;
  font-size: 16px;
}
.social-profile ul li a i:hover {
  color: var(--primary);
}

.comments-section {
  margin-top: 35px;
}

.author-about {
  margin-top: 40px;
}

.post-author {
  margin-right: 20px;
}

.post-author > img {
  border: 1px solid #dedede;
  max-width: 120px;
  padding: 5px;
  width: 100%;
}

.comment-list ul {
  margin-top: 20px;
}
.comment-list ul li {
  margin-bottom: 20px;
}

.comment-wrap {
  border: 1px solid #dedede;
  border-radius: 1px;
  margin-left: 20px;
  padding: 10px;
  position: relative;
}
.comment-wrap .author-avatar {
  margin-right: 10px;
}
.comment-wrap .media .media-heading {
  font-size: 14px;
  margin-bottom: 8px;
}
.comment-wrap .media .media-heading a {
  color: var(--primary);
  font-size: 13px;
}
.comment-wrap .media .comment-meta {
  font-size: 12px;
  color: #888;
}
.comment-wrap .media p {
  margin-top: 15px;
}

.comment-reply-form {
  margin-top: 80px;
}
.comment-reply-form input, .comment-reply-form textarea {
  height: 35px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  box-shadow: none;
}
.comment-reply-form input:focus, .comment-reply-form textarea:focus {
  box-shadow: 0 0 0 2px var(--primary-glow);
  border: 1px solid var(--primary);
}
.comment-reply-form textarea, .comment-reply-form .btn-main {
  height: auto;
}

/*=================================================================
  Footer section
==================================================================*/
.social-icon {
  padding: 60px 0 35px;
}
.social-icon ul {
  text-align: center;
}
.social-icon ul li {
  margin: 0 6px;
  display: inline-block;
}
.social-icon ul li a {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon ul li a i {
  color: var(--text-muted);
  font-size: 22px;
  margin: 0;
  opacity: 0.85;
  transition: all 0.3s ease;
}
.social-icon ul li:hover a {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-3px);
}
.social-icon ul li:hover a i {
  color: #0a0e17;
  opacity: 1;
}

.copyright {
  padding: 25px 0 40px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
}
.copyright img {
  margin-bottom: 15px;
}
.copyright a {
  color: var(--text-main);
  font-weight: 600;
}
.copyright a:hover {
  color: var(--primary);
}
.copyright p {
  margin-top: 10px;
}

#scrollUp {
  border: 1px solid #4e595f;
  bottom: 15px;
  color: #fff;
  display: none;
  padding: 8px 12px;
  position: fixed;
  right: 20px;
  z-index: 600;
}

#scrollUp:hover {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: #0a0e17;
}

/*=================================================================
	Twitter Feed
==================================================================*/
#twitter-feed {
  background-image: url("../images/parallax/twitter.jpg");
  padding-bottom: 100px;
  padding-top: 80px;
}

.twitter-bird span {
  border: 2px solid #6cb670;
  border-radius: 50px;
  color: #6cb670;
  display: inline-block;
  margin-bottom: 50px;
  height: 90px;
  width: 90px;
}

.twitter-bird span i {
  line-height: 90px;
}

.tweet {
  margin-bottom: 10px;
}

.tweet a {
  color: #6cb670;
}

/*=================================================================
	Blog Page
==================================================================*/
#blog-banner {
  padding-bottom: 100px;
  padding-top: 150px;
}

.blog-icon {
  border: 1px solid #6cb670;
  border-radius: 50%;
  color: #6cb670;
  display: inline-block;
  padding: 16px 20px;
}

.blog-title h1 {
  text-transform: uppercase;
}

#blog-page {
  margin: 0 0 40px;
}

.post-item .entry {
  border: 1px solid #4e595f;
  margin-bottom: 30px;
}

.entry .post-excerpt {
  padding: 0 20px;
}

#gallery-post .owl-prev,
#post-thumb .owl-prev,
#gallery-post .owl-next,
#post-thumb .owl-next {
  padding: 5px 17px;
  position: absolute;
  top: 45%;
  transition: all 0.5s ease-in 0s;
}

#gallery-post .owl-prev,
#post-thumb .owl-prev {
  left: -45px;
}

#gallery-post .owl-next,
#post-thumb .owl-next {
  right: -45px;
}

#gallery-post:hover .owl-prev,
#post-thumb:hover .owl-prev {
  left: 0;
}

#gallery-post:hover .owl-next,
#post-thumb:hover .owl-next {
  right: 0;
}

#gallery-post,
#post-thumb {
  overflow-x: hidden;
}

#post-thumb .owl-buttons {
  color: #fff;
}

.post-meta {
  background-color: #3d444a;
  border-top: 1px solid #4e595f;
  font-size: 13px;
  margin: 20px 0 0;
  padding: 0 20px 10px;
}

.post-meta > span {
  border-right: 1px solid #4e595f;
  display: inline-block;
  font-size: 12px;
  margin: 10px 10px 0 0;
  padding-right: 10px;
}

.post-meta > span:last-child {
  border-right: 0;
}

.post-meta > span > i {
  margin-right: 5px;
}

.post-meta a:hover {
  color: #6cb670;
}

.post-excerpt .more {
  margin-top: 20px;
}

.post-excerpt .more a {
  display: inline-block;
  font-size: 13px;
  padding: 10px 25px;
}

.post-excerpt .more a:hover {
  background-color: #6cb670;
  color: #fff;
}

aside.widget {
  margin-bottom: 25px;
}

.widget-title > h3 {
  color: #fff;
  margin-bottom: 15px;
  margin-top: 0;
  position: relative;
}

#search-form {
  position: relative;
}

#search-submit {
  background: none;
  border: 0;
  color: #c8c8ca;
  display: block;
  font-size: 16px;
  height: 32px;
  outline: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 32px;
}

.widget-content .tab-content {
  background-color: #2f383d;
  padding: 20px;
}

.tab-post-nav {
  background-color: #4a535a;
}

.tab-post-nav li {
  float: left;
}

.tab-post-nav li.active a {
  border-top: 3px solid #6cb670;
  background-color: #2f383d;
  color: #6cb670;
}

.tab-pane.active .clearfix:first-child {
  margin-bottom: 25px;
}

.tab-excerpt > span {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}

.tab-excerpt h4 a {
  color: #fff;
}

.tab-excerpt h4 a:hover {
  color: #6cb670;
}

.tab-post-nav li a {
  border-top: 3px solid transparent;
  color: #fff;
  display: block;
  padding: 13px 18px;
  text-align: center;
}

.categories li {
  margin-bottom: 10px;
  transition: all 0.5s ease-in 0s;
}

.categories > li:hover a {
  padding-left: 10px;
  color: #6cb670;
}

.categories > li:last-child {
  border-bottom: 0;
}

.categories li a {
  padding-left: 5px;
}

.widget-content .tag {
  background-color: #2f383d;
  color: #fff;
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 5px;
  padding: 5px 13px;
}

.widget-content .tag:hover {
  background-color: #6cb670;
  color: #fff;
}

.post-pagination {
  display: inline-block;
  margin-bottom: 20px;
}

.post-pagination ul li {
  margin-right: 5px;
  float: left;
}

.post-pagination ul li:last-child {
  margin-right: 0;
}

.post-pagination ul li.disabled a {
  cursor: not-allowed;
}

.post-pagination ul li.disabled a:hover {
  background-color: #2e373c;
  color: #9aa8b3;
}

.post-pagination ul li a {
  background-color: #30393e;
  color: #9aa8b3;
  display: block;
  padding: 8px 18px;
}

.post-pagination ul li a:hover,
.post-pagination ul li.active a {
  background-color: #6cb670;
  color: #fff;
}

/*=================================================================
	Single Blog Page
==================================================================*/
.single-blog {
  background-color: #fff;
  margin-bottom: 50px;
  padding: 20px;
}

blockquote {
  border-left: 5px solid #6cb670;
  font-style: italic;
  line-height: 22px;
  margin: 20px 0;
}

.next-prev {
  border-bottom: 1px solid #4e595f;
  border-top: 1px solid #4e595f;
  margin: 20px 0;
  padding: 15px 0 10px;
}

.next-prev a:hover {
  color: #6cb670;
}

.prev-post i {
  float: left;
  margin-right: 10px;
  margin-top: -4px;
}

.next-post i {
  float: right;
  margin-left: 10px;
  margin-top: -3px;
}

.post-author {
  margin-right: 20px;
}

.post-author > img {
  border: 1px solid #4e595f;
  max-width: 120px;
  padding: 5px;
  width: 100%;
}

.comment-reply-form > h3,
.author-about > h4,
.comments > h4 {
  border-bottom: 1px solid #4e595f;
  margin-bottom: 15px;
  margin-top: 0;
  padding-bottom: 10px;
  position: relative;
}

.author-bio h5 {
  display: inline-block;
}

.post-item .comments-section {
  margin-top: 35px;
}

.comment-list ul {
  margin-top: 20px;
}

.comment-list li {
  margin-bottom: 20px;
}

.comment-wrap {
  border: 1px solid #4e595f;
  border-radius: 1px;
  margin-left: 20px;
  padding: 10px;
  position: relative;
}

.comment-wrap .author-avatar {
  margin-left: -25px;
  margin-right: 20px;
}

.author-comment {
  margin-bottom: 15px;
  overflow: hidden;
}

.author-comment cite a:hover,
.replay:hover {
  color: #6cb670;
  text-decoration: underline;
}

.author-comment cite {
  margin-bottom: 2px;
  padding-top: 4px;
}

.comment-content {
  margin-left: 45px;
}

.comment-list ul li {
  padding-left: 25px;
}

.comment-reply-form {
  margin-top: 80px;
}

#comment-form {
  margin-top: 35px;
}

#comment-form .form-control:hover {
  border-color: #6cb670;
}

.form-group:last-child,
.form-group:last-child input {
  margin: 0;
}

/*=================================================================
  Back to Top Button
==================================================================*/
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: var(--primary);
  color: #0a0e17;
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-3px);
}

