/**
* ElevityDev — Design Enhancement Layer (v2, no gradients)
* Loaded AFTER main.css. Keeps the original template colours,
* adds soft rounded corners, a clean floating glass nav and
* subtle hover polish — without any gradients.
*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
  --accent-color: #4154f1;          /* original template accent */
  --accent-soft: rgba(65, 84, 241, 0.08);

  /* Rounded corner scale — nothing has sharp edges */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Soft, layered shadows */
  --shadow-sm: 0 4px 16px rgba(18, 22, 55, 0.06);
  --shadow-md: 0 14px 36px rgba(18, 22, 55, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 22, 55, 0.13);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth easing on interactive elements (no flicker-causing filters) */
a, button, .btn, .card, .service-item, .team-member, .info-item,
.feature-box, .icon-box, .portfolio-content, .stats-item, .post-item {
  transition: all 0.35s var(--ease);
}

/* Lenis smooth scroll plumbing */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/*--------------------------------------------------------------
# Header — single, clean floating glass bar
--------------------------------------------------------------*/
.header {
  background-color: transparent;
  padding: 16px 0;
}
.header .container-fluid,
.header .container-xl {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 24px;
  box-shadow: var(--shadow-sm);
}

/* Wordmark logo (icon + name baked into one image, no separate text) */
.header .logo img.logo-img {
  max-height: 40px;
  width: auto;
  margin-right: 0;
}

/* Solid bar once scrolled so no section bleeds in behind the pill */
.scrolled .header {
  background-color: var(--background-color);
  padding: 8px 0;
  box-shadow: 0 2px 16px rgba(18, 22, 55, 0.06);
}
.scrolled .header .container-fluid,
.scrolled .header .container-xl {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  background: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  font-weight: 600;
}
.header .btn-getstarted:hover {
  background: color-mix(in srgb, var(--accent-color), #000 12%);
}

.navmenu ul a,
.navmenu ul a:focus {
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 500;
}
.navmenu .dropdown ul,
.navmenu .listing-dropdown > ul {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 22, 55, 0.06);
  overflow: hidden;
}

/*--------------------------------------------------------------
# Section titles
--------------------------------------------------------------*/
.section { padding: 84px 0; }
.section-title { padding-bottom: 50px; }

.section-title h2 {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  margin-bottom: 14px;
}
.section-title h2::after { display: none; }

.section-title p {
  font-size: 42px;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -1px;
  line-height: 1.15;
}
.section-title p .accent { color: var(--accent-color); }

/*--------------------------------------------------------------
# Hero — light polish + clear positioning
--------------------------------------------------------------*/
.hero .btn-get-started {
  background: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 12px 34px;
}
.hero .btn-get-started:hover { background: color-mix(in srgb, var(--accent-color), #000 12%); }
.hero .btn-watch-video i { color: var(--accent-color); }
.hero .hero-img img { filter: drop-shadow(0 30px 50px rgba(18, 22, 55, 0.16)); }

.hero h1 { font-size: clamp(30px, 4.6vw, 48px); }

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: var(--accent-soft);
  color: var(--accent-color);
  border: 1px solid rgba(65, 84, 241, 0.18);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
html[data-theme="dark"] .hero .hero-badge {
  color: #7a8bff;
  border-color: rgba(122, 139, 255, 0.3);
}

.hero .hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
}
.hero .hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--default-color);
}
.hero .hero-trust li i { color: #15be56; font-size: 16px; }

/*--------------------------------------------------------------
# Generic rounding — kill every sharp edge
--------------------------------------------------------------*/
.card,
.service-item,
.info-item,
.feature-box,
.testimonial-item,
.faq-container,
.team-member,
.member-img,
.post-item,
.portfolio-content,
.stats-item {
  border-radius: var(--radius-lg);
}

.about img,
.card img,
.member-img img,
.post-img img {
  border-radius: var(--radius-md);
}

.form-control,
.php-email-form button,
.btn-read-more,
.read-more,
.readmore,
.btn-get-started,
.btn-watch-video {
  border-radius: var(--radius-pill) !important;
}

/*--------------------------------------------------------------
# Page title banner (FAQ, Blog and other inner pages)
--------------------------------------------------------------*/
.page-title {
  background: var(--background-color);
  overflow: hidden;
  position: relative;
}
.page-title::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--accent-soft);
  pointer-events: none;
}
.page-title .heading {
  padding: 128px 0 32px;
  border-top: 0;
  position: relative;
}
.page-title .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-color);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.page-title .heading h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--heading-color);
}
.page-title .heading p {
  font-size: 17px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.page-title nav {
  background: transparent;
  padding: 0 0 18px;
  position: relative;
}
.page-title nav ol {
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  gap: 4px;
}
.page-title nav ol li a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
}
.page-title nav ol li a:hover { color: var(--accent-color); }
.page-title nav ol li.current { color: var(--accent-color); }

/* The page-title banner already frames the page — the very next section
   doesn't need its full standard top padding on top of that, or the gap
   between the breadcrumb and the actual content looks like broken empty
   space. */
.faq-page #faq.section { padding-top: 24px; }
.blog-page #blog-posts.section { padding-top: 24px; }

@media (max-width: 768px) {
  .page-title .heading { padding: 108px 0 28px; }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}
.about .content h2 { font-weight: 800; letter-spacing: -0.6px; }
.about img { box-shadow: var(--shadow-md); }
.about .btn-read-more { background: var(--accent-color); padding: 12px 30px; }
.about .btn-read-more:hover { background: color-mix(in srgb, var(--accent-color), #000 12%); }

/*--------------------------------------------------------------
# Values — keep original big illustrations, just round + lift
--------------------------------------------------------------*/
.values .card {
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
}
.values .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
/* images keep their original size from main.css (no shrinking) */

/*--------------------------------------------------------------
# Stats — clean white cards, NO gradient, NO flicker
--------------------------------------------------------------*/
.stats .stats-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
}
.stats .stats-item:hover {
  box-shadow: var(--shadow-md);   /* no transform → no flicker */
}

/*--------------------------------------------------------------
# Features — original soft icons, no gradient
--------------------------------------------------------------*/
.features .feature-box {
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
}
.features .feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.features .feature-box i { border-radius: var(--radius-sm); }

/*--------------------------------------------------------------
# Alt Features icon boxes — soft accent tint, no gradient
--------------------------------------------------------------*/
.alt-features .icon-box { padding: 6px 6px 6px 0; }
.alt-features .icon-box i {
  color: var(--accent-color);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: all 0.35s var(--ease);
}
.alt-features .icon-box:hover i {
  background: var(--accent-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Services — original coloured icons, softer hover (no bright flood)
--------------------------------------------------------------*/
.services .service-item {
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
}
.services .service-item .icon { border-radius: var(--radius-md); }

/* Keep the card white on hover — just lift it; text stays readable */
.services .service-item:hover,
.services .service-item.item-cyan:hover,
.services .service-item.item-orange:hover,
.services .service-item.item-teal:hover,
.services .service-item.item-red:hover,
.services .service-item.item-indigo:hover,
.services .service-item.item-pink:hover {
  background: var(--surface-color) !important;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.services .service-item:hover h3 { color: var(--heading-color) !important; }
.services .service-item:hover p { color: var(--default-color) !important; }
/* main.css turns .read-more white on hover for the old colour-fill effect;
   since we keep the card surface-coloured (not filled), force it back to
   its accent colour so the link doesn't vanish (white-on-white). */
.services .service-item:hover .read-more { color: var(--svc-color, var(--accent-color)) !important; }
.services .service-item.item-cyan:hover .read-more { color: #0dcaf0 !important; }
.services .service-item.item-orange:hover .read-more { color: #fd7e14 !important; }
.services .service-item.item-teal:hover .read-more { color: #20c997 !important; }
.services .service-item.item-red:hover .read-more { color: #df1529 !important; }
.services .service-item.item-indigo:hover .read-more { color: #6610f2 !important; }
.services .service-item.item-pink:hover .read-more { color: #f3268c !important; }
.services .service-item:hover .icon { background: inherit; }
/* icon keeps its soft tinted background on hover */
.services .service-item.item-cyan:hover .icon { background: rgba(13, 202, 240, 0.1) !important; }
.services .service-item.item-orange:hover .icon { background: rgba(253, 126, 20, 0.1) !important; }
.services .service-item.item-teal:hover .icon { background: rgba(32, 201, 151, 0.1) !important; }
.services .service-item.item-red:hover .icon { background: rgba(223, 21, 41, 0.1) !important; }
.services .service-item.item-indigo:hover .icon { background: rgba(102, 16, 242, 0.1) !important; }
.services .service-item.item-pink:hover .icon { background: rgba(243, 38, 140, 0.1) !important; }
.services .service-item .read-more:hover { gap: 6px; }

/*--------------------------------------------------------------
# Process — solid accent, no gradient
--------------------------------------------------------------*/
.process .process-card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 38px 28px 30px;
  height: 100%;
  overflow: hidden;
}
.process .process-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.process .step-num {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.14;
  position: absolute;
  top: 14px;
  right: 20px;
}
.process .process-card i {
  font-size: 28px;
  color: var(--accent-color);
  background: var(--accent-soft);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: all 0.35s var(--ease);
}
.process .process-card:hover i { background: var(--accent-color); color: #fff; }
.process .process-card h3 { font-weight: 700; font-size: 21px; }
.process .process-card p { margin: 0; }

/*--------------------------------------------------------------
# FAQ (used on its own page now)
--------------------------------------------------------------*/
.faq .faq-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 18px;
  transition: all 0.35s var(--ease);
}
.faq .faq-item:hover { box-shadow: var(--shadow-md); }
.faq .faq-item.faq-active {
  border-color: rgba(65, 84, 241, 0.3);
  box-shadow: var(--shadow-md);
}
.faq .faq-item h3 { font-weight: 600; font-size: 18px; }
.faq .faq-item .faq-toggle {
  background: var(--accent-soft);
  color: var(--accent-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  top: 24px;
  right: 24px;
}
.faq .faq-item.faq-active .faq-toggle { background: var(--accent-color); color: #fff; }

/* Dedicated FAQ page layout */
.faq-page .faq-wrap { max-width: 820px; margin: 0 auto; }

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-filters li {
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  margin: 0 6px 10px;
  transition: all 0.3s var(--ease);
}
.portfolio .portfolio-filters li.filter-active {
  background: var(--accent-color);
  color: #fff;
}
.portfolio .portfolio-content { box-shadow: var(--shadow-sm); overflow: hidden; }
.portfolio .portfolio-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.portfolio .portfolio-content img { transition: transform 0.6s var(--ease); }
.portfolio .portfolio-content:hover img { transform: scale(1.07); }
.portfolio .portfolio-info { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px;
  margin: 24px 14px;
}
.testimonials .testimonial-item:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.testimonials .stars i { color: #ffb33e; }

/* No headshots — a simple accent quote mark anchors the card instead */
.testimonials .quote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-color);
  font-size: 18px;
}
.testimonials .profile h4 {
  font-weight: 700;
  font-size: 15px;
  color: var(--heading-color);
  margin-top: 4px;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .team-member {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  width: 100%;
}
.team .team-member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team .team-member .member-img { overflow: hidden; }
.team .team-member .social {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 8px 6px;
}
.team .team-member .member-info h4 { font-weight: 700; }

/*--------------------------------------------------------------
# CTA banner — solid accent, no gradient
--------------------------------------------------------------*/
.cta-banner { padding: 40px 0 84px; }
.cta-banner .cta-inner {
  background: var(--accent-color);
  border-radius: var(--radius-xl);
  padding: 56px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-banner .cta-inner::before,
.cta-banner .cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
}
.cta-banner .cta-inner::before { width: 300px; height: 300px; top: -120px; right: -80px; }
.cta-banner .cta-inner::after { width: 220px; height: 220px; bottom: -120px; left: -40px; }
.cta-banner h2 { color: #fff; font-weight: 800; letter-spacing: -0.6px; position: relative; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); position: relative; margin-bottom: 0; }
.cta-banner .btn-cta {
  background: #fff;
  color: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 14px 38px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.cta-banner .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
}
.contact .info-item:hover { box-shadow: var(--shadow-md); }
.contact .info-item i {
  background: var(--accent-soft);
  color: var(--accent-color);
  border-radius: var(--radius-md);
  width: 56px;
  height: 56px;
  font-size: 26px;
}
.contact .php-email-form {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.contact .form-control {
  border-radius: var(--radius-sm) !important;
  padding: 13px 16px;
  border: 1px solid rgba(18, 22, 55, 0.12);
}
.contact .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(65, 84, 241, 0.12);
}
.contact .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 13px 44px;
  font-weight: 600;
}
.contact .php-email-form button[type="submit"]:hover { background: color-mix(in srgb, var(--accent-color), #000 12%); }

/*--------------------------------------------------------------
# Recent posts
--------------------------------------------------------------*/
.recent-posts .post-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  overflow: hidden;
}
.recent-posts .post-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.recent-posts .post-img { border-radius: var(--radius-md); }
.recent-posts .post-img img { border-radius: var(--radius-md); transition: transform 0.6s var(--ease); }
.recent-posts .post-item:hover .post-img img { transform: scale(1.06); }
.recent-posts .post-date {
  background: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-weight: 600;
}
.recent-posts .post-title { font-weight: 700; }
.recent-posts .readmore { color: var(--accent-color); font-weight: 600; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer .footer-newsletter {
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  border: 1px solid rgba(65, 84, 241, 0.12);
}
.footer .newsletter-form {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(18, 22, 55, 0.12);
  overflow: hidden;
  padding: 6px 6px 6px 18px;
  background: #fff;
}
.footer .newsletter-form input[type="email"] { border-radius: var(--radius-pill); }
.footer .newsletter-form input[type="submit"] {
  background: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  font-weight: 600;
}
.footer .footer-links a:hover { color: var(--accent-color); }
.footer .social-links a {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(18, 22, 55, 0.12);
  transition: all 0.35s var(--ease);
}
.footer .social-links a:hover {
  background: var(--accent-color);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Projects — Our Work showcase (browser-window cards)
--------------------------------------------------------------*/
.projects .project-card {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
}
.projects .project-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 24px 60px rgba(65, 84, 241, 0.16);
}

/* Fake browser chrome bar */
.projects .browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--surface-color), var(--default-color) 4%);
  border-bottom: 1px solid rgba(18, 22, 55, 0.07);
}
.projects .browser-dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}
.projects .browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.projects .browser-dots i:nth-child(1) { background: #ff5f57; }
.projects .browser-dots i:nth-child(2) { background: #febc2e; }
.projects .browser-dots i:nth-child(3) { background: #28c840; }
.projects .browser-url {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 22, 55, 0.05);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  white-space: nowrap;
  overflow: hidden;
}
.projects .browser-url i { font-size: 10px; color: #15be56; flex-shrink: 0; }
.projects .browser-actions {
  flex-shrink: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}
html[data-theme="dark"] .projects .browser-bar {
  background: #131724;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .projects .browser-url {
  background: rgba(255, 255, 255, 0.06);
}

.projects .project-screenshot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f2ff;
}
.projects .project-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .projects .project-card:hover .project-screenshot img {
    transform: scale(1.04);
  }
}

/* No full-screen darkening overlay — it just hid the screenshot for no
   real benefit. A small, always-visible corner badge links to the live
   site instead, on every device. */
.projects .project-overlay {
  position: absolute;
  inset: auto 12px 12px auto;
  display: flex;
}
.projects .project-live-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-color);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(18, 22, 55, 0.28);
  transition: transform 0.25s ease;
  text-decoration: none;
}
.projects .project-live-btn:hover {
  transform: scale(1.12);
  color: var(--accent-color);
}

.projects .project-body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.projects .project-meta { margin-bottom: 8px; }
.projects .project-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 3px 11px;
  display: inline-block;
}
.projects .project-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 14px;
}

/* ── 3-column stat bar ── */
.projects .project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}
.projects .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: color-mix(in srgb, var(--background-color), transparent 25%);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 6px 8px;
  transition: all 0.3s var(--ease);
}
.projects .project-card:hover .stat-item {
  border-color: rgba(65, 84, 241, 0.18);
}
html[data-theme="dark"] .projects .stat-item {
  background: #131724;
  border-color: rgba(255, 255, 255, 0.06);
}
.projects .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.1;
}
.projects .stat-value.up { color: #15be56; }
.projects .stat-value.up::before {
  content: "▲";
  font-size: 9px;
  vertical-align: 2px;
  margin-right: 2px;
}
.projects .stat-label {
  font-size: 9.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
  line-height: 1.3;
}

/*--------------------------------------------------------------
# Blog — posts, sidebar widgets, pagination
--------------------------------------------------------------*/
.blog-posts article {
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}
.blog-posts article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
html[data-theme="dark"] .blog-posts article { border-color: rgba(255, 255, 255, 0.06); }

.blog-posts .post-img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.blog-posts .post-img img { transition: transform 0.6s var(--ease); display: block; width: 100%; }
.blog-posts article:hover .post-img img { transform: scale(1.04); }

.blog-posts .title { font-weight: 800; letter-spacing: -0.4px; }

.blog-posts .content .read-more a {
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  font-weight: 600;
}

/* Empty state — shown while there are no published articles yet */
.blog-empty {
  padding: 64px 24px;
  border: 1px dashed rgba(18, 22, 55, 0.14);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
}
html[data-theme="dark"] .blog-empty { border-color: rgba(255, 255, 255, 0.14); }
.blog-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-color);
  font-size: 26px;
}
.blog-empty h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 10px;
}
.blog-empty p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  max-width: 480px;
  margin: 0 auto 26px;
}
.blog-posts .content .read-more a:hover { background: color-mix(in srgb, var(--accent-color), #000 12%); }

.blog-pagination li a {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 22, 55, 0.08);
  min-width: 40px;
  font-weight: 600;
}
html[data-theme="dark"] .blog-pagination li a { border-color: rgba(255, 255, 255, 0.08); }
.blog-pagination li a.active,
.blog-pagination li a:hover { border-color: transparent; }

.sidebar .widgets-container { position: sticky; top: 110px; }
.widget-item {
  background: var(--surface-color);
  border: 1px solid rgba(18, 22, 55, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
html[data-theme="dark"] .widget-item { border-color: rgba(255, 255, 255, 0.06); }
.widget-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--heading-color);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(18, 22, 55, 0.08);
}
html[data-theme="dark"] .widget-title { border-bottom-color: rgba(255, 255, 255, 0.08); }

.categories-widget ul a {
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin: 0 -10px;
}
.categories-widget ul a:hover { background: var(--accent-soft); color: var(--accent-color); }

.recent-posts-widget .post-item img { border-radius: var(--radius-sm); }

/*--------------------------------------------------------------
# Scroll-top button
--------------------------------------------------------------*/
.scroll-top {
  border-radius: var(--radius-md);
  background: var(--accent-color);
}
.scroll-top:hover { background: color-mix(in srgb, var(--accent-color), #000 12%); transform: translateY(-3px); }

/*--------------------------------------------------------------
# Header — mobile layout fix
# (the controls used to render BEFORE the logo because they had
#  no flex order; the CTA also wrapped onto two lines)
--------------------------------------------------------------*/
.header .container-fluid,
.header .container-xl { flex-wrap: nowrap; min-width: 0; }
.header .btn-getstarted { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 1199px) {
  .header .logo { order: 1; min-width: 0; }
  .header .logo img { max-height: 32px; }
  .header-controls { order: 2; margin-left: auto; }
  .header .btn-getstarted { order: 3; margin: 0 4px 0 10px; padding: 8px 18px; font-size: 13.5px; }
  .header .navmenu { order: 4; flex-shrink: 0; }
  .mobile-nav-toggle { margin-right: 4px; }
  .header .container-fluid, .header .container-xl { padding: 8px 12px 8px 16px; }
}

@media (max-width: 575px) {
  /* Not enough room for the CTA next to logo + controls + burger.
     The same CTA lives in the hero and the sticky nav menu. */
  .header .btn-getstarted { display: none; }
  .header { padding: 10px 0; }
}

/* Nicer mobile nav panel */
@media (max-width: 1199px) {
  .navmenu ul {
    inset: 76px 14px auto 14px;
    max-height: calc(100vh - 100px);
    border-radius: var(--radius-lg);
    padding: 14px 8px;
    box-shadow: var(--shadow-lg);
  }
  .navmenu a, .navmenu a:focus {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin: 2px 8px;
    font-size: 16px;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background: var(--accent-soft);
    color: var(--accent-color);
  }
  .mobile-nav-active .navmenu {
    background: rgba(10, 12, 25, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/*--------------------------------------------------------------
# Responsive tweaks — every device size
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .cta-banner .cta-inner { text-align: center; }
  .cta-banner .col-lg-4.text-lg-end { text-align: center !important; }
}

@media (max-width: 768px) {
  .section-title p { font-size: 30px; }
  .section-title { padding-bottom: 36px; }
  .section { padding: 60px 0; }
  .cta-banner .cta-inner { padding: 40px 26px; }
  .cta-banner h2 { font-size: 26px; }
  .header .container-fluid, .header .container-xl { border-radius: var(--radius-lg); }

  /* Hero */
  .hero { padding-top: 110px; }
  .hero p { font-size: 17px; }
  .hero .btn-get-started { width: 100%; text-align: center; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
  .hero .hero-trust { gap: 10px 18px; }
  .hero .hero-trust li { font-size: 13.5px; }

  /* Stats: 2×2 grid instead of a tall stack */
  .stats .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .stats .stats-item { flex-direction: column; text-align: center; padding: 20px 12px; }
  .stats .stats-item i { margin: 0 0 8px !important; }
  .stats .stats-item span { font-size: 26px; }
  .stats .stats-item p { font-size: 13px; margin: 0; }

  /* Services / process cards breathe less */
  .services .service-item { padding: 34px 24px; }

  /* Portfolio filter pills fit small screens */
  .portfolio .portfolio-filters li { padding: 7px 16px; margin: 0 4px 8px; font-size: 14px; }

  /* Testimonials */
  .testimonials .testimonial-item { margin: 16px 6px; padding: 28px 22px; }

  /* Projects */
  .projects .project-body { padding: 16px 16px 18px; }
  .projects .stat-value { font-size: 16px; }

  /* Footer */
  .footer .footer-top { padding-top: 40px; }
}

@media (max-width: 480px) {
  .section-title p { font-size: 26px; }
  .section-title h2 { font-size: 12.5px; padding: 6px 14px; }
  .hero h1 { font-size: 28px; }
  .hero { padding-top: 96px; }
  .stats .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .stats .stats-item span { font-size: 22px; }
  .cta-banner .cta-inner { padding: 34px 20px; border-radius: var(--radius-lg); }
  .cta-banner h2 { font-size: 22px; }
  .cta-banner .btn-cta { padding: 12px 28px; width: 100%; text-align: center; }
  .projects .project-stats { gap: 6px; }
  .projects .stat-label { font-size: 8.5px; }
  .contact .section-lead { font-size: 15px; }
}
