/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  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";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors */
:root,
[data-theme="light"] {
  color-scheme: light;
  --background-color: #f8fafc;
  --default-color: #272829;
  --heading-color: #050d18;
  --accent-color: #149ddd;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --section-alt-bg: #f4fafd;
  --hero-surface: rgba(255, 255, 255, 0.82);
  --hero-panel-bg: rgba(255, 255, 255, 0.92);
  --hero-code-bg: #f8fbff;
  --hero-name-gradient: linear-gradient(135deg, #050d18 0%, #0e7490 55%, #149ddd 100%);
  --hero-orb-opacity: 0.18;
  --card-border: color-mix(in srgb, var(--default-color), transparent 88%);
  --muted-text: color-mix(in srgb, var(--default-color), transparent 35%);
  --nav-color: #45505b;
  --nav-hover-color: #050d18;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #45505b;
  --nav-dropdown-hover-color: #050d18;
}

[data-theme="dark"] {
  color-scheme: dark;
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #149ddd;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
  --section-alt-bg: #0a111a;
  --hero-surface: rgba(21, 31, 43, 0.72);
  --hero-panel-bg: color-mix(in srgb, hsl(210 29% 8%), transparent 5%);
  --hero-code-bg: color-mix(in srgb, hsl(210 29% 8%), transparent 5%);
  --hero-name-gradient: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--accent-color), white 30%) 100%);
  --hero-orb-opacity: 0.35;
  --card-border: color-mix(in srgb, var(--accent-color), transparent 78%);
  --muted-text: color-mix(in srgb, var(--default-color), transparent 35%);
  --nav-color: #a8a9b4;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #040b14;
  --nav-dropdown-background-color: #040b14;
  --nav-dropdown-color: #a8a9b4;
  --nav-dropdown-hover-color: #ffffff;
}

.section-alt,
.light-background {
  --background-color: var(--section-alt-bg);
  --surface-color: color-mix(in srgb, var(--section-alt-bg), white 65%);
}

[data-theme="dark"] .section-alt,
[data-theme="dark"] .light-background {
  --surface-color: #151f2b;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

html {
  scroll-behavior: auto;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition:
    background-color 0.35s ease,
    color 0.25s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  transition: background-color 0.35s ease, color 0.25s ease;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header — always dark sidebar
--------------------------------------------------------------*/
.header {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
  --nav-color: #a8a9b4;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #040b14;
  --nav-dropdown-background-color: #040b14;
  --nav-dropdown-color: #a8a9b4;
  --nav-dropdown-hover-color: #ffffff;
  --card-border: color-mix(in srgb, var(--accent-color), transparent 78%);

  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 20px 0;
  padding: 0 8px;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a.linkedin:hover {
  color: #fff;
  background: #0a66c2;
}

.header .social-links a.github:hover {
  color: #fff;
  background: #181717;
}

.header .social-links a.email:hover {
  color: #fff;
  background: var(--accent-color);
}

.header .social-links a.phone:hover {
  color: #fff;
  background: hsl(142 55% 40%);
}

.header .social-links a.whatsapp:hover {
  color: #fff;
  background: #25d366;
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

/* Mobile top bar — solid frosted bar (no backdrop-filter — smoother scroll) */
.mobile-top-bar {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px 6px 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 92%);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  transform: translateZ(0);
  contain: layout style;
}

[data-theme="light"] .mobile-top-bar {
  background: rgba(248, 250, 252, 0.96);
  border-color: color-mix(in srgb, #050d18, transparent 88%);
  box-shadow: 0 6px 24px color-mix(in srgb, #050d18, transparent 90%);
}

[data-theme="dark"] .mobile-top-bar {
  background: rgba(4, 11, 20, 0.94);
  border-color: color-mix(in srgb, var(--accent-color), transparent 78%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.mobile-top-bar-brand {
  flex: 1;
  min-width: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--heading-color);
  transition: color 0.2s ease;
}

.mobile-top-bar-brand:hover {
  color: var(--accent-color);
}

.mobile-top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-top-bar-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  transform: none !important;
}

[data-theme="light"] .mobile-top-bar-btn {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: color-mix(in srgb, #050d18, transparent 90%) !important;
}

[data-theme="dark"] .mobile-top-bar-btn {
  background: rgba(21, 31, 43, 0.92) !important;
  border-color: color-mix(in srgb, var(--accent-color), transparent 82%) !important;
}

.mobile-top-bar-btn:hover {
  transform: none !important;
  background: color-mix(in srgb, var(--accent-color), transparent 88%) !important;
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%) !important;
  box-shadow: none !important;
}

.mobile-top-bar-btn i {
  font-size: 17px;
}

.mobile-top-bar-menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  margin: 0;
  color: var(--heading-color) !important;
  background: color-mix(in srgb, var(--accent-color), transparent 88%) !important;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%) !important;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mobile-top-bar-menu i {
  color: var(--accent-color);
  line-height: 1;
}

.mobile-top-bar-menu:hover {
  color: var(--contrast-color) !important;
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

.mobile-top-bar-menu:hover i {
  color: var(--contrast-color);
}

.header .header-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

@media (min-width: 1200px) {
  .header .header-toggle {
    display: none;
  }
}

.theme-toggle-floating {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9998;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--hero-surface);
  color: var(--default-color);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 88%);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.theme-toggle i {
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--hero-surface), var(--accent-color) 10%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-color), transparent 78%);
}

@media (max-width: 1199px) {
  .theme-toggle-floating {
    display: none;
  }

  body {
    padding-top: calc(68px + env(safe-area-inset-top, 0px));
  }

  section[id],
  .section[id] {
    scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  .hero-system {
    padding-top: clamp(20px, 3vh, 32px);
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  position: relative;
  overflow: hidden;
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0;
}

.footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent-color), transparent 92%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent-color), transparent 92%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  opacity: 0.45;
}

.footer-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--hero-orb-opacity);
}

.footer-bg-glow-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: var(--accent-color);
}

.footer-bg-glow-2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -40px;
  background: color-mix(in srgb, var(--accent-color), #6366f1 35%);
}

.footer-container {
  position: relative;
  z-index: 1;
  padding: 56px 15px 28px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  margin-bottom: 48px;
  border-radius: 20px;
  background: var(--hero-surface);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--default-color), transparent 92%);
}

.footer-cta-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.footer-cta-title {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
}

.footer-cta-text {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-text);
}

.footer-cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
}

.footer-cta-btn-primary {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.footer-cta-btn-primary:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color) 88%, white 12%);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent-color), transparent 55%);
}

.footer-cta-btn-secondary {
  color: var(--heading-color);
  background: transparent;
  border: 1px solid var(--card-border);
}

.footer-cta-btn-secondary:hover {
  color: var(--heading-color);
  background: color-mix(in srgb, var(--hero-surface), var(--accent-color) 8%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 40%));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 62%);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-color);
}

.footer-logo-text small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-text);
}

.footer-role {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}

.footer-desc {
  margin: 0 0 18px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-text);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  background: color-mix(in srgb, var(--hero-surface), var(--accent-color) 6%);
  border: 1px solid var(--card-border);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(142 71% 45%);
  box-shadow: 0 0 10px hsl(142 71% 45%);
  animation: hero-pulse 2s ease-in-out infinite;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  color: var(--default-color);
  background: var(--hero-surface);
  border: 1px solid var(--card-border);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
  color: #fff;
}

.footer-social-link.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.footer-social-link.github:hover {
  background: #181717;
  border-color: #181717;
}

.footer-social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-heading {
  margin: 0 0 18px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 55%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  background: var(--accent-color);
  transform: scale(1.15);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
}

.footer-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.footer-contact-body a,
.footer-contact-body span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--heading-color);
  text-decoration: none;
  word-break: break-word;
}

.footer-contact-body a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer-copyright {
  margin: 0;
}

.footer-copyright strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media (max-width: 991px) {
  .footer-container {
    padding-top: 44px;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    margin-bottom: 36px;
  }

  .footer-cta-actions {
    width: 100%;
  }

  .footer-cta-btn {
    flex: 1;
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .footer-container {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .footer-cta {
    padding: 20px;
    border-radius: 16px;
  }

  .footer-cta-actions {
    flex-direction: column;
  }

  .footer-cta-btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
}

.footer a.linkedin:hover {
  color: #0a66c2;
}

.footer a.github:hover {
  color: #181717;
}

[data-theme="dark"] .footer a.github:hover {
  color: #f0f6fc;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) 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);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 30px;
  bottom: -15px;
  z-index: 99997;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 24px;
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float i {
  font-size: 28px;
  line-height: 1;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 14px 36px rgba(37, 211, 102, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.14);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #128c7e;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.whatsapp-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #128c7e;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow:
      0 10px 30px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 10px 30px rgba(37, 211, 102, 0.35),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 575px) {
  .whatsapp-float {
    right: 14px;
    bottom: 80px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float i {
    font-size: 26px;
  }

  .scroll-top.active {
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

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

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: visible;
}

#about,
#stats,
#portfolio,
#resume,
#skills,
#services,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

#hero {
  content-visibility: visible;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

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

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

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

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
}

.portfolio .portfolio-image-wrap {
  position: relative;
  display: block;
  max-width: 280px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.portfolio .portfolio-image-wrap-landscape {
  max-width: 100%;
}

.portfolio .portfolio-image-link {
  display: block;
  cursor: pointer;
  aspect-ratio: 9 / 16;
}

.portfolio .portfolio-image-link-landscape {
  aspect-ratio: 16 / 10;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.03);
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4,
.portfolio .portfolio-content .portfolio-info .portfolio-info-title {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p,
.portfolio .portfolio-content .portfolio-info .portfolio-info-subtitle {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 12px;
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio-details .portfolio-screens {
  margin-bottom: 10px;
}

.portfolio-details .portfolio-screen-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.08);
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
}

.portfolio-details .portfolio-screen-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-details .portfolio-screen-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-details .portfolio-screen-card:hover .portfolio-screen-image img {
  transform: scale(1.02);
}

.portfolio-details .portfolio-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-details .portfolio-screen-card:hover .portfolio-zoom-hint {
  opacity: 1;
}

.portfolio-details .portfolio-screen-caption {
  padding: 14px 16px;
}

.portfolio-details .portfolio-screen-caption strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.portfolio-details .portfolio-screen-caption span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.portfolio-details .portfolio-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.portfolio-details .portfolio-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.portfolio-details .portfolio-highlights li i {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  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: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.contact .contact-details-panel,
.contact .contact-map-panel {
  min-height: 100%;
}

.contact .contact-details-panel .info-item,
.contact .contact-map-header {
  margin-bottom: 0;
}

.contact .contact-map-header {
  flex-shrink: 0;
  padding-bottom: 20px;
}

.contact .contact-map-iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--default-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-social-link i {
  color: var(--accent-color);
  font-size: 16px;
}

.contact-social-link:hover {
  transform: translateY(-1px);
}

.contact-social-link.linkedin:hover {
  color: #fff;
  background: #0a66c2;
  border-color: #0a66c2;
}

.contact-social-link.linkedin:hover i {
  color: #fff;
}

.contact-social-link.github:hover {
  color: #fff;
  background: #181717;
  border-color: #181717;
}

.contact-social-link.github:hover i {
  color: #fff;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {  background-color: var(--surface-color);
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Enhanced Animations — Framer Motion / React Bits / ShadCN
--------------------------------------------------------------*/

/* Hero — interactive system map */
.hero-system {
  --hero-font: "Inter", var(--default-font);
  position: relative;
  min-height: min(100vh, 880px);
  padding: clamp(88px, 11vh, 112px) 0 clamp(56px, 7vh, 72px);
  background: var(--background-color);
  color: var(--default-color);
  font-family: var(--hero-font);
  overflow-x: clip;
}

.hero-sys-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-sys-floating-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.85;
}

[data-theme="dark"] .hero-sys-floating-lines {
  opacity: 0.72;
}

.hero-sys-bg-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      var(--background-color) 0%,
      color-mix(in srgb, var(--background-color), transparent 30%) 42%,
      color-mix(in srgb, var(--background-color), transparent 58%) 68%,
      color-mix(in srgb, var(--background-color), transparent 72%) 100%
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--background-color), transparent 88%) 0%,
      transparent 40%,
      color-mix(in srgb, var(--background-color), transparent 85%) 100%
    );
}

[data-theme="dark"] .hero-sys-bg-fade {
  background:
    linear-gradient(
      105deg,
      var(--background-color) 0%,
      color-mix(in srgb, var(--background-color), transparent 24%) 40%,
      color-mix(in srgb, var(--background-color), transparent 46%) 65%,
      color-mix(in srgb, var(--background-color), transparent 62%) 100%
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--background-color), transparent 82%) 0%,
      transparent 38%,
      color-mix(in srgb, var(--background-color), transparent 80%) 100%
    );
}

.hero-sys-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--default-color), transparent 94%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--default-color), transparent 94%) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 80% at 65% 40%, black 10%, transparent 72%);
  opacity: 0.55;
}

.hero-sys-container {
  position: relative;
  z-index: 1;
}

.hero-sys-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero-sys-copy {
  position: relative;
  max-width: 440px;
  padding-left: 22px;
  overflow: visible;
}

.hero-sys-copy-accent {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), transparent 55%) 45%,
    color-mix(in srgb, var(--accent-color), transparent 88%) 100%
  );
}

.hero-sys-eyebrow-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px 6px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: color-mix(in srgb, var(--surface-color), transparent 40%);
}

.hero-sys-eyebrow-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero-sys-eyebrow-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-color);
}

.hero-sys-name {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--heading-color);
}

.hero-sys-name-accent {
  color: var(--accent-color);
}

.hero-sys-tagline {
  margin: 0 0 20px;
  padding-left: 2px;
}

.hero-sys-tagline-lead {
  margin: 0 0 4px;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
}

.hero-sys-tagline-highlight {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  background: linear-gradient(
    90deg,
    var(--heading-color) 0%,
    color-mix(in srgb, var(--accent-color), var(--heading-color) 40%) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sys-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hero-sys-stack li {
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  background: color-mix(in srgb, var(--surface-color), transparent 25%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-sys-stack li:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--heading-color);
}

.hero-sys-steps {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
}

.hero-sys-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-sys-step-sep {
  font-size: 10px;
  opacity: 0.55;
}

.hero-sys-step-label {
  color: color-mix(in srgb, var(--accent-color), var(--heading-color) 25%);
}

.hero-sys-divider {
  width: 48px;
  height: 1px;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--default-color), transparent 82%);
}

.hero-sys-availability {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin: 0 0 20px;
  padding: 12px 28px 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--heading-color);
  background: color-mix(in srgb, hsl(142 55% 42%), transparent 88%);
  border: 1px solid color-mix(in srgb, hsl(142 55% 42%), transparent 55%);
  box-shadow: none;
  text-decoration: none;
}

.hero-sys-availability-text {
  white-space: nowrap;
  text-decoration: none;
}

.hero-sys-availability-highlight {
  font-weight: 700;
  color: hsl(142 45% 32%);
  text-decoration: none;
  border: none;
}

[data-theme="dark"] .hero-sys-availability-highlight {
  color: hsl(142 55% 58%);
}

.hero-sys-availability-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(142 55% 42%);
  box-shadow: 0 0 0 3px color-mix(in srgb, hsl(142 55% 42%), transparent 72%);
  animation: hero-avail-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-avail-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.92); }
}

.hero-sys-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-sys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-sys-btn-primary {
  color: var(--contrast-color);
  background: var(--heading-color);
  border: 1px solid var(--heading-color);
}

[data-theme="dark"] .hero-sys-btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.hero-sys-btn-primary:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--heading-color), var(--accent-color) 22%);
  border-color: color-mix(in srgb, var(--heading-color), var(--accent-color) 22%);
}

[data-theme="dark"] .hero-sys-btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), white 8%);
  border-color: color-mix(in srgb, var(--accent-color), white 8%);
}

.hero-sys-btn-arrow {
  transition: transform 0.2s ease;
}

.hero-sys-btn-primary:hover .hero-sys-btn-arrow {
  transform: translateX(4px);
}

.hero-sys-btn-secondary {
  color: var(--heading-color);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.hero-sys-btn-secondary:hover {
  color: var(--heading-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 62%);
  background: color-mix(in srgb, var(--default-color), transparent 94%);
}

/* Architecture visual */
.hero-arch {
  width: 100%;
  min-height: 460px;
}

.hero-arch-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: color-mix(in srgb, var(--surface-color), transparent 30%);
}

.hero-arch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-arch-line {
  fill: none;
  stroke: color-mix(in srgb, var(--default-color), transparent 78%);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.hero-arch-line-main {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: hero-line-draw 0.85s ease forwards 0.12s;
}

.hero-arch-line-hub,
.hero-arch-line-branch {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: hero-line-draw 0.5s ease forwards 0.45s;
}

.hero-arch-line-hub:last-of-type,
.hero-arch-line-branch {
  animation-delay: 0.52s;
}

@keyframes hero-line-draw {
  to { stroke-dashoffset: 0; }
}

.hero-packet-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.hero-packet {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.hero-arch-hub {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
}

.hero-arch-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  animation: hero-hub-ring 3s ease-in-out infinite;
}

@keyframes hero-hub-ring {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.06); opacity: 0.75; }
}

.hero-arch-hub-core {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.02em;
  color: var(--heading-color);
  text-align: center;
  line-height: 1.2;
}

.hero-arch-hub-status {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(142 55% 42%);
}

.hero-arch-node {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  min-width: 108px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
  background: var(--background-color);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-arch-node.is-active {
  border-color: color-mix(in srgb, var(--accent-color), transparent 35%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero-arch-node-indicator {
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hero-arch-node.is-active .hero-arch-node-indicator {
  background: var(--accent-color);
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent-color), transparent 35%);
}

.hero-arch-node-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--heading-color);
}

.hero-arch-node-detail {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 500;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.3;
}

.hero-arch-split {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 28px;
  z-index: 3;
}

.hero-arch-node-sub {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  min-width: 88px;
}

/* Satellite tech nodes */
.hero-tech-node {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  background: transparent;
  cursor: default;
  text-align: left;
}

.hero-tech-node-connector {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-color), transparent 55%), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.hero-tech-node:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-tech-node:hover .hero-tech-node-connector,
.hero-tech-node:focus-visible .hero-tech-node-connector {
  opacity: 0.55;
}

.hero-tech-node-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 55%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-tech-node:hover .hero-tech-node-dot,
.hero-tech-node:focus-visible .hero-tech-node-dot {
  background: var(--accent-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-color), transparent 50%);
  transform: scale(1.15);
}

.hero-tech-node-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hero-tech-node:hover .hero-tech-node-label,
.hero-tech-node:focus-visible .hero-tech-node-label {
  opacity: 1;
}

.hero-tech-node-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 120px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  background: var(--background-color);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  text-align: center;
}

.hero-tech-node-card strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--heading-color);
}

.hero-tech-node-card em {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 38%);
}

.hero-tech-node:hover .hero-tech-node-card,
.hero-tech-node:focus-visible .hero-tech-node-card {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  .hero-system {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-sys-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-sys-copy {
    max-width: none;
  }

  .hero-arch {
    min-height: 400px;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-arch-inner {
    min-height: 400px;
  }
}

@media (max-width: 575px) {
  .hero-system {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .hero-sys-name {
    font-size: 1.65rem;
  }

  .hero-sys-copy {
    padding-left: 18px;
  }

  .hero-sys-availability {
    font-size: 13px;
    padding: 11px 22px 11px 16px;
    gap: 10px;
  }

  .hero-sys-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-sys-btn {
    width: 100%;
  }

  .hero-arch,
  .hero-arch-inner {
    min-height: 360px;
  }

  .hero-arch-hub {
    width: 72px;
    height: 72px;
  }

  .hero-arch-hub-core {
    font-size: 9px;
  }

  .hero-arch-node {
    min-width: 92px;
    padding: 6px 8px;
  }

  .hero-arch-split {
    gap: 16px;
  }

  .hero-arch-node-sub {
    min-width: 76px;
  }

  .hero-tech-node-compact-hide {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-arch-line-main,
  .hero-arch-line-hub,
  .hero-arch-line-branch {
    animation: none;
    stroke-dashoffset: 0;
  }

  .hero-arch-hub-ring {
    animation: none;
  }

  .hero-sys-availability-dot {
    animation: none;
  }

  .hero-sys-btn-arrow {
    transition: none;
  }
}

/* Legacy hero enhanced (kept for compatibility) */
.hero-enhanced {
  overflow: hidden;
}

.hero-enhanced .hero-bg-image {
  display: none;
}

.hero-enhanced .hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: var(--hero-orb-opacity);
  z-index: 1;
  pointer-events: none;
}

.hero-orb-1 {
  width: 280px;
  height: 280px;
  background: var(--accent-color);
  top: 10%;
  left: 5%;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  background: hsl(172 66% 50%);
  bottom: 15%;
  right: 10%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 16px;
}

.hero-name.split-text {
  perspective: 800px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero-cta-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* Text effects */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-color), hsl(172 66% 50%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shiny-text {
  background: linear-gradient(
    120deg,
    #fff 0%,
    var(--accent-color) 40%,
    #fff 60%,
    var(--accent-color) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-sweep 4s linear infinite;
}

@keyframes shiny-sweep {
  to {
    background-position: 200% center;
  }
}

.typing-cursor {
  color: var(--accent-color);
  font-weight: 300;
  margin-left: 2px;
}

.split-text-word {
  transform-origin: bottom center;
}

/* Section headings */
.section-heading-enhanced {
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 12px;
}

/* UI badges — theme aware */
.ui-badge-default {
  border-color: transparent;
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.ui-badge-secondary {
  border-color: transparent;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--default-color);
}

.ui-badge-outline {
  border-color: var(--card-border);
  background: color-mix(in srgb, var(--surface-color), transparent 15%);
  color: var(--default-color);
}

[data-theme="dark"] .ui-badge-outline {
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

[data-theme="light"] .ui-badge-outline {
  border-color: color-mix(in srgb, var(--default-color), transparent 82%);
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  color: var(--heading-color);
}

.section-title-split {
  margin-bottom: 16px !important;
}

.section-title-split::after {
  display: none;
}

/* About image */
.about-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-image-ring {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-color), hsl(172 66% 50%)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.about-heading-split {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* About — modern layout */
.about-modern {
  position: relative;
  overflow: hidden;
}

.about-modern::before {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent-color), transparent 82%) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.about-modern .container {
  position: relative;
  z-index: 1;
}

.about-main-row {
  align-items: stretch;
}

/* Profile card */
.about-profile-card {
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  background: var(--surface-color);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.about-profile-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

.about-profile-image-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}

.about-profile-body {
  padding: 24px;
  text-align: center;
}

.about-profile-badge {
  margin-bottom: 12px;
}

.about-profile-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color);
}

.about-profile-body > p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 18px;
}

.about-profile-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about-profile-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about-profile-stat i {
  color: var(--accent-color);
  font-size: 15px;
}

/* Content column */
.about-content-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.about-tagline-card {
  padding: 20px 22px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 94%) 0%,
    var(--surface-color) 100%
  );
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.about-tagline {
  margin: 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-highlight-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.about-highlight-pill i {
  font-size: 14px;
}

.about-bio-card {
  padding: 24px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about-bio-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.about-bio-card p {
  margin: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

/* Info grid */
.about-info-section {
  margin-top: 36px;
}

.about-info-heading {
  margin-bottom: 20px;
}

.about-info-heading h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-info-heading p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.about-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 18px;
}

.about-info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  word-break: break-word;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.about-info-value:hover {
  color: var(--accent-color);
}

a.about-info-value.linkedin:hover {
  color: #0a66c2;
}

a.about-info-value.github:hover {
  color: #181717;
}

[data-theme="dark"] a.about-info-value.github:hover {
  color: #f0f6fc;
}

@media (max-width: 1199px) {
  .about-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .about-profile-body h3 {
    font-size: 20px;
  }
}

/* Stats enhanced */
.stats-enhanced .stats-item-enhanced {
  border-radius: 16px;
  padding: 28px 24px;
  background: var(--surface-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: box-shadow 0.3s ease;
}

.stats-enhanced .stats-count {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  line-height: 1.1;
}

/* Spotlight cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.spotlight-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    color-mix(in srgb, var(--accent-color), transparent 88%),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.spotlight-card:hover .spotlight-card-glow {
  opacity: 1;
}

/* Skills */
.skills-layout {
  align-items: stretch;
}

.skills-bars-col,
.skills-chart-col {
  display: flex;
}

.skills-bars-grid,
.skills-chart-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.skills-bars-inner {
  flex: 1;
  align-items: stretch;
  height: 100%;
  min-height: 100%;
}

.skills-bars-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skills-bars-grid .skill-bar-item {
  margin-bottom: 0;
}

.skills-chart-item {
  display: flex;
  flex: 1;
  width: 100%;
}

.skills-chart-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.skills-chart-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.skills-radar-chart {
  flex: 1;
  min-height: 220px;
  height: 100% !important;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.skill-bar-value {
  color: var(--accent-color);
}

.skills-chart-card h3 {
  font-size: 16px;
  margin: 0;
}

@media (max-width: 991px) {
  .skills-bars-column {
    justify-content: flex-start;
    gap: 20px;
  }

  .skills-radar-chart {
    min-height: 260px;
    height: 260px !important;
  }
}

/* Services enhanced */
.service-card-enhanced {
  padding: 24px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  height: 100%;
}

.service-card-inner {
  gap: 16px;
}

/* Resume enhanced */
.resume-item-enhanced {
  padding: 24px !important;
  margin-bottom: 24px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

/*--------------------------------------------------------------
# Resume — modern layout
--------------------------------------------------------------*/
.resume-modern {
  position: relative;
  overflow: visible;
}

.resume-modern::before {
  content: "";
  position: absolute;
  top: 80px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent-color), transparent 84%) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.resume-modern .container {
  position: relative;
  z-index: 1;
}

.resume-top-row {
  align-items: stretch;
  margin-bottom: 8px;
}

.resume-card-col {
  display: flex;
}

.resume-card-wrap {
  display: flex;
  flex: 1;
  width: 100%;
}

.resume-card-wrap > .spotlight-card {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.resume-bottom-block {
  margin-top: 40px;
}

.resume-card {
  padding: 28px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  border-left: none !important;
  margin-top: 0 !important;
}

.resume-card::before {
  display: none !important;
}

.resume-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.resume-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 20px;
  flex-shrink: 0;
}

.resume-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.resume-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.3;
}

.resume-role-badge {
  margin-bottom: 14px;
}

.resume-summary-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resume-summary-bio {
  font-size: 14px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 20px;
  flex: 1;
}

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

.resume-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.resume-contact-list li i {
  color: var(--accent-color);
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.resume-contact-list a {
  color: inherit;
  transition: color 0.2s ease;
}

.resume-contact-list a:hover {
  color: var(--accent-color);
}

.resume-focus-chart {
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.resume-focus-chart-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 4px;
}

/* Education card */
.resume-education-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resume-education-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 8px auto 20px;
}

.resume-education-ring {
  width: 100%;
  height: 100%;
}

.resume-education-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.resume-education-ring-label strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.resume-education-ring-label span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-top: 4px;
}

.resume-education-meta {
  text-align: center;
  margin-bottom: 14px;
}

.resume-education-institution {
  margin: 10px 0 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.resume-education-description {
  font-size: 14px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  margin-bottom: 18px;
  text-align: center;
  flex: 1;
}

.resume-education-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.resume-education-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.resume-period-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Career chart */
.resume-career-chart-card {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
}

.resume-career-chart-header {
  padding-bottom: 0 !important;
}

.resume-career-chart-header .resume-career-chart-sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-top: 4px;
}

.resume-career-chart-inner {
  margin-top: 8px;
}

/* Experience timeline — full width */
.resume-experience-section {
  width: 100%;
}

.resume-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.resume-section-heading-icon {
  margin: 0;
}

.resume-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 4px;
}

.resume-section-subtitle {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.resume-timeline {
  position: relative;
  padding-left: 28px;
}

.resume-timeline-line {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  overflow: hidden;
}

.resume-timeline-line-fill {
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.resume-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.resume-timeline-item {
  position: relative;
}

.resume-timeline-dot {
  position: absolute;
  left: -28px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--background-color);
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 88%);
  z-index: 2;
}

.resume-experience-card {
  padding: 24px 28px !important;
}

.resume-experience-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.resume-experience-card h4 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 0 0 6px;
  line-height: 1.35;
}

.resume-experience-company {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.resume-experience-company a {
  color: var(--accent-color);
}

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

.resume-experience-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.resume-experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
}

@media (max-width: 991px) {
  .resume-experience-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-timeline {
    padding-left: 24px;
  }

  .resume-timeline-dot {
    left: -24px;
  }
}

/* Preloader */
.preloader-enhanced {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-enhanced:before {
  display: none;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-enhanced .preloader-dot {
  animation: preloader-pulse 0.8s ease-in-out infinite;
}

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

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preloader-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
}

.preloader-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Smooth scroll — anchor clicks only (see template-init) */
html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}

/*--------------------------------------------------------------
# Portfolio — modern cards (home)
--------------------------------------------------------------*/
.portfolio-modern .portfolio-card-modern {
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  background: var(--surface-color);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
}

.portfolio-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-link .portfolio-image-wrap {
  position: relative;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.portfolio-card-modern:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-body {
  padding: 20px;
}

.portfolio-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.portfolio-card-badges .ui-badge-outline {
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.portfolio-card-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.portfolio-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details — modern case study
--------------------------------------------------------------*/
.page-title-enhanced {
  padding-bottom: 28px;
}

.page-title-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-title-back:hover {
  color: var(--accent-color);
  transform: translateX(-3px);
}

.page-title-split {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.page-title-split::after {
  display: none;
}

.page-title-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
}

.page-title-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.portfolio-details-modern {
  padding-top: 36px;
}

.portfolio-detail-hero {
  padding: 28px;
  margin-bottom: 36px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.portfolio-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.portfolio-detail-hero-copy h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0 12px;
}

.portfolio-detail-hero-copy > p {
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 18px;
}

.portfolio-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.portfolio-detail-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portfolio-detail-meta-row i {
  color: var(--accent-color);
}

.portfolio-detail-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-detail-live-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.portfolio-detail-cover-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.portfolio-detail-cover-img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.portfolio-detail-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-stack-badge {
  font-size: 12px;
}

.portfolio-detail-section-head {
  margin-bottom: 20px;
}

.portfolio-detail-section-head h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-detail-section-head p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.portfolio-detail-gallery {
  margin-bottom: 36px;
}

.portfolio-screen-card-modern {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  background: var(--surface-color);
}

.portfolio-screen-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.portfolio-detail-body {
  margin-top: 12px;
}

.portfolio-detail-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.portfolio-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-overview-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.portfolio-overview-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  flex-shrink: 0;
}

.portfolio-overview-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 4px;
}

.portfolio-overview-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  word-break: break-word;
  text-decoration: none;
}

a.portfolio-overview-value:hover {
  color: var(--accent-color);
}

.portfolio-about-card {
  padding: 24px;
  margin-bottom: 24px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-about-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.portfolio-about-card p {
  margin-bottom: 14px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

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

.portfolio-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.portfolio-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  font-size: 14px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.portfolio-highlight-card i {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.portfolio-closing-card {
  padding: 22px 24px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 92%) 0%,
    var(--surface-color) 100%
  );
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
}

.portfolio-closing-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

@media (max-width: 991px) {
  .portfolio-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-highlights-grid {
    grid-template-columns: 1fr;
  }

  .page-title-split {
    font-size: 26px;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}